You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying mechansim by -m we don't convert strings starting with mechtype-0x... back to hex, only a list of internal hardcoded strings.
This to allow specifying vendor mechanisms such as RSA keypairgen for AWS CloudHSM in FIPS-mode which requires 0x80000142 0x80000143 etc and won't accept the defaults
Proposed Resolution
If -m sees a string like like mechtype-0x80000142 then it will return the mechanism 0x80000142UL.
Problem Description
When specifying mechansim by
-m
we don't convert strings starting withmechtype-0x...
back to hex, only a list of internal hardcoded strings.This to allow specifying vendor mechanisms such as RSA keypairgen for AWS CloudHSM in FIPS-mode which requires 0x80000142 0x80000143 etc and won't accept the defaults
Proposed Resolution
If
-m
sees a string like likemechtype-0x80000142
then it will return the mechanism 0x80000142UL.Steps to reproduce
Logs
Expected:
Desired behaviour
The text was updated successfully, but these errors were encountered: