talira

A simple, modern and secure file encryption tool, format, and Go library

open sourceBSD-3-Clauseself-hostablefree

age is a file encryption tool, file format and Go library with small explicit keys, no config options and UNIX-style composability: age-keygen makes a key pair, age -r encrypts to one or more recipients, and age -d decrypts. It can encrypt with a passphrase, to SSH ed25519 and RSA public keys (so to a GitHub user's keys), and since v1.3.0 to hybrid post-quantum keys; plugins add hardware tokens such as YubiKeys, and age-inspect shows a file's metadata without decrypting it. The format is specified at age-encryption.org/v1, with interoperable Rust (rage) and TypeScript (typage) implementations. Designed by Filippo Valsorda (@FiloSottile) and @benjojo; BSD-3-Clause.

Ways to install

Problems it solves

  • encrypt a file for a colleague without setting up GPG keyrings and trust
  • encrypt a backup tarball in a shell pipeline before uploading it
  • encrypt a file so several people can each decrypt it with their own key
  • encrypt a secret for someone using the SSH public key they already have on GitHub
  • protect a file with a passphrase from the command line
  • use encryption that stays safe against future quantum computers for long-lived files
  • decrypt files with a key stored on my YubiKey
  • add simple file encryption with small keys to my Go program

Features

  • small explicit keys (age1...)
  • multiple recipients and recipient files
  • passphrase encryption with autogenerated passphrases
  • encrypt to ssh-ed25519 and ssh-rsa public keys
  • hybrid post-quantum keys (age-keygen -pq)
  • plugins such as age-plugin-yubikey
  • age-inspect for file metadata
  • ASCII armor (PEM) output
  • Go library
  • documented format specification

Limitations

  • Doesn't decrypt with keys held in ssh-agent: SSH private keys must be given as files5

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what age does.

  1. GnuPG The GNU Privacy Guard: a free, complete implementation of OpenPGP for encrypting and signing data
  2. SOPS Simple and flexible tool for managing secrets
  3. git-crypt Transparent file encryption in git
  4. Cryptomator Client-side encryption for your cloud storage

Compare age with the top 3