Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = keyringlib.ErrKeyNotFound
View Source
var KeyringPrettyNames = map[string]string{
"*keyring.keychain": "macOS Keychain Access",
"*keyring.kwalletKeyring": "KWallet (KDE Wallet Manager)",
"*keyring.windowsKeyring": "Windows Credential Manager",
"*keyring.secretsKeyring": "libsecret",
"*keyring.passKeyring": "pass",
}
Functions ¶
func FindOrCreatePrivateKey ¶
func FindOrCreatePrivateKey(kr Keyring) (key *ecdsa.PrivateKey, isNew bool, err error)
func FindPrivateKey ¶
func FindPrivateKey(kr Keyring) (key *ecdsa.PrivateKey, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.