What are the best linux utilities for only decrypting and encrypting pgp?

wtry@lemm.ee to Linux@lemmy.ml – 24 points –

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

9

Is "PGP" part of the requirement, or are you looking for an asymmetric encryption scheme for files? If you are not tied to PGP, you could look at age, which is a bit more modern and less complex. Lower complexity is always good.

I've now been using age for a bit on opensuse and I recommend it, seems really secure and is a lot simpler.

Nice to hear. Thanks for the feedback 🙂

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!