WSL-Programs
WSL-Programs copied to clipboard
gpg
I have found that with gpg 2.2.4, creating a new key and deleting a key works but signing does not. See https://github.com/microsoft/WSL/issues/4029 for signing issue.
Signing also works but if you have a passphrase on your key, you need to tell gpg to use the active tty or signing will fail.
# enable passphrase prompt for gpg
export GPG_TTY=$(tty)
You can add the above snippet to your .bashrc.