diff --git a/doc/age-keygen.1.html b/doc/age-keygen.1.html index 32e33bb8..39fe29ad 100644 --- a/doc/age-keygen.1.html +++ b/doc/age-keygen.1.html @@ -127,7 +127,7 @@
Filippo Valsorda age@filippo.io
+Filippo Valsorda age@filippo.io
a. A file listing IDENTITIES one per line.
Empty lines and lines starting with "#
" are ignored as comments.
b. An SSH private key file, in PKCS#1, PKCS#8, or OpenSSH format. +
b. A passphrase encrypted age file, containing + IDENTITIES one per line like above. + The passphrase is requested interactively. Note that passphrase-protected + identity files are not necessary for most use cases, where access to the + encrypted identity file implies access to the whole system.
+ +c. An SSH private key file, in PKCS#1, PKCS#8, or OpenSSH format. If the private key is password-protected, the password is requested interactively only if the SSH identity matches the file. See the SSH keys section for more information, including supported key types.
- c. "-
", causing one of the options above to be read from standard input.
+
d. "-
", causing one of the options above to be read from standard input.
In this case, the INPUT argument must be specified.
This option can be repeated. Identities are tried in the order in which @@ -276,6 +282,19 @@
Encrypt and decrypt with a passphrase-protected identity file:
+ +$ age-keygen | age -p > key.age
+Public key: age1yhm4gctwfmrpz87tdslm550wrx6m79y9f2hdzt0lndjnehwj0ukqrjpyx5
+Enter passphrase (leave empty to autogenerate a secure one):
+Using the autogenerated passphrase "hip-roast-boring-snake-mention-east-wasp-honey-input-actress".
+
+$ age -r age1yhm4gctwfmrpz87tdslm550wrx6m79y9f2hdzt0lndjnehwj0ukqrjpyx5 secrets.txt > secrets.txt.age
+
+$ age -d -i key.age secrets.txt.age > secrets.txt
+Enter passphrase for identity file "key.age":
+
+
Encrypt and decrypt with an SSH public key:
$ age -R ~/.ssh/id_ed25519.pub example.jpg > example.jpg.age
@@ -294,7 +313,7 @@ SEE ALSO
AUTHORS
-Filippo Valsorda age@filippo.io
+Filippo Valsorda age@filippo.io