gotp icon indicating copy to clipboard operation
gotp copied to clipboard

Should this tool be directly executing gpg/gpg2?

Open euank opened this issue 7 years ago • 1 comments

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.

euank avatar Feb 28 '18 23:02 euank

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.

tschuy avatar Mar 01 '18 22:03 tschuy