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

Aktiv Rutoken ECP - cannot store private key on card #1082

Closed
ya-isakov opened this issue Jun 27, 2017 · 1 comment
Closed

Aktiv Rutoken ECP - cannot store private key on card #1082

ya-isakov opened this issue Jun 27, 2017 · 1 comment

Comments

@ya-isakov
Copy link
Contributor

Expected behaviour

Can store externally generated private key on Rutoken

Actual behaviour

Error "Failed to store private key: Invalid arguments" shown

Steps to reproduce

  1. pkcs15-init --erase-card -p rutoken_ecp
  2. pkcs15-init --create-pkcs15 --so-pin "87654321" --so-puk ""
  3. pkcs15-init --store-pin --label "User PIN" --auth-id 02 --pin "12345678" --puk "" --so-pin "87654321" --finalize
  4. pkcs15-init --store-private-key ~/client.key --auth-id 02 -vvv

Logs

https://gist.github.com/ya-isakov/9bbb667777ee33c385d5cc5ebdff5c81

@ya-isakov ya-isakov changed the title Aktiv Rutoken - cannot store private key on card Aktiv Rutoken ECP - cannot store private key on card Jun 27, 2017
@ya-isakov
Copy link
Contributor Author

Duplicate of #931

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

1 participant