# Functions
ComputeDetachedSignature creates a detached signature of inFile and writes it to outFile using the given GPG key.
DecryptFile decrypts a gpg file.
DecryptFileAndCheckSignature decrypts a gpg file and checks the signature.
DecryptFileToByteSlice decrypts a gpg file and returns the data as byte slice.
EncryptAndSignFile encrypts and signs the given file using the given GPG keys and applies GZIP compression.
EncryptByteSliceToFile encrypts a byte slice and writes the data to a file.
EncryptFile encrypts the given file using the given GPG keys.
MakeEmptyKeySource returns a key source that does not describe a key.
MakeFileKeySource returns a file key source with passphrase.
MakeNamedKeySource returns a named key source with passphrase.
# Variables
AcceptFileKeySources determines whether file key sources are accepted.
AcceptNamedKeySources determines whether named key sources are accepted.
ErrDecryptKeyFailed occurs when a specified key was imported but could not be decrypted.
ErrGPG occurs on all cryptography related errors.
ErrImportKeyFailed occurs when a specified key could not be imported.
ErrKeySourceNotAccepted occurs on importing a disabled key source (See gpgutil.AcceptFileKeySources and gpgutil.AcceptNamedKeySources).
ErrMissingSignature occurs when a signature was expected but does not exist.
ErrNoKeySpecified occurs when a mandatory key is not specified.
ErrNoPrivateKey occurs when a public key is supplied, but a private key is expected.
ErrTechnicalProblem occurs on all errors not related to cryptography.
ErrWrongKey occurs when a wrong key is used for decrypting or signature checking.
ErrWrongSignature occurs when a signature does not verify the given message.
ErrWrongSignatureVerificationKey occurs when the key for signature verification does not match the signer.
GPGCommand can be used to override the command to execute gpg on this machine.