2023-08-09 15:01:20 +01:00
|
|
|
# age-keygen
|
|
|
|
|
|
|
|
> Generate `age` key pairs.
|
|
|
|
> See `age` for how to encrypt/decrypt files.
|
|
|
|
> 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}}`
|