parcimonie.sh icon indicating copy to clipboard operation
parcimonie.sh copied to clipboard

GnuPG 2 dependencie

Open jelhan opened this issue 9 years ago • 4 comments

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

jelhan avatar Mar 11 '15 13:03 jelhan

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.

jelhan avatar Mar 30 '15 15:03 jelhan

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

EtiennePerot avatar Mar 31 '15 01:03 EtiennePerot

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

jelhan avatar Mar 31 '15 08:03 jelhan

/usr/bin/gpg pas sbin !

22decembre avatar Jun 14 '15 18:06 22decembre