Files
felhom.eu/documentation/audits/cc-creds-build-2026-10-17/harness/hdrsrv.py
T
adminandClaude Opus 5.5 ba40c0a25b
gates / gates (push) Successful in 6m44s
CC secrets build: consumers switched to sec, S19 age key in the recovery runbooks, evidence (R-1118, R-1122)
Build skill (hub token, ISO publish), fb_probe (token from `sec run` env, tests red-proved), secrets.md (Resend:
pipe inside sec run), bench README, read_credential docstring, 12-agent-tooling §5, workspace CLAUDE secrets line.
Evidence: audits/cc-creds-build-2026-10-17/ (tests, red-proofs, 36-row child-session proof both launch modes,
install, fresh-session proof, import names+lengths, history sweep names).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
2026-10-17 13:33:07 +02:00

10 lines
605 B
Python

import hashlib, http.server, sys
class H(http.server.BaseHTTPRequestHandler):
def do_POST(self):
a = self.headers.get("Authorization", "")
tok = a[len("Bearer "):] if a.startswith("Bearer ") else ""
sys.stderr.write("server got bearer sha256 %s, length %d\n" % (hashlib.sha256(tok.encode()).hexdigest()[:8], len(tok)))
self.send_response(303); self.send_header("Location", "/configuration?flash=floor_set"); self.send_header("Content-Length", "0"); self.end_headers()
def log_message(self, *a): pass
http.server.HTTPServer(("127.0.0.1", 18766), H).handle_request()