Moving from openpgp card to cryptostick

Grant Olson kgo at grant-olson.net
Thu Feb 9 20:17:17 CET 2012


On 2/9/12 4:46 AM, Klaus Layer wrote:
> 
> I proceed exactly as described in the howto with my backup keys. But I always 
> get the message "gpg: secretkey already stored on a card"
> 
> Any idea how I can resolve this?
> 

I would suggest setting up the new card off of a temp keyring using the
homedir option:

mkdir newcard
gpg --homedir newcard import backup.gpg
gpg --homedir newcard --card-edit
... etc

If that works, delete your private key from your real keyring and run
--card-status to use the new card.

-- 
Grant

Confidential info? Please encrypt or send via:
https://privacybox.de/grant.msg

"I am gravely disappointed. Again you have made me unleash my dogs of war."



More information about the Gnupg-users mailing list