edit: I am not specifically tied to pgp, I just want an encryption method that uses a public key to decrypt and a private one to encrypt
edit: I am not specifically tied to pgp, I just want an encryption method that uses a public key to decrypt and a private one to encrypt
vim-gnupg. If gpg-agent is setup and you connect with ssh with X11 forwarding enableed, gpg will popup it’s passphrase entry box (even on WSL Windows 11 or Chrome OS). Easy and convenient if you have a pgp key.
You can also configure pinentry-curses of pinentry-tty and use the same setup without X11 forwarding. This also works with neovim!