summary refs log tree commit diff
path: root/pkgs/tools/security/gnupg
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2018-10-27 16:03:13 +0200
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-16 20:31:16 -0400
commit3d832dee59ed0338db4afb83b4c481a062163771 (patch)
tree804a43fe762e94bc3c6e421e1fee9816f2d907fc /pkgs/tools/security/gnupg
parentc2576266baaf02be2d4da39cf25ed48044b6245e (diff)
downloadnixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar.gz
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar.bz2
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar.lz
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar.xz
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.tar.zst
nixpkgs-3d832dee59ed0338db4afb83b4c481a062163771.zip
gnupg: disable gui/pinentry support by default
This solves the dependency cycle in gcr alternatively so there won't be
two gnupg store paths in a standard NixOS system which has udisks2 enabled
by default.

NixOS users are expected to use the gpg-agent user service to pull in the
appropriate pinentry flavour or install it on their systemPackages and set
it in their local gnupg agent config instead.

Co-authored-by: Florian Klink <flokli@flokli.de>
Diffstat (limited to 'pkgs/tools/security/gnupg')
-rw-r--r--pkgs/tools/security/gnupg/20.nix2
-rw-r--r--pkgs/tools/security/gnupg/22.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/gnupg/20.nix b/pkgs/tools/security/gnupg/20.nix
index 6336d319997..ef348e38834 100644
--- a/pkgs/tools/security/gnupg/20.nix
+++ b/pkgs/tools/security/gnupg/20.nix
@@ -3,7 +3,7 @@
 
 # Each of the dependencies below are optional.
 # Gnupg can be built without them at the cost of reduced functionality.
-, pinentry ? null, guiSupport ? true
+, pinentry ? null, guiSupport ? false
 , openldap ? null, bzip2 ? null, libusb ? null, curl ? null
 }:
 
diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix
index e2f460e7e30..f62f10c8cf9 100644
--- a/pkgs/tools/security/gnupg/22.nix
+++ b/pkgs/tools/security/gnupg/22.nix
@@ -4,7 +4,7 @@
 
 # Each of the dependencies below are optional.
 # Gnupg can be built without them at the cost of reduced functionality.
-, pinentry ? null, guiSupport ? true
+, pinentry ? null, guiSupport ? false
 , adns ? null, gnutls ? null, libusb ? null, openldap ? null
 , readline ? null, zlib ? null, bzip2 ? null
 }: