Add option to disable encryption when key is forgotten (#371)

This commit is contained in:
Gregory Schier
2026-01-26 15:40:02 -08:00
committed by GitHub
parent 4e15ac10a6
commit 8969748c3c
5 changed files with 87 additions and 1 deletions
+4
View File
@@ -11,3 +11,7 @@ export function revealWorkspaceKey(workspaceId: string) {
export function setWorkspaceKey(args: { workspaceId: string; key: string }) {
return invoke<void>('cmd_set_workspace_key', args);
}
export function disableEncryption(workspaceId: string) {
return invoke<void>('cmd_disable_encryption', { workspaceId });
}