GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [v26.x backport] crypto: fix various edge cases by panva · Pull Request #66391 · nodejs/node Conversation
Member
Backports the rest of #66237
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsConvert algorithm dictionaries on the original receiver, with name read once. Validate normalized parameters in their operation steps after the method-level key checks and generation usage checks. This also makes Argon2 validation use converted parallelism and keeps later dictionary conversion errors ahead of semantic parameter errors. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: nodejs#66237 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Aviv Keller <[email protected]> Require cSHAKE and KMAC output lengths and KMAC key lengths to be multiples of 8 bits. KMAC keys must be at least 32 bits. Share these restrictions between operations and supports. Use OpenSSL's KMAC provider for all supported inputs and its cSHAKE implementation for non-empty function names or customization strings. Keep using SHAKE when both cSHAKE parameters are empty. Remove the custom Keccak framing, partial-bit handling, and short-key fallback. Document the OpenSSL 4.0 requirement for non-empty cSHAKE parameters and reject customization strings containing null bytes. Keep the documented 512-byte customization limit and let backend failures reach callers. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: nodejs#66237 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@ ## v26.x-staging #66391 +/- ## ================================================= + Coverage 90.24% 90.66% +0.42% ================================================= Files 729 775 +46 Lines 242760 271437 +28677 Branches 46044 51940 +5896 ================================================= + Hits 219073 246096 +27023 - Misses 15133 16232 +1099 - Partials 8554 9109 +555
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Convert algorithm dictionaries on the original receiver, with name read once. Validate normalized parameters in their operation steps after the method-level key checks and generation usage checks. This also makes Argon2 validation use converted parallelism and keeps later dictionary conversion errors ahead of semantic parameter errors. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: #66237 Backport-PR-URL: #66391 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Xuguang Mei <[email protected]>
Require cSHAKE and KMAC output lengths and KMAC key lengths to be multiples of 8 bits. KMAC keys must be at least 32 bits. Share these restrictions between operations and supports. Use OpenSSL's KMAC provider for all supported inputs and its cSHAKE implementation for non-empty function names or customization strings. Keep using SHAKE when both cSHAKE parameters are empty. Remove the custom Keccak framing, partial-bit handling, and short-key fallback. Document the OpenSSL 4.0 requirement for non-empty cSHAKE parameters and reject customization strings containing null bytes. Keep the documented 512-byte customization limit and let backend failures reach callers. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: #66237 Backport-PR-URL: #66391 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Xuguang Mei <[email protected]>
|
Landed in 6c924ee...32ba6d5 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Convert algorithm dictionaries on the original receiver, with name read once. Validate normalized parameters in their operation steps after the method-level key checks and generation usage checks. This also makes Argon2 validation use converted parallelism and keeps later dictionary conversion errors ahead of semantic parameter errors. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: nodejs#66237 Backport-PR-URL: nodejs#66391 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Xuguang Mei <[email protected]>
Require cSHAKE and KMAC output lengths and KMAC key lengths to be multiples of 8 bits. KMAC keys must be at least 32 bits. Share these restrictions between operations and supports. Use OpenSSL's KMAC provider for all supported inputs and its cSHAKE implementation for non-empty function names or customization strings. Keep using SHAKE when both cSHAKE parameters are empty. Remove the custom Keccak framing, partial-bit handling, and short-key fallback. Document the OpenSSL 4.0 requirement for non-empty cSHAKE parameters and reject customization strings containing null bytes. Keep the documented 512-byte customization limit and let backend failures reach callers. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: nodejs#66237 Backport-PR-URL: nodejs#66391 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Xuguang Mei <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.