Skip to content

Commit fa1bdbb

Browse files
dahliaclaude
andcommitted
Implement HTTP Message Signatures (RFC 9421)
Close fedify-dev#208 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 09b29f9 commit fa1bdbb

8 files changed

Lines changed: 1695 additions & 17 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ deno.lock
33
repomix-output.xml
44
t.ts
55
t2.ts
6+
7+
**/.claude/settings.local.json

‎CHANGES.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ To be released.
2222

2323
- Added `Router.trailingSlashInsensitive` property.
2424

25+
- Implemented HTTP Message Signatures ([RFC 9421]). [[#208]]
26+
27+
- Added `HttpMessageSignaturesSpec` type.
28+
- Added `SignRequestOptions.spec` option.
29+
- Added `SignRequestOptions.currentTime` option.
30+
- Added `VerifyRequestOptions.spec` option.
31+
32+
[RFC 9421]: https://www.rfc-editor.org/rfc/rfc9421
33+
[#208]: https://github.com/fedify-dev/fedify/issues/208
2534
[#227]: https://github.com/fedify-dev/fedify/issues/227
2635

2736

‎cspell.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"dereferenceable",
2424
"discoverability",
2525
"docloader",
26+
"draft-cavage",
2627
"eddsa",
2728
"fanout",
2829
"federatable",

‎src/deno.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@std/async": "jsr:@std/async@^1.0.5",
3030
"@std/bytes": "jsr:@std/bytes@^1.0.2",
3131
"@std/collections": "jsr:@std/collections@^1.0.6",
32+
"@std/crypto": "jsr:@std/crypto@^1.0.4",
3233
"@std/encoding": "jsr:@std/encoding@1.0.7",
3334
"@std/http": "jsr:@std/http@^1.0.6",
3435
"@std/testing": "jsr:@std/testing@^0.224.0",
@@ -42,6 +43,7 @@
4243
"mock_fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2",
4344
"multicodec": "npm:multicodec@^3.2.1",
4445
"pkijs": "npm:pkijs@^3.2.4",
46+
"structured-field-values": "npm:structured-field-values@^2.0.4",
4547
"uri-template-router": "npm:uri-template-router@^0.0.17",
4648
"url-template": "npm:url-template@^3.1.1"
4749
},

0 commit comments

Comments
 (0)