# README
- gpg
Golang bindings to GnuPG.
-
TODO Functions
-
TODO Examples
# Functions
ClearSignData make clear signature.
ClearSignDataNoBatch make clear signature with interactive terminal.
ClearSignDataWithNoBatch make clear signature with provided gpgid and interactive terminal.
DecryptDataWithPass ...
DecryptFile in provided path return error.
DeleteKey Delete key from gpg db.
DetachSign return detached signature as bytes.Buffer.
DetachSignWithPass return detached signature as bytes.Buffer.
EncryptArmorData ...
EncryptArmorDataWithPassword ...
EncryptArmorFile in provided path return error.
EncryptArmorFileRecipientSelf in provided path return error.
EncryptData ...
EncryptFile in provided path return error.
EncryptFileRecipientSelf in provided path return error.
ExtractDataFromSigned extract data from clear signed data.
ExtractPubKey ...
GetSubkey Extract subkey info by secret key ID.
ImportPubkey ...
ListSecretKeys list secret keys from ~/.gnupg/.
RecvKeyFromSKS Recieve pubkey from SKS.
RecvKeyFromSKSAndSign Recieve pubkey from sks and sign it.
RecvKeyFromSKSAndSignWithPass Recieve pubkey from sks and sign it.
SendKeyToSKS send pubkey to remote keyserver.
ShowKey Get key from db.
SignData make gpg signature.
SignDataNoBatch make gpg signature with interactive terminal.
SignDataWithPass make gpg signature with provided password.
SignKey ...
SignKeyWithPassword ...
Verify signature.
VerifyFile runs gpg --verify /path/to/signature.asc.