restoring SmartCard key with off-card copy
achim.cloer at cloer.com
Thu Oct 6 16:24:07 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
> Restore the given file to a card. This command may be used to
> restore a backup key (as generated during card initialization) to a
> new card. In almost all cases this will be the encryption key. You
> should use this command only with the corresponding public key and
> make sure that the file given as argument is indeed the backup to
> restore. You should then select 2 to restore as encryption key. You
> will first be asked to enter the passphrase of the backup key and
> then for the Admin PIN of the card.
It seems that the backup file only contains one key: This was on my
original Card the encryption key. But this is shown as encryption
_and_ signature key and has a different Key-ID than the one I published.
The Authentication Key is empty.
I succeeded to write back this encryption key to the card. But PGP is
writing the same key to two positions in the card. So now I have a
Card with the same key in "encryption" and "signature".
But I still can't use the Card: After Importing the backup key, my gpg
is still asking for my old SmartCard. How can I tell GPG to use the
new smart card? It seems to be necessary to modify the sec-key on the
computer. But how. I can't find any documentation...
Sorry, but I really don't understand what to dot. How can I restore a
Card so that I can use it as my original card before.
If there is now HowTo, I promise to write one, once I found out how it
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Gnupg-users