Introduction
An age file is a file encrypted in the age format, specified at C2SP for the age encryption
tool and compatible programs. The file key is wrapped for one or more recipients, and only a holder of a
matching identity can decrypt the contents. The .age extension is optional.
Structure
The header is text. Its first line is age-encryption.org/v1; then come one or more recipient
stanzas, each starting ->, and a line starting --- with an HMAC of the header.
The binary payload begins with a 16-byte nonce and continues in chunks of 64 KiB, each encrypted with
ChaCha20-Poly1305. A file may also be armoured as PEM-style text with the label
AGE ENCRYPTED FILE.
Not described
Known, not yet covered
- Reference: the layout of the format is not yet described here: the recipient stanza types, the key derivation and the armour rules are in the C2SP specification.
- Viewer: the site has no viewer for this format.
Links
Software
- age – command line file encryption tool
Reference
- The age file format – C2SP specification