Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrExistsFailed is returend if we can't check for existence ErrExistsFailed = fmt.Errorf("Failed to check for existence") // ErrNotFound is returned if an entry was not found ErrNotFound = fmt.Errorf("Entry is not in the password store") // ErrEncrypt is returned if we failed to encrypt an entry ErrEncrypt = fmt.Errorf("Failed to encrypt") // ErrDecrypt is returned if we failed to decrypt and entry ErrDecrypt = fmt.Errorf("Failed to decrypt") // ErrSneaky is returned if the user passes a possible malicious path to gopass ErrSneaky = fmt.Errorf("you've attempted to pass a sneaky path to gopass. go home") // ErrGitInit is returned if git is already initialized ErrGitInit = fmt.Errorf("git is already initialized") // ErrGitNotInit is returned if git is not initialized ErrGitNotInit = fmt.Errorf("git is not initialized") // ErrGitNoRemote is returned if git has no origin remote ErrGitNoRemote = fmt.Errorf("git has no remote origin") // ErrNoBody is returned if a secret exists but has no content beyond a password ErrNoBody = fmt.Errorf("no safe content to display, you can force display with show -f") // ErrNoPassword is returned is a secret exists but has no password, only a body ErrNoPassword = fmt.Errorf("no password to display") )
Functions ¶
This section is empty.
Types ¶
type ByLen ¶
type ByLen []string
ByLen is a list of mount points (string) that can be sorted by length
type ByPathLen ¶
type ByPathLen []string
ByPathLen sorts mount points by the number of level / path separators
type FsckCallback ¶
FsckCallback is a callback to ask the user to confirm certain fsck corrective actions
type ImportCallback ¶
ImportCallback is a callback to ask the user if he wants to import a certain recipients public key into his keystore
Click to show internal directories.
Click to hide internal directories.