importing a secret key
Munir Nassar
nassarmu at redconcepts.net
Fri Nov 7 15:20:22 CET 2003
So after an unfortunate incident where a space was where it was not
supposed to be in a rm -rf statement, i lost my ~ which had my secret
keys.
Unfortunately i also discovered that last night was the latest full
backup, and the tape decided that it does not feel like giving me my data
back. from the previous incrementals that i was able to find was able to
recover my pubring.gpg and trustdb.pgp
So this leaves me with a floppy disk that i had stores my revocation cert
and my secret key on. Both in ASCII armored format.
$ cat redconcepts.priv.key
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.2.1 (GNU/Linux)
<SNIP stuff>
-----END PGP PRIVATE KEY BLOCK-----
$ gpg redconcepts.priv.key
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
sec 1024D/C93A57EA 2003-09-02 Munir Nassar (Ein)
<nassarmu at redconcepts.net>
ssb 1024g/578D6A75 2003-09-02
so i tried to import this key using gpg --import redconcepts.priv.key
but this did not seem to work:
$ gpg --sign
gpg: secret key parts are not available
gpg: no default secret key: general error
gpg: signing failed: general error
and
$ gpg --list-sec
/home/nassarmu/.gnupg/secring.gpg
---------------------------------
sec# 1024D/C93A57EA 2003-09-02 Munir Nassar (Ein)
<nassarmu at redconcepts.net>
ssb 1024g/578D6A75 2003-09-02
notice the # after sec?
so i added "default-key C93A57EA" to the options file but that did
nothing.
any ideas? or should i just send the revcert in?
Munir Nassar
More information about the Gnupg-users
mailing list