Skip to main content

Age Private Key

Description​

General​

  • Documentation: https://github.com/FiloSottile/age
  • Summary: age is a simple and modern file encryption tool and format, commonly used with SOPS to encrypt secrets stored in Git repositories and Kubernetes (Flux) manifests. An age private key (identity) decrypts every file encrypted to its matching public key (recipient).

Revoke the secret​

An age private key cannot be revoked, it must be rotated. Generate a new key pair with age-keygen -o key.txt, re-encrypt every file that was encrypted to the leaked key's recipient (for SOPS, replace the old age1... recipient with the new one in .sops.yaml and run sops updatekeys on each file), then remove the old public key from every recipient list. Any file encrypted to the leaked key before rotation must be considered disclosed.

Details for Age Private Key​

  • Family: cryptographic_key

  • Category: private_key

  • High recall: True

  • Validity check available: False

  • Analyzer available: False

  • Revoker available: False

  • Occurrences found for one million commits: 1.6

  • Prefixed: True