mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Use GTK pinentry for desktop GPG prompts
This commit is contained in:
@@ -16,6 +16,8 @@ desktop_common_packages:
|
||||
- dunst
|
||||
- emptty
|
||||
- network-manager-applet
|
||||
- pinentry-emacs
|
||||
- pinentry-gtk
|
||||
- rofi
|
||||
- udiskie
|
||||
- xfce-polkit
|
||||
|
||||
4
dotfiles/desktop/.bashrc.d/10-gpg-tty.sh
Normal file
4
dotfiles/desktop/.bashrc.d/10-gpg-tty.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
if tty -s; then
|
||||
export GPG_TTY="$(tty)"
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
|
||||
fi
|
||||
@@ -1,3 +1,4 @@
|
||||
pinentry-program /usr/bin/pinentry-gtk-2
|
||||
enable-ssh-support
|
||||
default-cache-ttl 600
|
||||
max-cache-ttl 7200
|
||||
max-cache-ttl 7200
|
||||
|
||||
Reference in New Issue
Block a user