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

Invalid argument 6: export-wrapped:import-wrapped (c:capabilities) #14

Closed
udf2457 opened this issue Dec 10, 2018 · 4 comments
Closed

Invalid argument 6: export-wrapped:import-wrapped (c:capabilities) #14

udf2457 opened this issue Dec 10, 2018 · 4 comments

Comments

@udf2457
Copy link

udf2457 commented Dec 10, 2018

yubihsm-shell 1.0.4

yubihsm> put wrapkey 0 0 "Wrap Key" all export-wrapped,import-wrapped exportable-under-wrap,sign-pkcs,sign-pss,sign-ecdsa,sign-eddsa,decrypt-pkcs,decrypt-oaep,derive-ecdh,sign-hmac,verify-hmac,sign-ssh-certificate,decrypt-otp,create-otp-aead,randomize-otp-aead,rewrap-from-otp-aead-key,rewrap-to-otp-aead-key,sign-attestation-certificate XXXXXXX
Invalid argument 6: export-wrapped,import-wrapped (c:capabilities)

Even a copy/paste of the examples on the website fail.

@klali
Copy link
Member

klali commented Dec 11, 2018

version 2.0.0 was released at https://developers.yubico.com/YubiHSM2/Releases/, please use that version, and the documentation is for that version. Some strings changed (unfortunately) to make more sense.

@klali klali closed this as completed Dec 11, 2018
@udf2457
Copy link
Author

udf2457 commented Dec 11, 2018

@klali will try. But if you say the strings changed, does that mean the docs (https://developers.yubico.com/YubiHSM2/Commands/) need updating too (since the copy/paste of website examples also failed for me ?)

@klali
Copy link
Member

klali commented Dec 11, 2018

The website has been updated for the syntax in the 2.0.0 version of the software.

@ssusbauer
Copy link

@klali FYI, the page at https://www.yubico.com/products/services-software/download/yubihsm-2-libraries-and-tools/ (main download page from the website) it is still pointing to the 1.0.4 downloads. Explains why I couldn't get things to work though.

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

No branches or pull requests

3 participants