RFC 8032 Ed25519 · /.well-known/jwks.json · CI/CD & Offline Verification

Ed25519 Proof-Carrying Attestations in CI/CD

Screenshots and unverified spreadsheets break down during ISO 27001, SOC 2, DORA, and BFSG audits. Learn how Liebreich Software signs live compliance JSON payloads with Ed25519 — and how any auditor verifies 1-bit tamper resistance offline.

1. Exact Deterministic Signing Specification (liebreich-attestation-v1)

Every response from website-360-check, bfsg-check, dsgvo-check, nis2-supplier-check, company-enrich, and erechnung-check carries a top-level proof object signed with our public Ed25519 key published at https://liebreichsoftware.com/.well-known/jwks.json:

{
  "proof": {
    "alg": "Ed25519",
    "kid": "lb-ed25519-50b16adf70182856",
    "issuedAtIso": "2026-11-29T12:00:00Z",
    "payloadSha256": "<64-char-lowercase-hex>",
    "signatureB64u": "<86-char-unpadded-base64url>",
    "jwksUrl": "https://liebreichsoftware.com/.well-known/jwks.json",
    "verifyUrl": "https://liebreichsoftware.com/verify/"
  }
}

Offline verification requires zero vendor lock-in and works identically in Python, Node.js, Go, Rust, or Browser WebCrypto:

  1. Strip top-level keys "proof" and "cached" from the JSON object.
  2. Recursively sort all object keys lexicographically and serialize compact UTF-8 JSON (separators=(",",":"), non-ASCII UTF-8 preserved, whole-number floats normalized to ints).
  3. Compute computedSha256 = sha256(canonical_utf8_bytes).hex() and assert equality with proof.payloadSha256.
  4. Construct the UTF-8 signing message "liebreich-attestation-v1\n" + kid + "\n" + issuedAtIso + "\n" + computedSha256 and verify the 64-byte raw Ed25519 signature against the OKP JWK x matching proof.kid in /.well-known/jwks.json.

2. Drop-In GitHub Actions CI/CD Gate (eu-compliance-action@v1)

Gate pull requests and releases on WCAG 2.2 AA, GDPR cookies/fonts, NIS2/DORA hygiene, or full 360° checks — and automatically archive the signed JSON attestation artifact in GitHub Actions:

name: EU Compliance & Ed25519 Attestation Gate
on: [push, pull_request]

jobs:
  compliance-gate:
    runs-on: ubuntu-latest
    steps:
      - uses: Liebreich-Software/eu-compliance-action@v1
        with:
          target-url: "https://your-site.example"
          check-type: "website-360"
          min-score: "85"
          api-key: ${{ secrets.LIEBREICH_API_KEY }}
          artifact-path: "compliance-attestation.json"

3. Offline Verification in Python (liebreich-python) & Node CLI

# Python SDK (pip install git+https://github.com/Liebreich-Software/liebreich-python.git)
from liebreich import LiebreichClient

client = LiebreichClient(api_key="lb_live_...")
report = client.audit_website_360("https://liebreichsoftware.com")

# Verify offline against /.well-known/jwks.json OR online via POST /api/v1/verify-attestation
verdict = client.verify_attestation(report)
assert verdict["valid"] is True and verdict["status"] == "VALID"

# Zero-install Node CLI offline verification
# npx -y github:Liebreich-Software/liebreich-mcp-compliance verify --offline compliance-attestation.json

4. Instant Zero-Trust Auditor Verification in Any Browser

Procurement officers and external ISO/DORA auditors do not need a CLI: open https://liebreichsoftware.com/verify/, paste or upload any signed JSON report, and watch BOTH POST /api/v1/verify-attestation (up to 512 KB) AND independent Browser WebCrypto validate the Ed25519 signature live — or click Simulate 1-Bit Tamper to confirm instant TAMPERED rejection.

Start Issuing Ed25519-Signed Compliance & KYB Proofs in Your Pipeline

Test live cryptographic verification on /verify/ for free, or provision a €19 Prepaid Agent Wallet (500 Pro calls, never expires, 120 req/min) or €49/mo API Pro key automatically via Stripe Checkout.

Technical FAQ

Implementation & Audit Questions

Why strip the top-level 'cached' field before hashing the payload?

Because the same deterministic audit result may be served fresh (cached: false) or from the 5-minute TTL cache (cached: true). Excluding 'cached' guarantees the cryptographic signature remains identical across cache hits without re-signing.

Can an auditor verify a signed report without calling Liebreich's servers?

Yes. Download /.well-known/jwks.json once (or pin the Ed25519 public key) and run standard RFC 8032 Ed25519 verification offline in Python, Node.js, or Browser WebCrypto.

What happens if someone changes a single digit of an accessibility score from 79 to 99?

The canonical SHA-256 payload digest changes completely, causing both offline verifiers and POST /api/v1/verify-attestation to return valid: false, status: TAMPERED, reason: payload_hash_mismatch.

What is the maximum JSON report size accepted by POST /api/v1/verify-attestation?

Up to 512 KB over HTTPS (and arbitrary size offline via /.well-known/jwks.json or Browser WebCrypto).