rnp

High-performance C++ OpenPGP library and tools for encryption

brewmacoslinux
Try with needOr install directly
Source

About

High performance C++ OpenPGP library used by Mozilla Thunderbird

Commands

rnprnpkeys

Examples

Generate a new RSA keypair$ rnpkeys --generate-key --userid 'John Doe <john@example.com>' --rsa 4096
Encrypt a file with a recipient's public key$ rnp --encrypt --recipient 'john@example.com' --output encrypted.gpg file.txt
Decrypt an encrypted file$ rnp --decrypt --output decrypted.txt encrypted.gpg