flotilla/packages/desktop-secure-storage/README.md
2026-09-22 16:32:08 +00:00

844 B

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.