The Go PGP library is very nice although if you are not using Go you would need to change language.
Indeed. And I assume it actually works, given that it's written by agl.
Thanks for the reference; Not using go, but it's still interesting.
Although, I realized it is unlikely I'll find a solution (golang or not) - because I actually need gpg to talk to my smart card.
I share the pain. I'm using the executable instead - works well enough as long as you don't need high throughput public key encryption (if you do, you're doing it wrong), and you don't need high throughput public key signatures (that's actually a reasonable use case).
Anyone know of an alternative to gnupg?