I lost my public key! :(
Brian Minton
bminton@efn.org
Wed Oct 23 07:58:01 2002
--ftEhullJWpWg/VHq
Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy"
Content-Disposition: inline
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Tue, Oct 22, 2002 at 11:33:44PM -0400, David Shaw wrote:
> Unlike many "lost key" situations, you're not completely out of
> luck. All OpenPGP secret keys have a copy of the public key
> inside them, and in a worst-case scenario, you can create
> yourself a new public key using the secret key. Some versions
> of PGP, in fact, do this automatically when you import a secret
> key.
ok, I tried this, and not only did it fail, it crashed gnupg
1.2.0 and pgp freeware version 6.5.8ckt Build: 08... attached is
what gpg did (the passphrase is: test key) the -vv or
--list-all-packets options didn't give any more information
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=typescript
Script started on Wed Oct 23 01:39:09 2002
minton@bminton:~/tmp$ cat test-key.asc
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.2.0 (GNU/Linux)
lQHhBD22L0kRBACcGDl1nUl/bqQv2fTv8NNIkSce40Vfr9KnOtONOFa5atr7nxjH
1ui8Br1QFm+v7GlHhNbogOekKWhhRvlhMXTW2mfLRBuUIcQCEqL+9tn5sbyI89hf
QPOjb1hd4GslnYsDyUbfjFvkkvCWKhC3EYyjqcf06KRC/BODRtosrnesEwCg8Rtw
4AiXjL1lD67BNHZ4h3PDYVcD/312N5x7lMN5kqB+0ePBtRDRj4lOyYJ4MHTqttWV
1kdJ+lcslKTT8TZoTBSXJcqmEHDCrh+blr3btwzsl8E2N6OtDsfZBadXFBXbsbKe
RjvPfkLUZEDXeh/cblrEiAl61+bogX527t711tRICdk6YAKZyshyjjiM/uQAaILE
AHH3A/4pcY1/4sMWCfHPHSXsCQ71ehIuBzVI3/QH8Ys7V0ZLqULpl1kapto7w9iV
RTbiCuZHu1hbE8uUJJ6ywgopLKG76LHCJzSoRi/IPZ8kO2zn2wKYVECqjUDwiH6F
+7UEFQo896Vu+hihflJWWkUAq2qUUKOQhI0F26pR7wJYyIW9zf4DAwKyKFApMcZl
umCz0iYZ8+mNRqVj9neM0QaEJ+DgSZNngk7jNSkVF2dlsORcssf2r0l9tES/lrWg
keoblrQIdGVzdCBrZXmIXwQTEQIAHwUCPbYvSQUJAAFRgAQLBwMCAxUCAwMWAgEC
HgECF4AACgkQ4+gqsHaDvXJisACcCvPk1bbynNGdj/Aesh/JtsvDhU0AnA07sCHh
IxRrssY2XXEgxAtL6Y36nQFXBD22L08QBAC+Q00dZqs62Zq2nZI5Xw941RJ9g8F5
XNZ7oysIg7bZ8/d6GMygzVhxDTLS7f0/hZ66PPCk28bzU/gOTIv6OEuevQet1KhZ
yCUEwGJEXmAAwSx5gQ81gXILxpGqICwPofTg30yHG69HcXPUOIFtuz0togF6WOo1
Aw5cxYeTfVwYYwADBgQAjo0OldiUt2D7pUu0CubyMKsEjuG+36mPhSLBNyi6+Vr0
rJsTXaneuvrxTIw+n9h5aDNbXhZurD3iGkx2loUZ2bdR/eoFHgwt5fenLtIL6xI3
is0OvxqlPea0MWcwBpM+OwakIQrVe9XHYvtRI2xj70QqcX/4WHxKqPOZPeh9G9f+
AwMCsihQKTHGZbpg85xdSCBplPkM7HYpLyygqKpkkNkUUGw9ipfGBde6I4bu+5gd
UEnv/TATmc1q6/9+wmNkShhTi7X2T3ue84hMBBgRAgAMBQI9ti9PBQkAAVGAAAoJ
EOPoKrB2g71yxrkAoNI1GP0N7GlcuN6OJcVaWLghmssWAJ4r27UfcAkzhB7SY7V3
ObmBsthEMg==
=9MrS
-----END PGP PRIVATE KEY BLOCK-----
minton@bminton:~/tmp$ cat test.asc
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.0 (GNU/Linux)
hQEOA7Ru3qG3ojulEAQAoP3LzuysjojmOTCavvK+km69I2Xj2OIUCfqp7tY5yEgH
4Fb2pGiqkhXddKNUsQSg/3nka23k6YBR0R9PTijNp8oizlyMnv4G91xTNAFufEQQ
32SOY6/pZJu9I5LP1D/lV4NLSv39y3Dqwf5o/WanI+DeEozhFbTFGcEW1W3XQSgE
AJwye5qmWJWqRUUkBgfGGkx7or6CDGz0hQGD1jXHJTb6rrtGKlDPOWgxXV2pGUfA
4xBVz4B4o+fvhNoez5V8T+8fzzjUVsCwSmXJTxTspsCC3socNH9BLwWOVc630hXH
qji5/lcsqo40t4LEEbSavaZ4e3KgFN2+oieWcvAHZFXP0j4Bjm04CEPhlgA7hbPU
ZfCtvu0Lz8J/lxhfWekhUNpGBL7gbzgpYdiQu86OHeylRFug4XWnktXajGDSoKrd
RQ==
=JaeO
-----END PGP MESSAGE-----
minton@bminton:~/tmp$ gpg test.asc
gpg: key 7683BD72: secret key without public key - skipped
gpg: encrypted with ELG-E key, ID B7A23BA5
gpg: decryption failed: secret key not available
minton@bminton:~/tmp$ gpg --try-all-secrets test.asc
gpg: anonymous recipient; trying secret key 731C0B62 ...
You need a passphrase to unlock the secret key for
user: "Brian Minton <minton@csc.smsu.edu>"
1184-bit ELG-E key, ID 731C0B62, created 2000-05-15
Enter passphrase:
gpg: anonymous recipient; trying secret key 35EB95DF ...
You need a passphrase to unlock the secret key for
user: "Brian Minton <bminton@efn.org>"
1152-bit ELG-E key, ID 35EB95DF, created 2000-08-30
Enter passphrase:
gpg: anonymous recipient; trying secret key 22D4701E ...
You need a passphrase to unlock the secret key for
user: "Brian Minton (expiremental key, please don't use for general email) <bminton@bminton.dyn.cheapnet.net>"
832-bit ELG-E key, ID 22D4701E, created 2000-12-02
Enter passphrase:
gpg: anonymous recipient; trying secret key 20CBA5BB ...
You need a passphrase to unlock the secret key for
user: "Brian Minton <bminton@efn.org>"
1152-bit ELG-E key, ID 20CBA5BB, created 2001-10-27
Enter passphrase:
gpg: anonymous recipient; trying secret key B7A23BA5 ...
You need a passphrase to unlock the secret key for
user: "[User id not found]"
Enter passphrase:
gpg: oops: public key not found for preference check
gpg: Segmentation fault caught ... exiting
Segmentation fault
minton@bminton:~/tmp$ exit
Script done on Wed Oct 23 01:40:14 2002
--KsGdsel6WgEHnImy--
--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9tjqDcieIIFcDdHIRAom4AKCVBNI9a2Bawxeq5gQSZdFfGdWeLQCg1Ppi
wHx7sQPm0LGX68g5lhuKJj4=
=o+UR
-----END PGP SIGNATURE-----
--ftEhullJWpWg/VHq--