Skip to content

Commit 497ad60

Browse files
committed
Merge branch 'main' into 309-asn1-module
2 parents 2bd170c + a9749fa commit 497ad60

File tree

6 files changed

+49
-40
lines changed

6 files changed

+49
-40
lines changed

.github/workflows/archive.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
contents: write
2121
steps:
2222
- name: "Checkout"
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424

2525
# Note: No caching for this build!
2626

@@ -41,4 +41,5 @@ jobs:
4141
- name: "Save Archive"
4242
uses: actions/upload-artifact@v4
4343
with:
44+
name: archive
4445
path: archive.json

.github/workflows/ghpages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
contents: write
2323
steps:
2424
- name: "Checkout"
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: "Setup"
2828
id: setup
@@ -62,6 +62,7 @@ jobs:
6262
- name: "Archive Built Drafts"
6363
uses: actions/upload-artifact@v4
6464
with:
65+
name: drafts
6566
path: |
6667
draft-*.html
6768
draft-*.txt

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: "Checkout"
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
21+
with:
22+
# Needed for tracing file history for replacement status
23+
fetch-depth: 0
24+
fetch-tags: true
2125

2226
# See https://github.com/actions/checkout/issues/290
2327
- name: "Get Tag Annotations"
@@ -61,4 +65,5 @@ jobs:
6165
- name: "Archive Submitted Drafts"
6266
uses: actions/upload-artifact@v4
6367
with:
68+
name: published
6469
path: "versioned/draft-*-[0-9][0-9].*"

.github/workflows/update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
build:
2323
name: "Update Files"
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: write
2527
steps:
2628
- name: "Checkout"
27-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
2830

2931
- name: "Update Generated Files"
3032
uses: martinthomson/i-d-template@v1

.gitignore

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
*~
2-
/*-[0-9][0-9].xml
3-
archive.json
4-
draft-ietf-oauth-status-list.xml
5-
/examples/
6-
Gemfile.lock
7-
/.gems/
1+
.tags
82
*.html
9-
/.idea/
10-
/lib
11-
/.*.mk
12-
/node_modules/
13-
package-lock.json
143
*.pdf
154
*.redxml
16-
/.refcache
17-
report.xml
18-
/src/__pycache__/
195
*.swp
20-
.tags
216
*.txt
227
*.upload
8+
*~
9+
/.*.mk
10+
/.gems/
11+
/.idea/
12+
/.refcache
2313
/.venv/
24-
/versioned/
2514
/.vscode/
15+
/*-[0-9][0-9].xml
16+
/examples/
17+
/lib
18+
/node_modules/
19+
/src/__pycache__/
20+
/versioned/
21+
archive.json
22+
draft-ietf-oauth-status-list.xml
23+
Gemfile.lock
24+
package-lock.json
25+
report.xml
2626
!requirements.txt

draft-ietf-oauth-status-list.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,13 @@ This section defines the data structure for a JSON-encoded Status List:
361361
The following example illustrates the JSON representation of the Status List with `bits` 1 from the example above:
362362

363363
~~~~~~~~~~
364-
{::include ./examples/status_list_encoding_json}
364+
{::include examples/status_list_encoding_json}
365365
~~~~~~~~~~
366366

367367
The following example illustrates the JSON representation of the Status List with `bits` 2 from the example above:
368368

369369
~~~~~~~~~~
370-
{::include ./examples/status_list_encoding2_json}
370+
{::include examples/status_list_encoding2_json}
371371
~~~~~~~~~~
372372

373373
See section [](#test-vectors) for more test vectors.
@@ -394,13 +394,13 @@ StatusList = {
394394
The following example illustrates the CBOR representation of the Status List in Hex:
395395

396396
~~~~~~~~~~
397-
{::include ./examples/status_list_encoding_cbor}
397+
{::include examples/status_list_encoding_cbor}
398398
~~~~~~~~~~
399399

400400
The following is the CBOR Annotated Hex output of the example above:
401401

402402
~~~~~~~~~~
403-
{::include ./examples/status_list_encoding_cbor_diag}
403+
{::include examples/status_list_encoding_cbor_diag}
404404
~~~~~~~~~~
405405

406406
See section [](#test-vectors) for more test vectors.
@@ -440,7 +440,7 @@ The following additional rules apply:
440440
The following is a non-normative example of a Status List Token in JWT format:
441441

442442
~~~~~~~~~~
443-
{::include ./examples/status_list_jwt}
443+
{::include examples/status_list_jwt}
444444
~~~~~~~~~~
445445

446446
## Status List Token in CWT Format {#status-list-token-cwt}
@@ -472,13 +472,13 @@ The following additional rules apply:
472472
The following is a non-normative example of a Status List Token in CWT format in Hex:
473473

474474
~~~~~~~~~~
475-
{::include ./examples/status_list_cwt}
475+
{::include examples/status_list_cwt}
476476
~~~~~~~~~~
477477

478478
The following is the CBOR Annotated Hex output of the example above:
479479

480480
~~~~~~~~~~
481-
{::include ./examples/status_list_cwt_diag}
481+
{::include examples/status_list_cwt_diag}
482482
~~~~~~~~~~
483483

484484
# Referenced Token {#referenced-token}
@@ -580,13 +580,13 @@ Application of additional restrictions and policies are at the discretion of the
580580
The following is a non-normative example of a Referenced Token in CWT format in Hex:
581581

582582
~~~~~~~~~~
583-
{::include ./examples/referenced_token_cwt}
583+
{::include examples/referenced_token_cwt}
584584
~~~~~~~~~~
585585

586586
The following is the CBOR Annotated Hex output of the example above:
587587

588588
~~~~~~~~~~
589-
{::include ./examples/referenced_token_cwt_diag}
589+
{::include examples/referenced_token_cwt_diag}
590590
~~~~~~~~~~
591591

592592
ISO mdoc {{ISO.mdoc}} may utilize the Status List mechanism by introducing the `status` parameter in the Mobile Security Object (MSO) as specified in Section 9.1.2. The `status` parameter uses the same encoding as a CWT as defined in {{referenced-token-cose}}.
@@ -783,7 +783,7 @@ Accept: application/statuslist+jwt
783783
HTTP/1.1 200 OK
784784
Content-Type: application/statuslist+jwt
785785

786-
{::include ./examples/status_list_jwt_raw}
786+
{::include examples/status_list_jwt_raw}
787787
~~~
788788

789789
## Status List Response {#status-list-response}
@@ -850,7 +850,7 @@ The following is a non-normative example of a response for the above Request:
850850
HTTP/1.1 200 OK
851851
Content-Type: application/statuslist+jwt
852852

853-
{::include ./examples/status_list_jwt_raw}
853+
{::include examples/status_list_jwt_raw}
854854
~~~
855855

856856
# Status List Aggregation {#aggregation}
@@ -1616,13 +1616,13 @@ status[1000345]=1
16161616
JSON encoding:
16171617

16181618
~~~~~~~~~~
1619-
{::include ./examples/status_list_encoding1_long_json}
1619+
{::include examples/status_list_encoding1_long_json}
16201620
~~~~~~~~~~
16211621

16221622
CBOR encoding:
16231623

16241624
~~~~~~~~~~
1625-
{::include ./examples/status_list_encoding1_long_cbor}
1625+
{::include examples/status_list_encoding1_long_cbor}
16261626
~~~~~~~~~~
16271627

16281628
## 2 bit Status List
@@ -1647,13 +1647,13 @@ status[1000345]=3
16471647
JSON encoding:
16481648

16491649
~~~~~~~~~~
1650-
{::include ./examples/status_list_encoding2_long_json}
1650+
{::include examples/status_list_encoding2_long_json}
16511651
~~~~~~~~~~
16521652

16531653
CBOR encoding:
16541654

16551655
~~~~~~~~~~
1656-
{::include ./examples/status_list_encoding2_long_cbor}
1656+
{::include examples/status_list_encoding2_long_cbor}
16571657
~~~~~~~~~~
16581658

16591659
## 4 bit Status List
@@ -1682,13 +1682,13 @@ status[1030205]=15
16821682
JSON encoding:
16831683

16841684
~~~~~~~~~~
1685-
{::include ./examples/status_list_encoding4_json}
1685+
{::include examples/status_list_encoding4_json}
16861686
~~~~~~~~~~
16871687

16881688
CBOR encoding:
16891689

16901690
~~~~~~~~~~
1691-
{::include ./examples/status_list_encoding4_cbor}
1691+
{::include examples/status_list_encoding4_cbor}
16921692
~~~~~~~~~~
16931693

16941694
## 8 bit Status List
@@ -1958,13 +1958,13 @@ status[19535] = 255
19581958
JSON encoding:
19591959

19601960
~~~~~~~~~~
1961-
{::include ./examples/status_list_encoding8_json}
1961+
{::include examples/status_list_encoding8_json}
19621962
~~~~~~~~~~
19631963

19641964
CBOR encoding:
19651965

19661966
~~~~~~~~~~
1967-
{::include ./examples/status_list_encoding8_cbor}
1967+
{::include examples/status_list_encoding8_cbor}
19681968
~~~~~~~~~~
19691969

19701970

0 commit comments

Comments
 (0)