Skip to content

feat(crypto): ✨ Add symmetric encrypted payloads - #16

Merged
haskou merged 2 commits into
masterfrom
feat/symmetric-encrypted-payload
Jun 9, 2026
Merged

feat(crypto): ✨ Add symmetric encrypted payloads#16
haskou merged 2 commits into
masterfrom
feat/symmetric-encrypted-payload

Conversation

@haskou

@haskou haskou commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add SymmetricKey for AES-256-GCM payload encryption and decryption.
  • Add typed symmetric/asymmetric encrypted payload value objects and scheme detection.
  • Reuse SymmetricKey internally for EncryptedPrivateKeyV2 while keeping the existing serialized private-key format.
  • Document symmetric encryption, deterministic password-based key derivation, payload formats, and security boundaries.
  • Extend tests to keep global coverage at 100%.

Validation

  • yarn lint
  • yarn test:coverage (100% statements, branches, functions, and lines)
  • yarn build

@codecov

codecov Bot commented Jun 9, 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 commented Jun 9, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@haskou
haskou merged commit ce364d2 into master Jun 9, 2026
3 checks passed
@haskou
haskou deleted the feat/symmetric-encrypted-payload branch June 9, 2026 14:49
github-actions Bot added a commit that referenced this pull request Jun 9, 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