Skip to content

Incorporate estate proof, tool and language work where it applies #9

Open

Description

@hyperpolymath

This is a standing note for maintainers and automated agents working on zig-dnssec.

Where hyperpolymath estate work applies here, use it instead of reinventing it. Report each use in docs/reports/VERIFICATION.adoc, using the five statuses PROVEN / TESTED / ASSUMED / DESIGNED / OPEN.

Where it applies now:

  • Proofs (Idris2): src/interface/Abi/ already proves the C ABI's codes, the verdict layout, and the rule that no answer is returned with a bogus or indeterminate verdict. The next proof target is the validator's decision procedure: a model in which "secure" can only be built from verified signatures up to an anchor (see the estate note in VERIFICATION.adoc).
  • Epistemic types: the verdict is knowledge (secure), justified absence of authentication (insecure), or failure. The estate's epistemic-types work is the natural vocabulary for that model.
  • ABI/FFI pattern: keep Idris2 for the interface model and pure Zig for the FFI, and keep zig_dnssec.h as the single contract checked from both sides.
  • Transports: DNS-over-QUIC is the stated default where it is possible. It is not implemented yet because Zig's standard library has no QUIC. Any estate QUIC work belongs behind the existing Transport interface.
  • Security review: januskey / the MMA framework and absolute-zero (CNO/OND), if and where they bear on DNSSEC validation or the DoH/DoQ transport.

Constraints:

  • Fail-closed rules are fixed: no change may report a validation failure as insecure or secure.
  • No hand-written cryptographic primitives.
  • Estate language policy applies: no Python, Go, TypeScript, Deno, ReScript or Nix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions