Documentation
¶
Index ¶
- func GenerateMasterKey() ([]byte, error)
- func LastIndex(data []byte, b byte) int
- func LoadMasterKey(filename string) ([]byte, error)
- func RemoveCredential(filename string, host string, key []byte) error
- func RevealCredentialPassword(filename string, host string, key []byte) (string, error)
- func SaveMasterKey(filename string, key []byte) error
- func UpsertCredential(filename string, host, hostname, user, port string, password string, ...) error
- type Credentials
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMasterKey ¶
func LoadMasterKey ¶
func RemoveCredential ¶ added in v0.3.1
func RevealCredentialPassword ¶ added in v0.4.0
func SaveMasterKey ¶
Types ¶
type Credentials ¶
func LoadCredentials ¶
func LoadCredentials(filename string, key []byte) (Credentials, error)
Click to show internal directories.
Click to hide internal directories.