Skip to content

Commit

Permalink
Switch the default version of GNU Privacy Guard back to 2.0.
Browse files Browse the repository at this point in the history
This patch effectively undoes @wkennington's update from 850da18. The problem
with GnuPG 2.1 is that its built-in 1.x compatibility differs from the one
provided in version 2.0, and these changes break 'gpg1compat in ways we don't
understand yet.

Commit 4c84621 attempted to remedy that issue by fixing gpg1compat to GPG 2.0,
but this caused further trouble because the GPG agent from versions 2.0 and 2.1
are incompatible, so users of the GPG 1.x interface (who were using GPG 2.0)
could not talk to their X session's agent (which comes from GPG 2.1).

The corresponding ticket is #4888.
  • Loading branch information
peti committed Nov 9, 2014
1 parent 57a8461 commit 3b96e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ let

gnupg1orig = callPackage ../tools/security/gnupg/1.nix { };

gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { gnupg = gnupg20; };
gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { };

# use config.packageOverrides if you prefer original gnupg1
gnupg1 = gnupg1compat;
Expand All @@ -1288,7 +1288,7 @@ let
libgcrypt = libgcrypt_1_6;
};

gnupg = gnupg21;
gnupg = gnupg20;

gnuplot = callPackage ../tools/graphics/gnuplot { };

Expand Down

0 comments on commit 3b96e0c

Please sign in to comment.