Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &Config{ PrivateKeys: ExpandWithHome("~/.mypass/private_keys"), CachedPassword: ExpandWithHome("~/.mypass/cached_pass"), DatabasePath: ExpandWithHome("~/.mypass/db.sqlite"), Backend: "sqlite3", }
Functions ¶
func ExpandWithHome ¶
func LoadCachedPassword ¶
func LoadCachedPassword() error
func LoadDatabase ¶
func LoadPrivateKeys ¶
func LoadPrivateKeys() error
Types ¶
type Config ¶
type Config struct {
// Stored private keys
PrivateKeys string `yaml:"private_keys"`
// Cached password path
CachedPassword string `yaml:"cached_password"`
DatabasePath string `yaml:"database"`
EncryptionLevel int `yaml:"encryption_level"`
Backend string `yaml:"backend"`
}
Config location ~/.config/mypass/config.yaml
Click to show internal directories.
Click to hide internal directories.