Skip to content

[PB-6505] Add encryption functions for local-storage#2023

Merged
TamaraFinogina merged 7 commits into
masterfrom
add_localstorage_enc
Jul 7, 2026
Merged

[PB-6505] Add encryption functions for local-storage#2023
TamaraFinogina merged 7 commits into
masterfrom
add_localstorage_enc

Conversation

@TamaraFinogina

@TamaraFinogina TamaraFinogina commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds encryption/decryption methods with CryptoKey stored in IndexedDB. So far, the methods are not called.

Related Issues

Relates to PB-6505

Related Pull Requests

Minimize workspace data

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

unit tests

Additional Notes

Uint8Array.toBase64() and Uint8Array.fromBase64() required an update of typescript to a more modern version, which in turn required changes in config (update deprecated fields)

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: bbb337f
Status: ✅  Deploy successful!
Preview URL: https://b8878e66.drive-web.pages.dev
Branch Preview URL: https://add-localstorage-enc.drive-web.pages.dev

View logs

@TamaraFinogina TamaraFinogina self-assigned this Jul 6, 2026
@TamaraFinogina TamaraFinogina marked this pull request as ready for review July 6, 2026 13:23
@TamaraFinogina TamaraFinogina requested a review from sg-gs July 6, 2026 13:24
Comment thread tsconfig.json
Comment thread src/app/core/types.ts
Comment thread src/services/local-storage-crypto.ts
@TamaraFinogina TamaraFinogina requested a review from sg-gs July 6, 2026 16:54
Comment thread src/services/local-storage-crypto.ts
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@TamaraFinogina TamaraFinogina merged commit 4b15d73 into master Jul 7, 2026
11 checks passed
@TamaraFinogina TamaraFinogina deleted the add_localstorage_enc branch July 7, 2026 13:14
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