-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently the password can be stored in plaintext in ~/.bourso/settings.json. It would be nice to support secure storage using the OS native credential manager.
The https://crates.io/crates/keyring crate provides cross-platform support for:
- macOS Keychain
- Linux Secret Service (GNOME Keyring, KWallet)
- Windows Credential Manager
use keyring::Entry;
let entry = Entry::new("bourso-cli", &username)?;
entry.set_password(&password)?;
// ...
let password = entry.get_password()?;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request