Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 5f53dea

Browse files
committed
Specify how cacheSignature is encoded
1 parent 8761989 commit 5f53dea

File tree

1 file changed

+6
-6
lines changed
  • docs/Protocol Specifications

1 file changed

+6
-6
lines changed

docs/Protocol Specifications/core.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,12 +1619,12 @@ This kind of attack mentioned above has been considered and mitigated in polypro
16191619
is achieved through API behaviors enabling the fetching of actor ID-Certs with additional information
16201620
attached to the response body. The additional information is structured as follows:
16211621

1622-
| Field name | JSON type | Actual type (if different from JSON type) | Description |
1623-
| --------------------- | --------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1624-
| `cacheValidNotBefore` | String | Unsigned 64-bit integer | UNIX timestamp that specifies the time from which this cache entry may be treated as valid. |
1625-
| `cacheValidNotAfter` | String | Unsigned 64-bit integer | UNIX timestamp that specifies a time until which this cache entry may be treated as valid. |
1626-
| `cacheSignature` | String | - | Signature generated by the home server. This signature can be verified using the home servers' public identity key. |
1627-
| `invalidatedAt` | String? | Unsigned 64-bit integer | If present, represents a UNIX timestamp at which the certificate was [invalidated](#614-early-revocation-of-id-certs) on. Certificate was not prematurely invalidated if not present. |
1622+
| Field name | JSON type | Actual type (if different from JSON type) | Description |
1623+
| --------------------- | --------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1624+
| `cacheValidNotBefore` | String | Unsigned 64-bit integer | UNIX timestamp that specifies the time from which this cache entry may be treated as valid. |
1625+
| `cacheValidNotAfter` | String | Unsigned 64-bit integer | UNIX timestamp that specifies a time until which this cache entry may be treated as valid. |
1626+
| `cacheSignature` | String | - | Signature generated by the home server. This signature can be verified using the home servers' public identity key. Signature bytes, encoded in [Hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) (base-16). |
1627+
| `invalidatedAt` | String? | Unsigned 64-bit integer | If present, represents a UNIX timestamp at which the certificate was [invalidated](#614-early-revocation-of-id-certs) on. Certificate was not prematurely invalidated if not present. |
16281628

16291629
A server generates the `cacheSignature` by concatenating the serial number of the ID-Cert in
16301630
question with the `cacheValidNotBefore` timestamp, the `cacheValidNotAfter` timestamp, and the `invalidatedAt`

0 commit comments

Comments
 (0)