Skip to content

Conversation

@AkshatM
Copy link
Contributor

@AkshatM AkshatM commented Jun 17, 2025

This tool implements the standards documented in
https://github.com/thibmeu/http-message-signatures-directory/pull/40/files.

It passes validation against the research endpoint:

❯ ./target/debug/http-signature-directory https://http-message-signatures-example.research.cloudflare.com/.well-known/http-message-signatures-directory
Extracted the following @authority component: "http-message-signatures-example.research.cloudflare.com"
Found the following Signature headers: ["binding0=:wzfnIq2AinWIxg3/IsxkuRmpUKCMUWgy2QyHtlVVJXdKTbGzlr9HH9b1P7JYy2rVtXVajUmtmt+H+uwr7ZRJDA==:"]
Found the following Signature-Input headers: ["binding0=(\"@authority\");created=1750179676;keyid=\"poqkLGiymh_W0uP6PZFw-dvez3QJT5SolqXBCW38r0U\";alg=\"ed25519\";expires=1750179976;tag=\"http-message-signatures-directory\""]
Analyzing key with thumbprint poqkLGiymh_W0uP6PZFw-dvez3QJT5SolqXBCW38r0U
Found Ed25519 key
Valid!

It is extremely barebones, and can stand to be cleaned up a little later. But it works.

This tool implements the standards documented in
https://github.com/thibmeu/http-message-signatures-directory/pull/40/files.

It passes validation against the research endpoint:

```
❯ ./target/debug/http-signature-directory https://http-message-signatures-example.research.cloudflare.com/.well-known/http-message-signatures-directory
Extracted the following @authority component: "http-message-signatures-example.research.cloudflare.com"
Found the following Signature headers: ["binding0=:wzfnIq2AinWIxg3/IsxkuRmpUKCMUWgy2QyHtlVVJXdKTbGzlr9HH9b1P7JYy2rVtXVajUmtmt+H+uwr7ZRJDA==:"]
Found the following Signature-Input headers: ["binding0=(\"@authority\");created=1750179676;keyid=\"poqkLGiymh_W0uP6PZFw-dvez3QJT5SolqXBCW38r0U\";alg=\"ed25519\";expires=1750179976;tag=\"http-message-signatures-directory\""]
Analyzing key with thumbprint poqkLGiymh_W0uP6PZFw-dvez3QJT5SolqXBCW38r0U
Found Ed25519 key
Valid!
```

It is extremely barebones, and can stand to be cleaned up a little
later. But it works.
@AkshatM AkshatM merged commit 69ae829 into cloudflare:main Jun 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant