diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-11 12:58:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-11 12:58:22 -0400 |
commit | d611d8ab60e7a8a5fdc051fc70ecb69042cb1da7 (patch) | |
tree | 76eee4e6d895c80ca0dec6f93290b859e03a7beb /proposals/220-ecc-id-keys.txt | |
parent | 2180422f4a1fd51ea25fa3822c830581f7a56c43 (diff) | |
download | torspec-d611d8ab60e7a8a5fdc051fc70ecb69042cb1da7.tar.gz torspec-d611d8ab60e7a8a5fdc051fc70ecb69042cb1da7.zip |
Tweak proposals 220 and 224 to make them work with trunnel
Diffstat (limited to 'proposals/220-ecc-id-keys.txt')
-rw-r--r-- | proposals/220-ecc-id-keys.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/proposals/220-ecc-id-keys.txt b/proposals/220-ecc-id-keys.txt index d4ed4e8..95ed4dd 100644 --- a/proposals/220-ecc-id-keys.txt +++ b/proposals/220-ecc-id-keys.txt @@ -75,7 +75,7 @@ Status: Draft VERSION [1 Byte] CERT_TYPE [1 Byte] - EXPIRATION_DATE [3 Bytes] + EXPIRATION_DATE [4 Bytes] CERT_KEY_TYPE [1 byte] CERTIFIED_KEY [32 Bytes] N_EXTENSIONS [1 byte] @@ -88,8 +88,8 @@ Status: Draft CERT_KEY_TYPE is [01], or a SHA256 hash of some other key type depending on the value of CERT_KEY_TYPE. The EXPIRATION_DATE is a date, given in HOURS since the epoch, after which this - certificate isn't valid. (A three-byte field here will work fine - until 5797 A.D.) + certificate isn't valid. (A four-byte field here will work fine + until 10136 A.D.) The EXTENSIONS field contains zero or more extensions, each of the format: @@ -142,8 +142,9 @@ Status: Draft IDENTITY_KEY [32 Bytes] REVOKED_KEY [32 Bytes] PUBLISHED [8 Bytes] - REV_EXTENSIONS [variable length, up to length of revocation - document minus 64 bytes] + N_EXTENSIONS [1 Byte] + N_EXTENSIONS_TIMES: + EXTENSIONS [N_EXTENSIONS times] SIGNATURE [64 Bytes] FIXED_PREFIX is "REVOKEID" or "REVOKESK". VERSION is [01]. KEYTYPE is |