age

A simple, modern and secure file encryption tool. See age-keygen for how to generate key pairs. More information: https://github.com/FiloSottile/age.

age --passphrase --output path/to/encrypted_file path/to/unencrypted_file

age --recipient public_key --output path/to/encrypted_file path/to/unencrypted_file

age --recipients-file path/to/recipients_file --output path/to/encrypted_file path/to/unencrypted_file

age --decrypt --output path/to/decrypted_file path/to/encrypted_file

age --decrypt --identity path/to/private_key_file --output path/to/decrypted_file path/to/encrypted_file