age-keygen: add page; age: update page (#10424)

* age-keygen: add page; age: update page

* age: remove `_` before numbers in placeholders

* age: update `--recipient` example
This commit is contained in:
Lena
2023-08-09 16:01:20 +02:00
committed by GitHub
parent 8e35a06ba8
commit c48bddf76c
2 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
# 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 identity to a recipient and print the public key to `stdout`:
`age-keygen -y {{path/to/file}}`