Skip to content

Testings complete - #77

Merged
sei-vsarvepalli merged 4 commits into
CERTCC:mainfrom
sei-vsarvepalli:encrypt_secure
Nov 18, 2026
Merged

sei-vsarvepalli merged 4 commits into
CERTCC:mainfrom
sei-vsarvepalli:encrypt_secure

Conversation

@sei-vsarvepalli

Copy link
Copy Markdown
Collaborator

This is to resolve recommendations from security audits.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread encrypt-storage.js Resolved
sei-vsarvepalli and others added 2 commits November 17, 2026 08:40
Ensure private key is safely handled based on extractability.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sei-vsarvepalli
sei-vsarvepalli merged commit bdc8234 into CERTCC:main Nov 18, 2026
2 checks passed
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.

3 participants