Skip to content

Registry example - #52

Merged
thibmeu merged 3 commits into
cloudflare:registry-draftfrom
thibmeu:registry-example
Sep 25, 2025
Merged

Registry example#52
thibmeu merged 3 commits into
cloudflare:registry-draftfrom
thibmeu:registry-example

Conversation

@thibmeu

@thibmeu thibmeu commented Sep 11, 2025

Copy link
Copy Markdown
Member

Implementation of the registry draft

It removes the purpose field which is no longer in use.
Add registry parsing to web-bot-auth in typescript, with test vectors
And it updates caddy to support importing keys from a registry.

The commit is against a new branch, as this is likely going to evolve.

That field does not exist in the spec anymore. This is being removed.
Add a short method parsing registry.
It also adds test vectors.
The verification worker now provides a registry on /test-registry.txt.
Caddy plugin has been updated to support fetching registries, and the
signature agent in them.

This is basic, and breaks the old model where caddy could import a
directory directly.

Running the example locally is cumbersome as, beyond chrome extension,
there is no good tool to generate an RFC9421 signed request. That's
something to do later on.

I ran the example by generating a signature with the "scheduled" script.
@thibmeu
thibmeu requested a review from AkshatM September 11, 2025 16:48
@thibmeu thibmeu self-assigned this Sep 11, 2025
@thibmeu thibmeu added the enhancement New feature or request label Sep 11, 2025
@thibmeu
thibmeu merged commit 8e1c0dc into cloudflare:registry-draft Sep 25, 2025
3 checks passed
@thibmeu
thibmeu deleted the registry-example branch September 25, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

1 participant