Go wrapper for the GPGME library.
This is a fork from github.com/proglottis/gpgme.
This fork implements more GPGME functions and code documentation.
go get -u github.com/kulbartsch/gpgme
If you have an updated GPGME version installed in a non-standard
location, you may need to tell the Go compiler where to find the
corrsesponding pkgconfig file.
For example, if GPGME is installed under /usr/local, you can build
your Go program using:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH \
go buildIf you have trouble building the package maybe try to clean the Go build caches:
go clean -cache
and/or
rm -rf ~/.cache/go-build
GPGME V2 supports the use of GnuPGs secure and certified random number generator.
To build with GPGME V2 support, use the following command:
go build -tags gpgme2
- golang.org/x/crypto/openpgp - deprecated
- github.com/ProtonMail/go-crypto/openpgp - active fork of the previous
This project is licensed under the BSD 3-Clause License. See the LICENSE