-
-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
902a3d4
commit c418992
Showing
2 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ It features small explicit keys, no config options, and UNIX-style composability | |
$ age-keygen -o key.txt | ||
Public key: age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p | ||
$ tar cvz ~/data | age -r age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p > data.tar.gz.age | ||
$ age -d -i key.txt data.tar.gz.age > data.tar.gz | ||
$ age --decrypt -i key.txt data.tar.gz.age > data.tar.gz | ||
``` | ||
|
||
The format specification is at [age-encryption.org/v1](https://age-encryption.org/v1). To discuss the spec or other age related topics, please email [the mailing list](https://groups.google.com/d/forum/age-dev) at [email protected]. age was designed by [@Benjojo12](https://twitter.com/Benjojo12) and [@FiloSottile](https://twitter.com/FiloSottile). | ||
|
@@ -21,9 +21,9 @@ An alternative interoperable Rust implementation is available at [github.com/str | |
|
||
``` | ||
Usage: | ||
age (-r RECIPIENT | -R PATH)... [-a] [-o OUTPUT] [INPUT] | ||
age --passphrase [-a] [-o OUTPUT] [INPUT] | ||
age --decrypt [-i KEY]... [-o OUTPUT] [INPUT] | ||
age (-r RECIPIENT | -R PATH)... [--armor] [-o OUTPUT] [INPUT] | ||
age --passphrase [--armor] [-o OUTPUT] [INPUT] | ||
age --decrypt [-i PATH]... [-o OUTPUT] [INPUT] | ||
Options: | ||
-o, --output OUTPUT Write the result to the file at path OUTPUT. | ||
|
@@ -32,21 +32,21 @@ Options: | |
-r, --recipient RECIPIENT Encrypt to the specified RECIPIENT. Can be repeated. | ||
-R, --recipients-file PATH Encrypt to recipients listed at PATH. Can be repeated. | ||
-d, --decrypt Decrypt the input to the output. | ||
-i, --identity KEY Use the private key file at path KEY. Can be repeated. | ||
-i, --identity PATH Use the identity file at PATH. Can be repeated. | ||
INPUT defaults to standard input, and OUTPUT defaults to standard output. | ||
RECIPIENT can be an age public key, as generated by age-keygen, ("age1...") | ||
RECIPIENT can be an age public key generated by age-keygen ("age1...") | ||
or an SSH public key ("ssh-ed25519 AAAA...", "ssh-rsa AAAA..."). | ||
Recipient files contain one or more recipients, one per line. Empty lines | ||
and lines starting with "#" are ignored as comments. "-" may be used to | ||
read recipients from standard input. | ||
KEY is a path to a file with age secret keys, one per line (ignoring "#" | ||
prefixed comments and empty lines), or to an SSH key file. Multiple keys | ||
can be provided, and any unused ones will be ignored. "-" may be used to | ||
read keys from standard input. | ||
Identity files contain one or more secret keys ("AGE-SECRET-KEY-1..."), | ||
one per line, or an SSH key. Empty lines and lines starting with "#" are | ||
ignored as comments. Multiple key files can be provided, and any unused ones | ||
will be ignored. "-" may be used to read identities from standard input. | ||
``` | ||
|
||
### Multiple recipients | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters