From 457b1f5151bacb7379edcf9028aa6f6f5df02f9b Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:45:26 +0300 Subject: [PATCH] Enable pinentry input in TTYs --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 085c6ea..1bf1305 100644 --- a/.bashrc +++ b/.bashrc @@ -119,3 +119,6 @@ fi # Hook up direnv eval "$(direnv hook bash)" . "$HOME/.cargo/env" + +# Tell GPG in where to open the pinentry dialog +export GPG_TTY="$(tty)"