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

Opensc curve25519 compatibility #147

Open
sosthene-nitrokey opened this issue Apr 21, 2023 · 2 comments
Open

Opensc curve25519 compatibility #147

sosthene-nitrokey opened this issue Apr 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sosthene-nitrokey
Copy link
Collaborator

pkcs11-tool --login --login-type so --keypairgen  --key-type EC:prime256v1

Works, but

pkcs11-tool --login --login-type so --keypairgen  --key-type EC:edwards25519

doesn't with error: Generate EC key mechanism 1055 not supported'

and neither does

pkcs11-tool --login --login-type so --keypairgen  --key-type EC:curve25519

with error: error: Generate EC key mechanism 1056 not supported

@sosthene-nitrokey sosthene-nitrokey added the bug Something isn't working label Apr 21, 2023
@sosthene-nitrokey
Copy link
Collaborator Author

Relevant previous issue with RSA: #96

@sosthene-nitrokey
Copy link
Collaborator Author

sosthene-nitrokey commented Apr 21, 2023

Note: openpgp-tool does not support generating any type of EC keys, so this is why this works with pkcs11-tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant