package
0.7.0
Repository: https://github.com/theupdateframework/notary.git
Documentation: pkg.go.dev

# Functions

ConstantRetriever returns a new Retriever which will return a constant string as a passphrase.
GetPassphrase get the passphrase from bufio.Reader or from terminal.
PromptRetriever returns a new Retriever which will provide a prompt on stdin and stdout to retrieve a passphrase.
PromptRetrieverWithInOut returns a new Retriever which will provide a prompt using the given in and out readers.

# Variables

ErrDontMatch is returned if the two entered passphrases don't match.
ErrNoInput is returned if we do not have a valid input method for passphrases.
ErrTooManyAttempts is returned if the maximum number of passphrase entry attempts is reached.
ErrTooShort is returned if the passphrase entered for a new key is below the minimum length.