Skip to content

Commit

Permalink
doc: Document no-allowed-mechanisms quirk
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje authored and simo5 committed Oct 24, 2024
1 parent e28eb53 commit a10de6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/provider-pkcs11.7
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ Some implementatations of PKCS11 don\[cq]t allow setting
\f[V]pApplication\f[R] and \f[V]Notify\f[R] callback functions in
\f[V]C_OpenSession\f[R].
This option sets NULL values for both callbacks.
.SS no-allowed-mechanisms
.PP
Some implementatations of PKCS11 don\[cq]t support
\f[V]CKA_ALLOWED_MECHANISMS\f[R] attribute on keys.
Setting this quirk prevents the provider from attempting to set and read
this attribute.
.PP
Default: none
.PP
Expand Down
5 changes: 5 additions & 0 deletions docs/provider-pkcs11.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ Some implementatations of PKCS11 don't allow setting `pApplication` and
`Notify` callback functions in `C_OpenSession`.
This option sets NULL values for both callbacks.

### no-allowed-mechanisms
Some implementatations of PKCS11 don't support `CKA_ALLOWED_MECHANISMS`
attribute on keys. Setting this quirk prevents the provider from
attempting to set and read this attribute.

Default: none

Example:
Expand Down

0 comments on commit a10de6e

Please sign in to comment.