Unusable secret key (adduid)

Ivan Markin ivansunset at gmail.com
Mon Apr 13 21:23:13 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/13/2015 07:37 PM, Werner Koch wrote:> 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
> 

Thank you for the reply, Werner.
Yes, card works perfectly. I've tried gpg2 --card-status. Nothing.
It forced me to find my backup key and add a UID with it (works as it
should).
As you may notice, GPG tells that "Secret key is available." because
my card is present.

Thanks,
Ivan
> 
> 
> Shalom-Salam,
> 
> Werner
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVLBebAAoJEAkv0TW1VhaDmu4IAIPxbvyL/q1HSEnp3YgF4xEk
aAqeC5/wQO+pS51vNSJiXHWD+Cu4B5SA8g4MmGvs9uIRPdPAGG5xpSEpcJF82qmg
mKYM5EFGZGWX/UUaGSOYt+WA/ghYw0LSSUO+gjPLJLXSkZmH1m7bBjjIyfE19TiC
4bK0Dg6VoGov2RiYoFdV3jjbKXn/osLmYZV4hZP40p+LT1EDhnXHETzMWVAKGIYY
KX1dpfrR26TAxAaMHvtJohn3BC1sUNtm/p2DqFeWOEaagltxAhbibS8WEfFHvwI4
PfgLPW76QZ/v36TeclhDyYvfCAhqkvAPpmTj7or4lpM9DCwg4vS2olA8L/s9kCM=
=lhgm
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list