Skip to content

Commit 2607d3b

Browse files
committed
Merge branch 'main' into awoie/add-cwt
2 parents 5019b8e + 1b1a63f commit 2607d3b

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

draft-ietf-oauth-status-list.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,10 @@ The following content applies to the JWT Header:
249249
The following content applies to the JWT Claims Set:
250250

251251
* `iss`: REQUIRED when also present in the Referenced Token. The `iss` (issuer) claim MUST specify a unique string identifier for the entity that issued the Status List Token. In the absence of an application profile specifying otherwise, compliant applications MUST compare issuer values using the Simple String Comparison method defined in Section 6.2.1 of {{RFC3986}}. The value MUST be equal to that of the `iss` claim contained within the Referenced Token.
252-
* `sub`: REQUIRED. The `sub` (subject) claim MUST specify a unique string identifier for that Status List Token. The value MUST be equal to that of the `uri` claim contained in the `status_list` claim of the Referenced Token.
252+
* `sub`: REQUIRED. The `sub` (subject) claim MUST specify a unique string identifier for the Status List Token. The value MUST be equal to that of the `uri` claim contained in the `status_list` claim of the Referenced Token.
253253
* `iat`: REQUIRED. The `iat` (issued at) claim MUST specify the time at which the Status List Token was issued.
254-
* `exp`: OPTIONAL. The `exp` (expiration time) claim MAY convey the time at which it is considered expired by its Issuer.
254+
* `exp`: OPTIONAL. The `exp` (expiration time) claim, if present, MUST specify the time at which the Status List Token is considered expired by its issuer.
255+
* `ttl`: OPTIONAL. The `ttl` (time to live) claim, if present, MUST specify the maximum amount of time, in seconds, that the Status List Token can be cached by a consumer before a fresh copy SHOULD be retrieved. The value of the claim MUST be a positive number.
255256
* `status_list`: REQUIRED. The `status_list` (status list) claim MUST specify the Status List conforming to the rules outlined in [](#status-list-json).
256257

257258
The following additional rules apply:
@@ -514,7 +515,11 @@ Resulting in the byte array and compressed/base64url encoded status list:
514515
TODO elaborate on risks of incorrect parsing/decoding leading to erroneous status data
515516

516517
## Cached and Stale status lists
517-
TODO consumers/Relying Party of the status list should be aware if they fetch the up-to-date data
518+
519+
When consumers or verifiers of the Status List fetch the data, they need to be aware of its up-to-date status. The 'ttl' (time-to-live) claim
520+
in the Status List Token provides one mechanism for setting a maximum cache time for the fetched data. This property permits distribution of
521+
a status list to a CDN or other distribution mechanism while giving guidance to consumers of the status list on how often they need to fetch
522+
a fresh copy of the status list even if that status list is not expired.
518523

519524
## Authorized access to the Status List {#security-authorization}
520525
TODO elaborate on authorization mechanisms preventing misuse and profiling as described in privacy section
@@ -581,7 +586,13 @@ IANA "JSON Web Token Claims" registry {{IANA.JWT}} established by {{RFC7519}}.
581586
* Change Controller: IETF
582587
* Specification Document(s): [](#status-list-token-jwt) of this specification
583588

584-
## JWT Status Mechanism Methods Registry {#jwt-iana-registry}
589+
* Claim Name: `ttl`
590+
* Claim Description: Time to Live
591+
* Change Controller: IETF
592+
* Specification Document(s): [](#status-list-token-jwt) of this specification
593+
594+
## JWT Status Mechanism Methods Registry {#iana-registry}
595+
585596

586597
This specification establishes the IANA "Status Mechanism Methods" registry for JWT "status" member values. The registry records the status mechanism method member and a reference to the specification that defines it.
587598

@@ -776,6 +787,7 @@ for their valuable contributions, discussions and feedback to this specification
776787

777788
-02
778789

790+
* add ttl claim to Status List Token to convey caching
779791
* relax requirements on referenced token
780792
* clarify Deflate / zlib compression
781793
* make a reference to the Issuer-Holder-Verifier model of SD-JWT VC

0 commit comments

Comments
 (0)