Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:11 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Feb 06, 2016 6:21 pm 
Offline

Joined: Sat Feb 06, 2016 6:04 pm
Posts: 1
Hey, so I just got my new Yubikey 4, and from what I've read it's supposed to support 4096-bit keys. However, gpg2 --card-status reports this:

Code:
Key attributes ...: rsa2048 rsa2048 rsa2048


It seems like this is just a default value, and the card can be reconfigured to use 4096-bit keys, but there doesn't seem to be an option to do so directly.

That said, attempting to generate a key on the card asks me for a key length, so I figured I might be able to do this to configure the card, then replace the generated keys with my own keys. But no luck:

Code:
What keysize do you want for the Signature key? (2048) 4096
The card will now be re-configured to generate a key of 4096 bits
Note: There is no guarantee that the card supports the requested size.
      If the key generation does not succeed, please check the
      documentation of your card to see what sizes are allowed.
gpg: error changing size of key 1 to 4096 bits: Invalid data


Is there something I'm missing here? The Yubikey 4 does support 4096-bit PGP keys, right?

EDIT: Never mind, this appears to be related to my GPG version, as mentioned here - I am in fact using 2.1.9: http://www.gossamer-threads.com/lists/gnupg/users/73716


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Tue Feb 09, 2016 9:47 am 
Offline

Joined: Sat Feb 06, 2016 4:21 am
Posts: 3
Works fine with GPG ver. 2.1.11.


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: Google [Bot] and 3 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:  
Powered by phpBB® Forum Software © phpBB Group