Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PwStoreDir ¶
PwStoreDir reads the password store dir from the environment or returns the default location ~/.password-store if the env is not set
Types ¶
type Config ¶
type Config struct {
AlwaysTrust bool `json:"alwaystrust"` // always trust public keys when encrypting
AskForMore bool `json:"askformore"` // ask for more data on generate
AutoImport bool `json:"autoimport"` // import missing public keys w/o asking
AutoPull bool `json:"autopull"` // pull from git before push
AutoPush bool `json:"autopush"` // push to git remote after commit
ClipTimeout int `json:"cliptimeout"` // clear clipboard after seconds
Debug bool `json:"debug"` // enable debug output
FsckFunc store.FsckCallback `json:"-"`
ImportFunc store.ImportCallback `json:"-"`
LoadKeys bool `json:"loadkeys"` // load missing keys from store
Mounts map[string]string `json:"mounts,omitempty"`
NoColor bool `json:"nocolor"` // disable colors in output
NoConfirm bool `json:"noconfirm"` // do not confirm recipients when encrypting
Path string `json:"path"` // path to the root store
PersistKeys bool `json:"persistkeys"` // store recipient keys in store
SafeContent bool `json:"safecontent"` // avoid showing passwords in terminal
Version string `json:"version"`
}
Config is the gopass config structure
func (*Config) SetConfigValue ¶
SetConfigValue will try to set the given key to the value in the config struct
Click to show internal directories.
Click to hide internal directories.