Repository navigation
v2.10.0
·
104 commits
to master
since this release
Changes
- feat(crypto): ✨ Raise symmetric payload limit
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/2.10.0
- Pull request: #18
- Source branch:
feat/symmetric-payload-limit - Version bump:
minor
Pull request notes
Summary
- Raise
SymmetricKeypayload and ciphertext limit from 1 MiB to 8 MiB. - Keep asymmetric payload encryption capped at 1 MiB.
- Validate decoded ciphertext size before strict Base64 regex checks to avoid expensive/fragile validation on oversized payloads.
- Update README and technical documentation with separate asymmetric and symmetric limits.
Validation
yarn lintyarn buildyarn test:coverage(100% statements, branches, functions, and lines)