A simple, modern and secure file encryption tool. See also:
age-keygenfor generating key pairs. More information: https://github.com/FiloSottile/age.
age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}
--recipient flag to specify multiple public keys):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}}