[PR #371] [MERGED] Add option to disable encryption when key is forgotten #1278

Closed
opened 2026-04-26 00:16:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/371
Author: @gschier
Created: 1/26/2026
Status: Merged
Merged: 1/26/2026
Merged by: @gschier

Base: mainHead: disable-workspace-encryption


📝 Commits (1)

  • e94c901 Add option to disable encryption when key is forgotten

📊 Changes

5 files changed (+87 additions, -1 deletions)

View changed files

📝 crates-tauri/yaak-app/src/commands.rs (+9 -0)
📝 crates-tauri/yaak-app/src/lib.rs (+1 -0)
📝 crates/yaak-crypto/index.ts (+4 -0)
📝 crates/yaak-crypto/src/manager.rs (+29 -0)
📝 src-web/components/WorkspaceEncryptionSetting.tsx (+44 -1)

📄 Description

Adds a way to disable encryption for a workspace when the user has forgotten their encryption key.

CleanShot 2026-01-26 at 15 30 36

User Flow

  1. User opens a workspace with encrypted values but no key configured
  2. The "Enter Workspace Key" dialog appears
  3. User clicks "Forgot your key?"
  4. A confirmation dialog warns that encrypted values will fail to decrypt
  5. User confirms, encryption is disabled, workspace becomes accessible
  6. Any secure(...) values will show decrypt errors when used, allowing the user to fix them manually

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/371 **Author:** [@gschier](https://github.com/gschier) **Created:** 1/26/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `disable-workspace-encryption` --- ### 📝 Commits (1) - [`e94c901`](https://github.com/mountain-loop/yaak/commit/e94c901d3c79108c3027cef8df9e8596b659b93b) Add option to disable encryption when key is forgotten ### 📊 Changes **5 files changed** (+87 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates-tauri/yaak-app/src/commands.rs` (+9 -0) 📝 `crates-tauri/yaak-app/src/lib.rs` (+1 -0) 📝 `crates/yaak-crypto/index.ts` (+4 -0) 📝 `crates/yaak-crypto/src/manager.rs` (+29 -0) 📝 `src-web/components/WorkspaceEncryptionSetting.tsx` (+44 -1) </details> ### 📄 Description Adds a way to disable encryption for a workspace when the user has forgotten their encryption key. <img width="1640" height="936" alt="CleanShot 2026-01-26 at 15 30 36" src="https://github.com/user-attachments/assets/74ce646e-fdb3-46a4-b25b-fee8c24e5eae" /> ## User Flow 1. User opens a workspace with encrypted values but no key configured 2. The "Enter Workspace Key" dialog appears 3. User clicks "Forgot your key?" 4. A confirmation dialog warns that encrypted values will fail to decrypt 5. User confirms, encryption is disabled, workspace becomes accessible 6. Any `secure(...)` values will show decrypt errors when used, allowing the user to fix them manually --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 00:16:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#1278