Documentation ¶
Index ¶
- func GetCombinedKeyRing() openpgp.KeyRing
- func GetPrivateKeyByEmail(email string) *openpgp.Entity
- func GetPublicKeyByEmail(email string) *openpgp.Entity
- func LoadPrivateRing(path string) error
- func LoadPublicRing(path string) error
- func PrintPGPDebugInformation()
- func PromptFunc(keys []openpgp.Key, symmetric bool) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCombinedKeyRing ¶
GetCombinedKeyRing will return both the public and secret key rings combined
func GetPrivateKeyByEmail ¶
GetPrivateKeyByEmail will return the key from the secret PGP ring (if available) matching the provided email address.
func GetPublicKeyByEmail ¶
GetPublicKeyByEmail will return the key from the pubpoic PGP ring (if available) matching the provided email address.
func LoadPrivateRing ¶
LoadPrivateRing will open and parse the PGP keyring from the file path provided.
func LoadPublicRing ¶
LoadPublicRing will open and parse the PGP keyring from the file path provided.
func PrintPGPDebugInformation ¶
func PrintPGPDebugInformation()
PrintPGPDebugInformation will output a debug log entry listing the keys it has read in from each keyring.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.