EtiennePerot / parcimonie.sh

Refresh your GnuPG keyring without disclosing your whole contact list to the world
Do What The F*ck You Want To Public License
225 stars 15 forks source link

GnuPG 2 dependencie #12

Open jelhan opened 9 years ago

jelhan commented 9 years ago

Readme says that GnuPG version 2 is a dependencie. I'm running parcimonie.sh with GnuPG 1.4.16 without facing any issues.

jelhan commented 9 years ago

Just recognized that gpg version 1.x is used as default on debian (including derivatives). There are different debian packages for GnuPG version 1 and 2 (gnupg and gnupg2). gnupg installs latest GnuPG 1.x version as /usr/sbin/gpg while gnupg2 uses /usr/sbin/gpg2 for GnuPG 2.x. update-alternatives isn't used. Since parcimonie.sh defines gpg as default alias for GnuPG binary it uses GnuPG 1 as default on debian.

EtiennePerot commented 9 years ago

Are you suggesting that parcimonie.sh should try to use /usr/sbin/gpg2 first if it exists? Should be doable.

jelhan commented 9 years ago

I'm not sure. Could also be done as configuration in a debian package, if one will be provided in future.

22decembre commented 9 years ago

/usr/bin/gpg pas sbin !