flotilla/packages/desktop-secure-storage
2026-09-22 16:32:08 +00:00
..
electron/dist Protect desktop secrets with OS-backed storage (#561) 2026-09-22 16:32:08 +00:00
test Protect desktop secrets with OS-backed storage (#561) 2026-09-22 16:32:08 +00:00
package.json Protect desktop secrets with OS-backed storage (#561) 2026-09-22 16:32:08 +00:00
README.md Protect desktop secrets with OS-backed storage (#561) 2026-09-22 16:32:08 +00:00

Desktop secure storage plugin

This package provides Flotilla's Electron implementation of protected secret storage. Capawesome discovers the implementation at electron/dist/plugin.mjs; the encrypted store is kept in the Electron user-data directory and requires an operating-system keyring or keychain.

The Electron 43 safeStorage API defines isAsyncEncryptionAvailable() as Promise<boolean> and decryptStringAsync() as Promise<{result: string, shouldReEncrypt: boolean}>.

Initialization failures show one warning and use memory only for that process. The saved file is preserved for recovery; explicit logout still clears it. No desktop plaintext migration is needed because desktop has not been deployed. Web and mobile keep their existing adapter.