We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5e4760 + 938957b commit 3fb5f58Copy full SHA for 3fb5f58
src/providers/pkcs11_provider/utils.rs
@@ -590,9 +590,9 @@ fn key_pair_usage_flags_to_pkcs11_attributes(
590
priv_template: &mut Vec<CK_ATTRIBUTE>,
591
) {
592
if usage_flags.sign_hash || usage_flags.sign_message {
593
- priv_template.push(CK_ATTRIBUTE::new(CKA_SIGN_RECOVER).with_bool(&CK_TRUE));
+ priv_template.push(CK_ATTRIBUTE::new(CKA_SIGN).with_bool(&CK_TRUE));
594
} else {
595
- priv_template.push(CK_ATTRIBUTE::new(CKA_SIGN_RECOVER).with_bool(&CK_FALSE));
+ priv_template.push(CK_ATTRIBUTE::new(CKA_SIGN).with_bool(&CK_FALSE));
596
}
597
598
if usage_flags.verify_hash || usage_flags.verify_message {
0 commit comments