twalrant / OutlookGnuPG

GnuPG addin for Outlook 2007
http://wiki.github.com/twalrant/OutlookGnuPG
GNU General Public License v3.0
18 stars 5 forks source link

Add support for GnuPG2/GPG2.exe #25

Closed blarb closed 14 years ago

blarb commented 14 years ago

I think you're using the starksoft GPG-wrapper as it was used in the original OutlookGnuPG. After a correspondence some weeks ago the wrapper (http://www.starksoft.com/prod_openpgp.html) has been updated to support gpg2.exe by its developer. Perhaps you could include the updated version in the project as there are some compilations like gpg4win (http://www.gpg4win.de) which are using GPG2 in the recent versions. I didn't look at the source of the new wrapper but i think it should be easy to update to the current version.

doegox commented 14 years ago

From what I could see, all gpg options currently used are also defined into gpg2 and the output looks also the same. This seems confirmed also by the gpg4win patch for winpt. So a priori it would be enough when looking for gpg.exe to first look for gpg2.exe and if not found in the provided directory, look for gpg.exe.

Note that it seems there is some confusion in the current code on gpg paths, see #22 which should be fixed first.

Some more insights after a first set of tests:

twalrant commented 14 years ago

Partially supported, plugin attempt to use gpg2.exe first than gpg.exe and LANG=C is set whenever gpg2.exe is used.