Repository navigation
Testings complete - #77
Merged
Merged
Conversation
sei-vsarvepalli
requested review from
SEI-gstrom
and
a balanced review from Copilot
November 17, 2026 13:31
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Newly generated private keys are persisted as extractable, allowing export as JWK or PKCS8 even after reloading.
1 open issue
What changed in this PR
This PR updates the browser encryption and key-storage helpers to address security-audit recommendations.
Changes:
- Adds plaintext-size validation and data-conversion error handling.
- Improves IndexedDB error handling, connection cleanup, and write completion tracking.
- Stores public and private CryptoKeys directly while retaining support for legacy JWK records.
| File | Description |
|---|---|
encrypt-storage.js |
Updates encryption validation, database handling, and key persistence. |
Review effort: Balanced
Ensure private key is safely handled based on extractability. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
SEI-gstrom
approved these changes
Nov 17, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
sei-vsarvepalli
force-pushed
the
encrypt_secure
branch
from
November 18, 2026 07:42
ec92311 to
5ccdfca
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

This is to resolve recommendations from security audits.