Documentation
¶
Overview ¶
Package readpassword reads a password from the terminal of from stdin.
Index ¶
Constants ¶
View Source
const ( // TrezorPayloadLen is the length of the payload data passed to Trezor's // CipherKeyValue function. TrezorPayloadLen = 32 // TrezorSupport is true when gocryptfs has been compile with -tags enable_trezor TrezorSupport = false )
Variables ¶
This section is empty.
Functions ¶
func Once ¶
Once tries to get a password from the user, either from the terminal, extpass or stdin. Leave "prompt" empty to use the default "Password: " prompt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.