-
Notifications
You must be signed in to change notification settings - Fork 35
Security hardening, input validation, memory-safety, and key zeroization fixes #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
e5214e0
F-4941 - Reject PBKDF2 iteration count above INT_MAX
aidangarske e3bc98a
F-6670 - Encode both bytes of RSA-PSS salt length >= 256
aidangarske d163760
F-5922 - Commit ECDSA digest type only after validation
aidangarske f2e2c2d
F-5184 - Reject ECC private scalar outside [1, n-1] on import
aidangarske ef42fc0
F-5185 - Validate explicit DH domain parameters in param check
aidangarske 350082a
F-6682 - Zeroize HMAC context on free
aidangarske 84d51c8
F-5544 - Zeroize PBKDF1 key in PEM encrypt fallback
aidangarske 3cbb1d8
F-5923 - Reset CCM TLS AAD length like the GCM path
aidangarske 27eda91
F-5924 - Clear TLS ETM output length on bad padding
aidangarske ba77631
F-4940 - Cap PEM password callback length to buffer size
aidangarske a65d3bf
F-4938 - Cap EPKI decode password length to buffer size
aidangarske 5fb013f
F-4826 - Cap encrypt-key password length to buffer size
aidangarske f7358e5
F-4937 - Cap RSA PKCS8 decode password length to buffer size
aidangarske d144a3a
F-4384 - Guard AES key wrap lengths against word32 truncation
aidangarske 7625364
F-4698 - Cap DER BIO read accumulator against word32 overflow
aidangarske 91cdeae
F-5805 - Pass original dispatch table to OSSL_LIB_CTX_new_child
aidangarske b1ae85e
F-5866 - Re-init urandom mutex in forked child
aidangarske d9009e0
F-4289 - Reject zero-length X25519/X448 private key import
aidangarske cb74265
F-5913 - Bound ECC group name compare to param length
aidangarske 6294f5d
F-5918 - Bound DH group name compare and fix utf8 copy guard
aidangarske e24e797
F-4699 - Reject truncated PEM before header detection
aidangarske 4491ee7
F-5925 - Pass record base pointer to TLS CBC decrypt
aidangarske d58dab1
F-5198 - Guard DES3 TLS record length before padding strip
aidangarske 779e3b1
F-4291 - Reject HMAC key set without a digest
aidangarske 858a695
F-4292 - Report KDF exchange dup as unsupported instead of empty
aidangarske 8ec8493
F-5921 - Validate PKCS12 KDF diversifier id range
aidangarske 51ae87b
F-4824 - Guard legacy PKCS8 DER-to-PEM size against word32 overflow
aidangarske 4f2fd55
Guard unit.h AES_BLOCK_SIZE fallback against wolfSSL enum clash
aidangarske fc67e33
F-5185 - Reject explicit DH generator equal to p-1
aidangarske d1f0dfe
F-5918 - Copy exact UTF8 parameter length to avoid out-of-bounds read
aidangarske 34e6771
F-5198 - Strip DES3 TLS padding using record base pointer
aidangarske 3d4e193
F-4698 - Fix DER BIO overflow guard on 32-bit size_t
aidangarske b0b7125
F-4941 - Reject PKCS12 KDF iteration count above INT_MAX
aidangarske 1bc900e
F-5184 - Clarify ECC private scalar range-check comment
aidangarske 32a4db6
F-5184 - Fail closed when ECC private-scalar range check cannot run
aidangarske f563c13
F-5925 - Assert split-record TLS CBC decrypt succeeds in test
aidangarske 9dce094
F-5198 - Zero DES3 TLS decrypt outLen when padding is invalid
aidangarske 9ee4c57
F-5198 - Add positive DES3 TLS CBC decrypt test
aidangarske 9051590
F-5184 - Shorten ECC private-scalar range-check comment
aidangarske 456f65e
F-5185 - Set DH composite-modulus test LSB for little-endian parse
aidangarske 6b162ed
F-4292 - Assert HKDF ctx dup is unsupported
aidangarske 10e7bcd
F-5198 - Split DES3 TLS CBC decrypt test to exercise record-base path
aidangarske 5cde73d
F-4384 - Cast AES key-wrap length guard operands to uint64
aidangarske File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.