mirror of
https://gitlab.com/TECHNOFAB/tmux-pinentry.git
synced 2025-12-12 02:00:17 +01:00
15 lines
517 B
Markdown
15 lines
517 B
Markdown
# GPG Pinentry inside TMUX
|
||
|
||
See it in action:
|
||
[](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"
|
||
```
|
||
|