diablodale / pinentry-wsl-ps1

GUI for GPG within Windows WSL for passwords, pinentry, etc.
Mozilla Public License 2.0
93 stars 9 forks source link

propose exporting $PINENTRY_BINARY #9

Open Konfekt opened 3 years ago

Konfekt commented 3 years ago

This is an alternative to setting GPG's pinentry-program where available.

Allows for a ~/.profile that works on Linux and WSL by

[ -z ${WSLENV+x} ] || export PINENTRY_BINARY="$HOME/bin/pinentry-wsl-ps1.sh"