Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:48 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Oct 20, 2016 10:43 pm 
Offline

Joined: Mon Nov 03, 2014 4:19 am
Posts: 6
I have a Yubikey Neo (3.3.0) with the GPG applet. I have my secret key there, and have generated stubs which are on my Mac (OS X 10.12). I have the latest GPGTools installed (gpg2 2.0.30).

Using the command-line tools I can successfully encrypt and decrypt items when the Yubikey is inserted. As expected, these operations fail when the key is not present.

However, if I try to add an identity, the operation fails with the error below. Any ideas?

Code:
> gpg2 --edit-key B9C6372C
gpg (GnuPG/MacGPG2) 2.0.30; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub  3744R/B9C6372C  created: 2014-11-01  expires: never       usage: SC
                     trust: ultimate      validity: ultimate
sub  2048R/16F24B4D  created: 2014-11-01  expires: never       usage: S
sub  2048R/BCD35EE5  created: 2014-11-01  expires: never       usage: E
sub  2048R/D63C1EEF  created: 2014-11-01  expires: never       usage: A
[ultimate] (1). Peter Loron <peterl@xxxx>
[ultimate] (2)  Peter Loron <peterloron@xxxx>
[ultimate] (3)  Peter Loron <pete@xxxxx>
[ultimate] (4)  Peter Loron <ploron@xxxx>

gpg> adduid
Real name: Peter Loron
Email address: peterlo@zzzzz
Comment:
You selected this USER-ID:
    "Peter Loron <peterlo@zzzz>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
gpg: secret key parts are not available
gpg: signing failed: Unusable secret key

gpg>


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Sat Oct 22, 2016 5:37 pm 
Offline

Joined: Thu Oct 20, 2016 10:18 am
Posts: 5
That part works fine on Linux, I tried it earlier today.
The card is having probably having problems seeing your key. (I had a ton of small problems like that, it's awful how brittle these clients/agents/whatever are).

Maybe you can try to boot from Live CD and create a new key (you don't want to save, obviously).


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group