1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 08:55:34 +02:00
tldr/pages/common/age-keygen.md
Vitor Henrique 814e511bae
pages*: add missing mnemonics (part 1) (#12143)
* pages*: add missing mnemonics

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-09 20:04:08 +05:30

387 B

age-keygen

Generate age key pairs. See age for how to encrypt/decrypt files. More information: https://manned.org/age-keygen.

  • Generate a key pair, save it to an unencrypted file, and print the public key to stdout:

age-keygen --output {{path/to/file}}

  • Convert an identit[y] to a recipient and print the public key to stdout:

age-keygen -y {{path/to/file}}