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

  • virr@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.

    • zazu@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      You can also configure pinentry-curses of pinentry-tty and use the same setup without X11 forwarding. This also works with neovim!