Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskDoublePassword ¶
func AskDoublePassword() []byte
AskDoublePassword will ask for a password (and confirmation) on the commandline
func AskPassword ¶
func AskPassword() []byte
AskPassword will ask for a password (without confirmation) on the commandline
func FetchPassword ¶
FetchPassword tries to figure out the password of the given address. It can do so by checking keychains and such, or when all fails, ask it from the user.
Types ¶
type KeyChain ¶
type KeyChain struct{}
KeyChain is a structure that allows you to easily store or fetch passwords from a keychain or vault like system
func (*KeyChain) IsAvailable ¶
IsAvailable returns true when a keychain is available
Click to show internal directories.
Click to hide internal directories.