Importing backed up card generated key

Werner Koch wk at
Fri Jun 22 13:16:58 CEST 2007


Are you using gpg or gpg2 and what version?  gpg2 and card interactions
are not that well tested.  If you have problems with scdaemon, I suggest
to use the gpg internal code instead of gpg -> gpg-agent -> scdaemon:

Put a "disable-scdaemon" into gpg-agent.conf, give gpg-agent a HUP and
check that no scdaemon is running anymore (you may just kill it).  Then
use "gpg --no-use-agent --edit-key".  The command "bkuptocard" may then
be used to store a backup key on a card.

Yes, we really need a howto on recovering smartcard keys.



More information about the Gnupg-users mailing list