Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keytocard: Key does not match the card's capability. #4

Closed
ghost opened this issue May 24, 2016 · 3 comments
Closed

keytocard: Key does not match the card's capability. #4

ghost opened this issue May 24, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented May 24, 2016

When I try run the command
gpg> keytocard
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]

Please select where to store the key:
(1) Signature key
(3) Authentication key
Your selection? 1
Key does not match the card's capability.
Your selection?

I get this error.

I did a search on this and according to this article (link below in quotes) the error is a result of keysize apparently.

"http://forum.yubico.com/viewtopic.php?f=26&t=1832&p=7191&hilit=keytocard#p7191"

The article says that Yubikey only allows 2048 keysize. However it seems 4096 worked for you.

Please help. Also please know, I am very noobish with gpg and advanced yubikey configuration.

Probably a simple explanations/fix

Thanks

@drduh
Copy link
Owner

drduh commented May 24, 2016

Which hardware are you using? I believe only YubiKey 4 (late 2015) supports RSA keys over 2048 bits.

@ghost
Copy link
Author

ghost commented May 24, 2016

Ok that makes sense. I am using the Yubikey Neo. On the product page it states "the YubiKey 4 or YubiKey 4 Nano, our latest generation YubiKey, [includes] faster and strong crypto compared to the YubiKey NEO."

"https://www.yubico.com/products/yubikey-hardware/yubikey-neo/"

I guess I'm stuck with 2048.

@ghost ghost closed this as completed May 24, 2016
@JackHowa
Copy link

I'm confused because the recent YubiKey 4 I bought only seems to support 2048 bits?

Key attributes ...: 2048R 2048R 2048R

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants