Hi all, While trying to run password-store on systems where gpg2 is not available (maemo 5, a server where where I don't have root access), I noticed that it works fine with gpg. AFAIK, gpg2 and gpg have the same features, but gpg2 is build in a more modular fashion. I've actually hacked the script to use gpg instead of gpg2 on those systems and it works fine.
While digging into the git history and the mailing list's archives, I found out that there used to be a GPG variable holding the name of the executable. This has then been replaced by a hardcoded "gpg2" in September 2012. I couldn't find any reason why this had been done so, and I find the idea of choosing the variant of gpg/gpg2 quite useful. Is there any particular reason why we couldn't have a GPG variable set to either gpg2 or gpg, depending on what is available on the system? Also, on the two systems listed above, gpg-agent is not available, which crashes gpg/gpg2 when using the --batch option. It would be useful to use --batch only if gpg-agent is available, and living with the extra messages output by gpg in that case. I can easily make a patch for these two cases, but before that I wanted to be sure there isn't any reason why it shouldn't be done. Matthieu -- (~._.~) Matthieu Weber - [email protected] (~._.~) ( ? ) http://weber.fi.eu.org/ ( ? ) ()- -() public key id : 452AE0AD ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Otto J. Bierbaum)" (_)-(_) _______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
