Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPassphrase ¶
Get passphrase from two possible sources:
- Check whether a passphrase file is exist. If it exists, read and return the file content (whitespace-trimmed).
- If the file is not exist, then resort back to manual prompt.
It won't check the correctness of the passphrase itself.
func IsFileExists ¶
func PromptPassphrase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.