package
Version:
v0.0.0-...-4718e07
Opens a new window with list of versions in this module.
Published: Jan 25, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetKeyChainPassphrase(conf KeyChainConf) (pass []byte, err error)
GetKeyChainPassphrase can only be used on darwin. Please see
keychain_mac.go for full details and working code.
type Conf struct {
MacKeychainEnabled bool
MacKeychainName string
MacKeychainAccount string
}
KeyChainConf holds the values required to search for a keychain entry
in the mac keychain.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.