🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #245893

Re: Test a pw on a key

#245893
From: Zax
Date: Thu, 24 Feb 2011 09:59
27 lines
1945 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 23 Feb 2011 16:25:04 +0100 (CET), Nomen Nescio wrote in
Message-Id: <ae1837b16e3a78734481568a9ad0dcce@dizum.com>:

>   Is there an easy wat to test that a passphrase belongs to a key?  
> I guess I could try to sign something with the key using the 
> passphrase and testing for an error, but I was hoping that there 
> might be an easier way.

Signing is probably the easiest way.
C:\> echo test > test.txt
C:\> gpg --sign test.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREKAAYFAk1mK/cACgkQlKZ6CY7Vd0PGhgCeKI5s9E8dRrmkqWjv9BgZD/xK
sqAAoLffWYrvlydZoNMFd4LfU84Mo3Bh
=Vpj5
-----END PGP SIGNATURE-----

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.mixmin.net>
Technical Details
Message-ID: <slrnimcavo.j53.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
References: <ae1837b16e3a78734481568a9ad0dcce@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnimcavo.j53.admin@fleegle.mixmin.net>
Subject: Re: Test a pw on a key
Date: Thu, 24 Feb 2011 09:59:20 +0000
From: Zax <admin@mixmin.net>
References: <ae1837b16e3a78734481568a9ad0dcce@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Thu, 24 Feb 2011 09:59:20 +0000 (UTC)
Injection-Info: news.mixmin.net;
 posting-host="fleegle.mixmin.net:2002:5285:676::1";
 logging-data="11102"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-26 (Linux)
Lines: 27
X-Original-Bytes: 1699