# GPG Pinentry inside TMUX See it in action: [![asciicast](https://asciinema.org/a/UE29nOhgOVwjESVIoj1ftFqWt.svg)](https://asciinema.org/a/UE29nOhgOVwjESVIoj1ftFqWt) ## Installation 1. add your fallback pinentry to `pinentry-tmux.sh` 2. put the shell script in your path, eg. `~/.local/bin/pinentry-tmux` (without `.sh`) 3. configure gpg to use `pinentry-tmux` for pinentry 4. for the script to detect that it’s running inside of TMUX, add this to your TMUX config: ```sh PINENTRY_USER_DATA="tmux" ```