From d8eaf38673ce5b5f69772027919b62bb97809d96 Mon Sep 17 00:00:00 2001
From: mukunda katta
Date: Thu, 30 Apr 2026 16:43:24 -0700
Subject: [PATCH] feat: validate directory from verification page
---
examples/verification-workers/src/html.ts | 45 ++++++++
examples/verification-workers/src/index.ts | 101 ++++++++++++++++++
.../verification-workers/test/index.spec.ts | 48 +++++++++
3 files changed, 194 insertions(+)
diff --git a/examples/verification-workers/src/html.ts b/examples/verification-workers/src/html.ts
index 7d2e850..c56d38c 100644
--- a/examples/verification-workers/src/html.ts
+++ b/examples/verification-workers/src/html.ts
@@ -189,6 +189,20 @@ button:focus {
button:active {
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.4);
}
+input[type="url"] {
+ border: 1px solid #999;
+ border-radius: 6px;
+ box-sizing: border-box;
+ display: block;
+ font: inherit;
+ margin: 0.5rem 0;
+ max-width: 720px;
+ padding: 8px 10px;
+ width: 100%;
+}
+.validation-result {
+ margin-top: 0.75rem;
+}
.question-list {
margin-bottom: 2rem;
@@ -273,6 +287,17 @@ footer {
+ Validate your key directory
+
+ Paste the full HTTPS URL for a /.well-known/http-message-signatures-directory endpoint to check whether it returns a usable directory.
+
+
+
It's hard to debug. How can this website help?
This website expose an endpoint dropping incoming request headers on /debug
@@ -289,6 +314,26 @@ footer {
To contribute to the standard discussion, the current draft is hosted on thibmeu/http-message-signatures-directory, and is being discussed on web-bot-auth IETF mailing list.
+