AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.22k stars 476 forks source link

Use gpg2 instead of old gpg1 #73

Closed ip1981 closed 8 years ago

ip1981 commented 8 years ago

Partially addresses https://github.com/AGWA/git-crypt/issues/65

mathieujobin commented 8 years ago

what when GPG3 comes out ?

on my system (archlinux), gpg is a symlink to gpg2

mathieujobin commented 8 years ago

I think it's a matter of time until the rename gpg2 back to gpg they must give some time for older systems to die or something

ip1981 commented 8 years ago

what when GPG3 comes out?

it definitely won't be called gpg ;-)

ip1981 commented 8 years ago

Oh, I was sure I was commenting https://github.com/NixOS/nixpkgs/pull/11749 :-D

ip1981 commented 8 years ago

GPG1 is still alive: GnuPG 1.4.19 released (2015-02-27) And we have been using GPG2 for almost a decade: GnuPG 2.0 released (2006-11-13 12:43:16)

¯\_(ツ)_/¯

smemsh commented 8 years ago

I think this only hardcodes a different name, although it's realistic, but a runtime way (one of env, rc, command line) maybe better.

this might be handled instead with a diversion in the package manager for distributions until it's accessible with a file or something the package installation script can create without having to modify the build (IMO)

gpg2 may eventually be called gpg, it's possible... maybe it's small / split up enough at some point to embed like gpg1 is still used for, removing the need.