It would be nice if we could get rid of our external dependencies some day.
This would allow for a nicer workflow, better error and cross platform support.
This issue is meant to track any progress / discussions on that matter for gpg.
I did exactly this in my own password management lib but now I am in dead end since golang openpgp does not support modern version of gnupg version above 2.1.
For Gitea we use https://github.com/keybase/go-crypto/tree/master/openpgp as a drop-in replacement for x/crypto/openpgp since we wanted support for new and shiny keys 馃檪
@bkcsoft do you have an example on how to make it work with gpg agent ?
Since no one has responded to my ticket : https://github.com/keybase/go-crypto/issues/56
I am not yet sure how to implement this.
It would still be an external dependency, but it's much more of a lightweight dependency:
https://github.com/tarsnap/scrypt
Most helpful comment
For Gitea we use https://github.com/keybase/go-crypto/tree/master/openpgp as a drop-in replacement for
x/crypto/openpgpsince we wanted support for new and shiny keys 馃檪