2023-08-09 15:01:20 +01:00
|
|
|
# age-keygen
|
|
|
|
|
|
|
|
> Generate `age` key pairs.
|
2024-06-03 21:21:58 +01:00
|
|
|
> See also: `age` for encrypting/decrypting files.
|
2023-08-09 15:01:20 +01:00
|
|
|
> More information: <https://manned.org/age-keygen>.
|
|
|
|
|
2023-12-03 12:59:57 +00:00
|
|
|
- Generate a key pair, save it to an unencrypted file, and print the public key to `stdout`:
|
2023-08-09 15:01:20 +01:00
|
|
|
|
|
|
|
`age-keygen --output {{path/to/file}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Convert an identit[y] to a recipient and print the public key to `stdout`:
|
2023-08-09 15:01:20 +01:00
|
|
|
|
|
|
|
`age-keygen -y {{path/to/file}}`
|