Closed ceridwen closed 3 years ago
Hi @ceridwen, the problem I see is in the documentation, where CKG_MGF_SHAxxx
should be CKG_MGF1_SHAxxx
instead. I'll fix that, is there anything else I may have missed?
Actually the documentation is inferred from the help string produced when specifying the -h
argument to a command, which means that the documentation in the commands p11wrap
, p11keygen
and p11rewrap
must be adjusted as well.
The changes have been added to the master
branch, but not issued as a new release yet. Please check it out to see if it addresses your issue entirely.
Thank you for your contribution,
Looks good to me.
Under https://github.com/Mastercard/pkcs11-tools/blob/master/docs/MANUAL.md#p11wrap-and-p11unwrap,
These are not the same as the mechanisms listed in the standard. Yesterday I was trying unwrapping and wrapping and couldn't figure out why I was getting errors until I looked the mechanisms up.