From 4eeb37ba42c9a5e44cb51f7a5253f66442860b87 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 11 Sep 2023 14:24:28 +0200 Subject: [PATCH] doc --- modules/nitrokey-gpg-smartcard.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/nitrokey-gpg-smartcard.nix b/modules/nitrokey-gpg-smartcard.nix index 6d6f9dd..858af20 100644 --- a/modules/nitrokey-gpg-smartcard.nix +++ b/modules/nitrokey-gpg-smartcard.nix @@ -18,7 +18,10 @@ # Restart gpg-agent after config change. # Otherwise there might be a gpg error about "no pinentry". # https://discourse.nixos.org/t/cant-get-gnupg-to-work-no-pinentry/15373/19 - # But how to restart it? Maybe this? + # + # But how to restart it? + # https://superuser.com/a/1150399 + # gpgconf --kill gpg-agent # killall gpg-agent # systemctl --user restart gpg-agent @@ -27,6 +30,8 @@ # TODO: gpg-agent pinentry problem # https://github.com/NixOS/nixpkgs/issues/97861 + # TODO: Maybe GNOME is overriding the SSH agent socket that is set elswhere by NixOS? + # https://wiki.archlinux.org/title/GnuPG#GNOME_on_Wayland_overrides_SSH_agent_socket # # gpgconf --check-programs #=> gpgconf: error running '/nix/store/lvsbmqy4dmlri22145hbr6799hgbnpnf-gnupg-2.4.0/bin/pinentry': probably not installed