Skip to content

feat(crypto): ✨ Raise symmetric payload limit#18

Merged
haskou merged 1 commit into
masterfrom
feat/symmetric-payload-limit
Jun 10, 2026
Merged

feat(crypto): ✨ Raise symmetric payload limit#18
haskou merged 1 commit into
masterfrom
feat/symmetric-payload-limit

Conversation

@haskou

@haskou haskou commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Raise SymmetricKey payload 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 lint
  • yarn build
  • yarn test:coverage (100% statements, branches, functions, and lines)

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou haskou merged commit d4a525f into master Jun 10, 2026
3 checks passed
@haskou haskou deleted the feat/symmetric-payload-limit branch June 10, 2026 16:28
github-actions Bot added a commit that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant