mirror of
https://github.com/kopia/kopia.git
synced 2026-02-05 12:13:29 -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
137 B
Go
4 lines
137 B
Go
package cli
|
|
|
|
var keyringEnabled = app.Flag("use-keychain", "Use macOS Keychain for storing repository password.").Default("true").Bool()
|