aboutsummaryrefslogtreecommitdiff
path: root/gnupg
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-05-16 17:24:58 +0200
committerneodarz <neodarz@neodarz.net>2019-05-16 17:24:58 +0200
commite6d3579a105b078d85d6f289c7735d29f29cabb8 (patch)
tree594a617cdaa2d3e9dfd382ff887e5eb7d2746659 /gnupg
parent469e62e70891a37ec4016fcd025f979859074ef7 (diff)
downloaddotfiles_ascii-e6d3579a105b078d85d6f289c7735d29f29cabb8.tar.xz
dotfiles_ascii-e6d3579a105b078d85d6f289c7735d29f29cabb8.zip
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.
Diffstat (limited to 'gnupg')
-rw-r--r--gnupg/.gnupg/gpg-agent.conf2
-rw-r--r--gnupg/.gnupg/gpg.conf1
2 files changed, 3 insertions, 0 deletions
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