Documentation ¶
Overview ¶
Package keychain implements a native secure password store for each platform.
Index ¶
Constants ¶
View Source
const ( Pass = "pass-app" GnomeKeyring = "gnome-keyring" )
View Source
const Version = "k11"
Version is the keychain data version.
Variables ¶
View Source
var ( // ErrNoKeychain indicates that no suitable keychain implementation could be loaded. ErrNoKeychain = errors.New("no keychain") // nolint[noglobals] // Helpers holds all discovered keychain helpers. It is populated in init(). Helpers map[string]helperConstructor // nolint[noglobals] )
Functions ¶
This section is empty.
Types ¶
type Keychain ¶
type Keychain struct {
// contains filtered or unexported fields
}
func NewKeychain ¶
NewKeychain creates a new native keychain.
func NewMissingKeychain ¶
func NewMissingKeychain() *Keychain
NewMissingKeychain returns a new keychain that always returns an error.
Click to show internal directories.
Click to hide internal directories.