mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 22:38:00 -05:00
completely rewrote password storage: - by default passwords are kept in OS-specific keyring (Keychain on macOS, Windows Credentials Manager on Windows), which can be optionally disabled to store password in a local file. - on Linux keychain is disabled by default (does not work reliably in terminal sessions), but can be enabled using command-line flag.
4 lines
136 B
Go
4 lines
136 B
Go
package cli
|
|
|
|
var keyringEnabled = app.Flag("use-keyring", "Use Gnome Keyring for storing repository password.").Default("false").Bool()
|