tmux-pinentry/README.md

16 lines
517 B
Markdown
Raw Normal View History

2025-07-19 19:06:52 +02:00
# 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
2025-08-28 09:26:00 +02:00
4. for the script to detect that its running inside of TMUX, add this to your TMUX config:
```sh
PINENTRY_USER_DATA="tmux"
```
2025-07-19 19:06:52 +02:00