Skip to content

Commit 5c76164

Browse files
committed
Merge branch 'main' into c2bo/cwt-referencedtoken
2 parents 2672b07 + e200685 commit 5c76164

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.github/workflows/archive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: "Checkout"
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
# Note: No caching for this build!
2424

.github/workflows/ghpages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: "Checkout"
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: "Setup"
2626
id: setup
@@ -34,7 +34,7 @@ jobs:
3434
python3 src/main.py
3535
3636
- name: "Caching"
37-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3838
with:
3939
path: |
4040
.refcache

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: "Checkout"
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
# See https://github.com/actions/checkout/issues/290
1717
- name: "Get Tag Annotations"
@@ -29,7 +29,7 @@ jobs:
2929
python3 src/main.py
3030
3131
- name: "Caching"
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: |
3535
.refcache

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: "Checkout"
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828

2929
- name: "Update Generated Files"
3030
uses: martinthomson/i-d-template@v1

draft-ietf-oauth-status-list.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The status list token data structures themselves are also represented as JWTs or
8282

8383
Token formats secured by JOSE {{IANA.JOSE}} or COSE {{RFC9052}}, such as JSON Web Tokens (JWTs) {{RFC7519}}, CBOR Web Tokens (CWTs) {{RFC8392}} and ISO mdoc {{ISO.mdoc}}, have vast possible applications. Some of these applications can involve issuing a token whereby certain semantics about the token can change over time, which are important to be able to communicate to relying parties in an interoperable manner, such as whether the token is considered invalidated or suspended by its issuer.
8484

85-
This document defines a Status List and its representations in JSON and CBOR formats that describe the individual statuses of multiple Referenced Tokens, which themselves are JWTs or CWTs. The statuses of all Referenced Tokens are conveyed via a bit array in the Status List. Each Referenced Token is allocated an index during issuance that represents its position within this bit array. The value of the bit(s) at this index correspond to the Referenced Token's status. A Status List may either be provided by an endpoint or be signed and embedded into a Status List Token, whereas this document defines its representations in JWT and CWT. Status Lists may be composed for expressing a range of Status Types. This document defines basic Status Types for the most common use cases as well as an extensibility mechanism for custom Status Types. The document also defines how an issuer of a Referenced Token references a Status List (Token).
85+
This document defines a Status List and its representations in JSON and CBOR formats that describe the individual statuses of multiple Referenced Tokens, which themselves are JWTs or CWTs. The statuses of all Referenced Tokens are conveyed via a bit array in the Status List. Each Referenced Token is allocated an index during issuance that represents its position within this bit array. The value of the bit(s) at this index correspond to the Referenced Token's status. A Status List may either be provided via HTTPS or be signed and embedded into a Status List Token, whereas this document defines its representations in JWT and CWT. Status Lists may be composed for expressing a range of Status Types. This document defines basic Status Types for the most common use cases as well as an extensibility mechanism for custom Status Types. The document also defines how an issuer of a Referenced Token references a Status List (Token).
8686

8787
An example for the usage of a Status List is to manage the status of issued access tokens as defined in section 1.4 of {{RFC6749}}. Token Introspection {{RFC7662}} defines another way to determine the status of an issued access token, but it requires the party trying to validate an access tokens status to directly contact the token issuer, whereas the mechanism defined in this specification does not have this limitation.
8888

@@ -415,7 +415,9 @@ The processing rules for JWT or CWT precede any evaluation of a Referenced Token
415415

416416
## Status List Request
417417

418-
To obtain the Status List or Status List Token, the Relying Party MUST send a HTTP GET request to the Status List Endpoint. Communication with the Status List Endpoint MUST utilize TLS. Which version(s) should be implemented will vary over time. A TLS server certificate check MUST be performed as defined in Section 5 and 6 of {{RFC6125}}.
418+
To obtain the Status List or Status List Token, the Relying Party MUST send an HTTP GET request to the URI provided in the Referenced Token.
419+
420+
If the Status List is provided by an HTTP endpoint (and not as a Status List Token), the provider of the Status List MUST utilize TLS. Which version(s) should be implemented will vary over time. A TLS server certificate check MUST be performed as defined in Section 5 and 6 of {{RFC6125}}.
419421

420422
The Relying Party SHOULD send the following Accept-Header to indicate the requested response type:
421423

@@ -442,10 +444,6 @@ In the case of "application/statuslist+cwt", the response MUST be of type CWT an
442444

443445
The HTTP response SHOULD use gzip Content-Encoding as defined in {{RFC9110}}.
444446

445-
## Caching
446-
447-
If caching is required (e.g., to enable the use of alternative mechanisms for hosting, like Content Delivery Networks), the control of the caching mechanism SHOULD be implemented using the standard HTTP Cache-Control as defined in {{RFC9111}}.
448-
449447
## Validation Rules
450448

451449
TBD
@@ -803,6 +801,9 @@ for their valuable contributions, discussions and feedback to this specification
803801
-03
804802

805803
* change cwt referenced token example to hex and annotated hex
804+
* require TLS only for fetching Status List, not for Status List Token
805+
* remove the undefined phrase Status List endpoint
806+
* remove http caching in favor of the new ttl claim
806807
* clarify the sub claim of Status List Token
807808
* relax status_list iss requirements for CWT
808809
* Fixes missing parts & iana ttl registration in CWT examples

0 commit comments

Comments
 (0)