Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyPassword ¶
VerifyPassword checks whether the given password abides to the enforced password strength.
Types ¶
type Credentials ¶
Credentials stores and en-/decrypts credentials.
func (*Credentials) Get ¶
func (creds *Credentials) Get(passphrase string) (string, string, error)
Get decrypts and retrieves the stored credentials.
func (*Credentials) IsValid ¶
func (creds *Credentials) IsValid() bool
IsValid checks whether the credentials are valid.
Click to show internal directories.
Click to hide internal directories.