gotp
gotp copied to clipboard
Should this tool be directly executing gpg/gpg2?
This tool seems to have trouble with both gpg2 and with gpg-agent currently.
I would like to argue that the pragmatic solution to those problems is to simply execute the gpg/gpg2 binaries the user has on their system already.
A number of other go tools that interact with gpg, such as the keybase client, seem to just use gpg directly. Other non-go tools also make this choice, such as pass.
I've had a lot of trouble getting the gpgagent and openpgp libraries to work nicely. Didn't realize no one else used them, might explain it :stuck_out_tongue:
This should fix various other issues, like #2, #8, and #7. If I have some free time soon I'll try to get started on this.