Modern file encryption
low risk
Simple file encryption with public keys or passphrases.
| Flag | Meaning |
|---|---|
-r | Recipient public key |
-p | Passphrase mode |
-d | Decrypt |
-o | Output file |
age -r age1... -o secret.age secret.txtEncrypt for a recipient · explain & risk-check →age -d -i key.txt secret.ageDecrypt · explain & risk-check →Reference text is hand-written and may be incomplete — check man age for your version. Test destructive commands on a non-production system first.