Add Negative testing and Validation for wolfPKCS11#179
Draft
aidangarske wants to merge 15 commits intowolfSSL:masterfrom
Draft
Add Negative testing and Validation for wolfPKCS11#179aidangarske wants to merge 15 commits intowolfSSL:masterfrom
aidangarske wants to merge 15 commits intowolfSSL:masterfrom
Conversation
…NCRYPT/CKA_DECRYPT attribute enforcement in C_EncryptInit/C_DecryptInit
…IGN/CKA_VERIFY attribute enforcement in C_SignInit/C_VerifyInit
…ERIFY attribute enforcement in C_VerifyRecoverInit
…ngle-shot C_Encrypt output length for block-aligned inputs
…encryption key on C_Logout
…IVE=TRUE and CKA_EXTRACTABLE=FALSE for private keys
…E access control in WP11_Object_Find
…truncated signature rejection
…RAP/CKA_UNWRAP attribute enforcement in C_WrapKey/C_UnwrapKey
…e-shot NULL size query checking wrong parameter
…gest crypto state on session close
Member
|
@wolfSSL-Fenrir-bot review |
- src/internal.c — WP11_Object_Find private-access check now uses slot->lock consistently (matches WP11_Slot_IsLoggedIn pattern) instead of conditionally using token.lock only for non-token objects - tests/pkcs11mtt.c — Added CKA_SENSITIVE to test key templates so they work with the new CKA_SENSITIVE=TRUE default from F-2368. When extractable=TRUE, sensitive is set FALSE so tests can read key values. When extractable=FALSE, sensitive stays TRUE matching the hardened default. Applied to test_attribute, get_generic_key, get_rsa_priv_key, get_ecc_priv_key, and get_dh_priv_key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
F-2379, F-2380, F-2386, F-2375, F-2389, F-2368, F-2369, F-2381, F-2382, F-2376, F-2390