Osama Khalid wrote:
> Hello,
>
> When I generated my OpenPGP smartcard, I asked GPG to save a backup
> version of the key. It did that in an
> "sk_.gpg" file.
>
> Now I'm trying to find a way to restore my secret key.
>
> I was wondering about the correct way to do that.
Try
gpg --edit
On Sun, Oct 31, 2010 at 02:17:20PM -0500, John Clizbe wrote:
> Try
> gpg --edit-key XYZ...
> toggle
> bkuptocard sk_.gpg
Thank you, John.
The thing is that the card is damaged, and I don't have the secret key
in my kerying.
toggle -> Need the secret key to do this.
--Osama Kha
After a chat on the gnupg IRC channel, I found out that the backup gpg
made was only partial. It was for one of my secret subkeys.
$ gpg --list-keys
[...]
pub 2048R/5BFA8C2E 2010-10-01
uid Osama Khalid (osamak)
sub 1024R/567A2834 2010-10-01
sub 2048R/D023251F 2010-10-01
$ g
Laging
Cc: gnupg-users@gnupg.org
Subject: Re: Restoring a backup key
Date: Sun, 31 Oct 2010 20:11:52 +0300
On Sun, Oct 31, 2010 at 06:01:10PM +0100, Hauke Laging wrote:
> Have you imported the public key before?
Yes. I do have the public key in my kerying.
-- Osama Kha
On Sun, Oct 31, 2010 at 06:01:10PM +0100, Hauke Laging wrote:
> Have you imported the public key before?
Yes. I do have the public key in my kerying.
-- Osama Khalid
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/list
Am Sonntag 31 Oktober 2010 17:50:10 schrieb Osama Khalid:
> Running "$ gpg --allow-secret-key-import --import sk_<...>.gpg"
>
> returns in:
> > gpg: key : no user ID
> > gpg: Total number processed: 1
> > gpg: secret keys read: 1
Have you imported the public key before?
Hauke
--
PGP: D4
Hello,
When I generated my OpenPGP smartcard, I asked GPG to save a backup
version of the key. It did that in an
"sk_.gpg" file.
Now I'm trying to find a way to restore my secret key.
Currently, "$ gpg --list-secret-keys" has no output, but "$ gpg
--list-keys" does list the public key of my secr