Skip to content

Commit 7715c23

Browse files
sgmilleractions-user
authored andcommitted
Warn in the documentation against the use of CKM_RSA_PKCS. (#8982)
* Warn in the documentation against the use of CKM_RSA_PKCS * tweak * Roger roger.
1 parent 29c3c88 commit 7715c23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/pages/docs/configuration/seal/pkcs11.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ These parameters apply to the `seal` stanza in the Vault configuration file:
112112
- `0x0009` `CKM_RSA_PKCS_OAEP`
113113
- `0x0001` `CKM_RSA_PKCS`
114114

115+
~> **Warning**: CKM_RSA_PKCS specifies the PKCS #1 v1.5 padding scheme, which is
116+
subject to several padding oracle attacks. Use of CKM_RSA_PKCS_OAEP is
117+
recommended over CKM_RSA_PKCS.
118+
119+
115120
- `hmac_mechanism` `(string: "0x0251")`: The encryption/decryption mechanism to
116121
use, specified as a decimal or hexadecimal (prefixed by `0x`) string.
117122
Currently only `0x0251` (corresponding to `CKM_SHA256_HMAC` from the

0 commit comments

Comments
 (0)