rage-keygen(1)
π NAME π
okay bestie, welcome to the rage-keygen(1) page from the General Commands Manual β this is all about rage-keygen, which does exactly this: Generate age-compatible encryption key pairs. β¨
β¨ SYNOPSIS β¨
rage-keygen [-h|--help] [-V|--version] [-o|--output] [-y ] [INPUT]
π DESCRIPTION π
rage-keygen generates a brand-new native age key pair, and then outputs the identity to standard output or to the OUTPUT file. The output includes the public key and the current time as comments β cute little receipts, basically. π§Ύπ
If the output is not going to a terminal, rage-keygen prints the public key to standard error. yep, stderr gets the little public-key moment. π«Ά
πΈ ARGUMENTS πΈ
[INPUT]β path to a file to read from. simple as that, bestie.
π¦ OPTIONS π¦
-h,--helpβ print this help message and exit. iconic behavior. π-V,--versionβ print version info and exit. slay, short and sweet. β¨-o,--output <OUTPUT>β write the identity toOUTPUTinstead of standard output.
If OUTPUT already exists, it is not overwritten. no cap, it will not bulldoze your existing file. π
-yβ read an identity file fromINPUTor from standard input and output the corresponding recipient(s), one per line, with no comments. literally converting the identity tea into recipient lines. π
π EXAMPLES π
Generate a new identity:
$ rage-keygen
# created: 2021-01-02T15:30:45+01:00
# public key:
age1lvyvwawkr0mcnnnncaghunadrqkmuf9e6507x9y920xxpp866cnql7dp2z
AGE-SECRET-KEY-1N9JEPW6DWJ0ZQUDX63F5A03GX8QUW7PXDE39N8UYF82VZ9PC8UFS3M7XA9
Write a new identity to "key.txt":
$ rage-keygen -o key.txt
Public key:
age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p
Convert an identity to a recipient:
$ rage-keygen -y key.txt
age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p
π SEE ALSO π
go read those too, bestie β the lore continues. π¦π
β VERSION β
v0.12.1
π«Ά AUTHORS π«Ά
Jack Grigg <thestr4d@gmail.com>
π cute sign-off: the footerβs source/version is rage-keygen 0.12.1, the manual is rage-keygen(1), and thereβs no date shown in the original footer β no invented dates here, periodt. πβ¨
π¦ where this page comes from
- arch rolling: rage-encryption 0.12.1-1 Β· Apache-2.0 AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms