Unusable secret key (adduid)

Werner Koch wk at gnupg.org
Mon Apr 13 18:37:06 CEST 2015

On Sat, 11 Apr 2015 23:01, ivansunset at gmail.com said:
> Hello!
> I'm using OpenPGP card to store my secret keys on it. Now I'm adding a
> new UID to my key by running gpg2 --edit-key. What I've got is this

You need to insert your card to create a new UID.

> gpg: secret key parts are not available
> gpg: signing failed: Unusable secret key
> How to solve this?

Insert the card.   Check out that the card works by running 

  gpg --card-status



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list