Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ReadPassphrase ¶ added in v0.6.0
ReadPassphrase reads a passphrase from the controlling terminal without echo. When confirm is true it prompts a second time and verifies the two inputs match (used when setting a new passphrase).
func ReadPassphraseOptional ¶ added in v0.6.0
ReadPassphraseOptional reads a passphrase without echo. Empty input is returned as "" without error (caller treats as "skip"). Use for optional backup-passphrase prompts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.