Simple File Encryption With age
Generate a key and encrypt or decrypt files with a modern format.
01Command
$ age-keygen -o key.txt02What it does
age is a small, composable encryption tool with a simple CLI and a modern file format, supporting recipient public keys, passphrases and SSH keys. It is often used for secrets in repositories and backups because the commands are easy to remember.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- ageEvidence: Debian packages age, a simple, modern file encryption tool.
- Debian package: ageEvidence: Debian packages age, a simple, modern file encryption tool.
Last verified: 2026-09-22 · Category: Security & Privacy
06Related solutions
rsync copies over SSH, skips unchanged files, resumes interrupted transfers, and preserves permissions and timestamps.
Generate a modern Ed25519 public/private key pair in ~/.ssh for authenticating to servers and Git platforms without passwords.
Add or remove read, write, and execute permission for the owner, group, or others using symbolic or octal modes.