diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-08-04 13:28:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-08-04 13:28:51 -0400 |
commit | 04926126ee7fd9bbaefe5890d238fd8156124a5b (patch) | |
tree | fe3aa4802c3935fcbe2330ed4d51785dddb3ae37 /doc | |
parent | e069b0af4b5d5825a23f3bf6a601cc4738599be6 (diff) | |
parent | ccdd0d801ae952d4c8219eea9acdd3acfd438924 (diff) | |
download | tor-04926126ee7fd9bbaefe5890d238fd8156124a5b.tar.gz tor-04926126ee7fd9bbaefe5890d238fd8156124a5b.zip |
Merge remote-tracking branch 'tor-gitlab/mr/100'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/tor.1.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt index edb8593142..6e504c8a82 100644 --- a/doc/man/tor.1.txt +++ b/doc/man/tor.1.txt @@ -174,16 +174,22 @@ The following options in this section are only recognized on the If the file descriptor is not specified, the passphrase is read from the terminal by default. -[[opt-key-expiration]] **`--key-expiration`** [__purpose__]:: +[[opt-key-expiration]] **`--key-expiration`** [__purpose__] [**`--format`** **`iso8601`**|**`timestamp`**]:: The __purpose__ specifies which type of key certificate to determine the expiration of. The only currently recognised __purpose__ is "sign". + + Running **`tor --key-expiration sign`** will attempt to find your signing key certificate and will output, both in the logs as well - as to stdout, the signing key certificate's expiration time in - ISO-8601 format. For example, the output sent to stdout will be - of the form: "signing-cert-expiry: 2017-07-25 08:30:15 UTC" + as to stdout. The optional **`--format`** argument lets you specify + the time format. Currently, **`iso8601`** and **`timestamp`** are + supported. If **`--format`** is not specified, the signing key + certificate's expiration time will be in ISO-8601 format. For example, + the output sent to stdout will be of the form: + "signing-cert-expiry: 2017-07-25 08:30:15 UTC". If **`--format`** **`timestamp`** + is specified, the signing key certificate's expiration time will be in + Unix timestamp format. For example, the output sent to stdout will be of the form: + "signing-cert-expiry: 1500971415". [[opt-dbg]] **--dbg-**...:: Tor may support other options beginning with the string "dbg". These |