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

Add new algorithms supported in firmware 5.7.x #157

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

maraino
Copy link

@maraino maraino commented Sep 24, 2024

This commit supports the new algorithms supported on YubiKeys with a 5.7.x firmware. It adds support for RSA-3072, RSA-4096, Ed25519, and X25519.

Generating X25519 keys is only supported with Go 1.20+, which adds support for the crypto/ecdh package.

Note that this commit removes the support for Ed25519 on SoloKeys if the algorithm identifier is set to 0x22.

Fixes #143

This commit supports the new algorithms supported on YubiKeys with a
5.7.x firmware. It adds support for RSA-3072, RSA-4096, Ed25519, and
X25519.

Generating or importing X25519 keys is only supported with Go 1.20+,
which adds support for the crypto/ecdh package.
v2/piv/key_go120.go Outdated Show resolved Hide resolved
v2/piv/key_go120.go Outdated Show resolved Hide resolved
v2/piv/key_go120.go Outdated Show resolved Hide resolved
v2/piv/key_go120_test.go Outdated Show resolved Hide resolved
v2/piv/key_legacy.go Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

Support new key types in Yubikey 5.7 firmware
2 participants