From e6d3579a105b078d85d6f289c7735d29f29cabb8 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 16 May 2019 17:24:58 +0200 Subject: Use new pinentry script to select if this need GUI or TUI By default is TUI but if a programm need a GUI for acces gpg keys just add PINENTRY_USER_DATA="gtk" before start it. --- gnupg/.gnupg/gpg-agent.conf | 2 ++ gnupg/.gnupg/gpg.conf | 1 + 2 files changed, 3 insertions(+) create mode 100644 gnupg/.gnupg/gpg-agent.conf create mode 100644 gnupg/.gnupg/gpg.conf (limited to 'gnupg') diff --git a/gnupg/.gnupg/gpg-agent.conf b/gnupg/.gnupg/gpg-agent.conf new file mode 100644 index 0000000..83b82fb --- /dev/null +++ b/gnupg/.gnupg/gpg-agent.conf @@ -0,0 +1,2 @@ +pinentry-program /home/neodarz/.scripts/my-pinentry +allow-loopback-pinentry diff --git a/gnupg/.gnupg/gpg.conf b/gnupg/.gnupg/gpg.conf new file mode 100644 index 0000000..d8017a9 --- /dev/null +++ b/gnupg/.gnupg/gpg.conf @@ -0,0 +1 @@ +pinentry-mode default -- cgit v1.2.1