Documentation ¶
Index ¶
- func Export(root string, w io.Writer, email string) error
- func FindSecretEntity(root, id string) (*openpgp.Entity, error)
- func Import(root string, w io.Reader) error
- func ListKeys(root string, w io.Writer) error
- func NewKeyPair(root, name, email string) error
- func Remove(root string, id string) error
- func Sign(key *openpgp.Entity, in io.Reader, sig io.Writer) error
- func Verify(root string, file, sig io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindSecretEntity ¶
FindSecretEntity searches for id in the secret keyring.
func NewKeyPair ¶
NewKeyPair creates and adds a new OpenPGP keypair to an existing keyring.
func Remove ¶
Remove removes public key information for a given id.
It skips public keys that have matching secret keys, and does not effect private keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.