keyring

package
v0.0.15-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 6 Imported by: 0

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)

func Name

func Name(kr Keyring) string

Types

type Keyring

type Keyring interface {
	keyringlib.Keyring
}

func NewDefault

func NewDefault() (Keyring, error)

func NewMemory

func NewMemory() Keyring

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL