[TLS] Re: Introduction: TTTPS exporter-bound evidence and a bounded K-LEAN review of DECK-01
"Heime.Jorgen" <heime.jorgen@proton.me> Sun, 01 November 2026 06:51 UTC
Received: from mail-10697.protonmail.ch (mail-10697.protonmail.ch [79.135.106.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id CD28A46 for <tls@ietf.org>; Sun, 01 Nov 2026 06:51:14 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=proton.me header.s=protonmail2 header.b=HKJm1X4v; spf=pass (mx.ietf.org: domain of heime.jorgen@proton.me designates 79.135.106.97 as permitted sender) smtp.mailfrom=heime.jorgen@proton.me; dmarc=pass (policy=quarantine) header.from=proton.me
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail2; t=1793515864; x=1793775064; bh=9Bo92++wrQF1EKmCeDzzK6nHg1iCUQLl8sX1Ry6PE7w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=HKJm1X4vBbzIjp1zJ1/NgbrSvZGc/9hzmpIS181YWlES+pra1lA1tFswFh4ug/VlJ H4GFOYyjk/N6W05/avsw9A/Xlj6a8TOmIbp39bKLDI+KVNbqUSNccFyKr6lzmzqMiN sq8XiSvxIK/RGXTFUw6jqr22O90NJSuJkIVLMWknZYNYxxtiVFSILR+QPu+F3eDcKr b5HCV6DoucY9FT7hN0sgjE9PQTls/5RSB3ryzhsm2wZZVh2cN2d+9skapJP1qrIP+B TvhfebTF/6V1RnXyL0Dv6L/s72poL4OTrOb2MDOPKauabiZN5ZCVFA2O8RIT8UFZsD a644kI5n+MfZg==
Date: Sun, 01 Nov 2026 06:51:00 +0000
To: "tls@ietf.org" <tls@ietf.org>
From: "Heime.Jorgen" <heime.jorgen@proton.me>
Message-ID: <NmuwJkRo35J5FG52BMKzZDQJq_VpMbK2gX3nPRRLApcM2YMCKk_KMRdSPtBoKWCoFQpyNPY4FGHq7AiS4vi5AMv6pvZgmhUYrIPVcqxwF7M=@proton.me>
In-Reply-To: <A36iaNC-oyVnR-l7YgwddM9ifk7FNcBvQbD7tDYfg2o3Gey4WDKCo3nrtb7AGgBjprxpRuVooAhHtFqgrAjZjqF9HdPyT29gIsvUR0byPiY=@proton.me>
References: <A36iaNC-oyVnR-l7YgwddM9ifk7FNcBvQbD7tDYfg2o3Gey4WDKCo3nrtb7AGgBjprxpRuVooAhHtFqgrAjZjqF9HdPyT29gIsvUR0byPiY=@proton.me>
Feedback-ID: 179960286:user:proton
X-Pm-Message-ID: 1b89551b138c51657dc11945a16c2cae5f028b89
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1=_jo7zDtbxXSyJ1G80E5S8nLIACif6qFnvEdBc0al0fBw"
X-Spamd-Bar: ------------------------
Message-ID-Hash: OXKZ2B5SJGGZRSQTKXRPO3D2MLO6FQ5T
X-Message-ID-Hash: OXKZ2B5SJGGZRSQTKXRPO3D2MLO6FQ5T
X-MailFrom: heime.jorgen@proton.me
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-tls.ietf.org-0; header-match-tls.ietf.org-1; header-match-tls.ietf.org-2; header-match-tls.ietf.org-3; header-match-tls.ietf.org-4; header-match-tls.ietf.org-5; header-match-tls.ietf.org-6; header-match-tls.ietf.org-7; header-match-tls.ietf.org-8; header-match-tls.ietf.org-9; header-match-tls.ietf.org-10; header-match-tls.ietf.org-11; header-match-tls.ietf.org-12; header-match-tls.ietf.org-13; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: nadim@symbolic.software
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [TLS] Re: Introduction: TTTPS exporter-bound evidence and a bounded K-LEAN review of DECK-01
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wEAMcx5B7O6emkELg030Q91yTJk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>
FYI. Just a quick follow-up to clear up a potential ambiguity regarding our use of "black box" in the previous note:
I meant wire-level and state-machine non-invasiveness, our integration requires zero breaking mutations or forks to your draft's proposed transitions. On the formal side, our model provides a compositional proof addressing the exact algebraic concerns of Section 16.7:
1. At the trunk level (Lean 4 formalization): We mechanized the framing rules, strictly proving encoding injectivity and orthogonal domain separation across hybrid components (shs_), DeriveN tuples, and exporter derivations (exl, exp). This mathematically rules out cross-phase state collisions.
2. State Erasure & Forward Secrecy (Section 16.7): We formalized the ratchet transitions under an explicit state-erasure invariant (zeroization of intermediate capacity). We proved that once intermediate permutation states are zeroized, an adversary possessing all public absorbed blocks gains zero advantage in stepping backward (f⁻¹) or inverting prior ratchet states.
I know you're busy with pre-meeting cutoff crunch, but I have the minimal Lean 4 lemma files (~80 lines) ready if you'd like to inspect or reference them for -02.
Ps. Nick, Nadim, apologies for jumping into the ongoing thread, but as we were analyzing the Section 16.7 properties, our Lean 4 model verified that the downgrade/PSK collisions and hybrid ambiguities under discussion are fundamentally closed via framing injectivity, while establishing the algebraic status needed to support your symbolic model's multi-output isolation assumptions.
Best regards,
Heime
Appendix.
[ Handshake Transcript & schedule_profile ]
[ Hybrid KEM Components ("shs_1" || "shs_2") ]
|
v <--- Lean 4: Canonical Framing Injectivity
+-------------------------------------------------------------------------+
| XOF Trunk Permutation (Keccak-p) |
+-------------------------------------------------------------------------+
| |
| (DeriveN) | (Ratchet Step)
v v
+-------------------------------+ +-------------------------------+
| DeriveN Output Tuple | | Capacity Zeroization Invariant|
| - Handshake Record Keys | | (State Erasure Boundary) |
| - Finished Key ("mac") | +-------------------------------+
+-------------------------------+ |
| v
v (Formal Isolation: [ Next Traffic Secret ]
No cross-tuple leakage) (f⁻¹ Rollback Blocked)
|
v
+-----------------------------------------------+
| Two-Step Exporter: Derive("exl") -> ("exp") |
+-----------------------------------------------+
-------- Original Message --------
On Thursday, 10/29/26 at 17:11 Heime.Jorgen <heime.jorgen=40proton.me@dmarc.ietf.org> wrote:
> Hello TLS WG,
>
> I am Heime Jorgen, the author of TLS TimeToken Secure Protocol (TTTPS), draft-helmprotocol-tttps.
>
> I have recently joined the list and would like to introduce a small implementation and formal-review effort relevant to draft-sullivan-tls-xof-schedule-01.
>
> The proposed boundary is an ordinary post-handshake TLS exporter consumer. TTTPS binds a holder presentation to the current TLS session and to an authenticated context identifying the event, policy and selected evidence artifacts. K-LEAN contributes kernel-checked statements about a bounded model, with exact source/artifact references. This work adds no handshake extension, DECK key-schedule input, Absorb operation, trunk mutation or ratchet. DECK negotiation remains the underlying TLS implementation's responsibility.
>
> Our isolated draft-01 validation matched all 162 published appendix values against the Go and Python generators, the actual Go TLS schedule and the separately maintained altkdf-rs implementation. The upstream tests passed 13 handshake cases and 7 interoperability/control cases.
>
> An additional 28 complete-path cases exercised actual DECK TLS, X25519MLKEM768, TTTPS session/context binding, detached ML-DSA-65 holder authentication and disposable SQLite admission state, including rejection of cross-session reuse, altered evidence or policy, and missing PQ authentication.
>
> The formal review reused 16 kernel-checked bounded-model lemmas and added 5 for empty-context normalization. It covers descriptor validity and bounds, encoding properties and logical clone behavior. A 192-byte framing witness agreed across Lean, Python and the actual Go profiles; 128 output bytes agreed with separate concrete XOF implementations. The XOF output-length property is an interface contract, not a proof of concrete Keccak security.
>
> These are implementation and bounded-model results, not a proof of Keccak, the full TLS composition, physical erasure or application effects. The Go/Python generators are separate implementations from the same collaboration repository; the Rust implementation is a separate-maintainer cross-check. The complete-path consumer test uses a private local adapter inside the declared enforcement-point trust boundary, not a public exporter service. Hybrid key exchange and detached holder authentication do not make the certificate, issuer, time-source or archive paths wholly post-quantum.
>
> Peer A <==== TLS 1.3 / negotiated DECK / hybrid KEM ====> Peer B
> |
> post-handshake exporter
> (private/local)
> |
> K-LEAN bounded proof artifacts --> authenticated context |
> Exact event + policy + evidence --> TTTPS holder/core checks
> |
> atomic replay claim + receipt
>
> No new input to the DECK key schedule, trunk or ratchets.
>
> Admission receipt != application-effect proof.
>
> Lean proof source + pinned toolchain
> |
> kernel check + axiom audit
> |
> source SHA-256 + TTTPS seal
> |
> reviewed repository revision
> |
> Vault certificate + compiled-artifact digest
> |
> retrieve source / verify seal / rerun kernel
>
> The public TTTPS revision is currently -13. I am preparing -14 to document this exporter-only boundary, exact evidence/context binding and the measured implementation scope; -14 has not yet been submitted.
>
> I would welcome feedback on:
>
> 1. Whether this exporter-consumer boundary is appropriate for a DECK-based TLS implementation.
>
> 2. The exact framing/normalization properties that would be useful as bounded formal-review obligations.
>
> 3. Any additional interop or negative cases the WG would find valuable.
>
> References (upstream specifications and implementations):
>
> https://datatracker.ietf.org/doc/draft-helmprotocol-tttps/
> https://datatracker.ietf.org/doc/draft-sullivan-tls-xof-schedule/01/
>
> Upstream DECK draft authors' source and issue tracker:
>
> https://github.com/grittygrease/draft-sullivan-tls-xof-schedule-collab
> https://github.com/mjosaarinen/altkdf-rs
>
> Kenosian tools and historical review material:
>
> 1. K-Lean verification and provenance workflow:
>
> https://github.com/Helm-Protocol/kenosian-vault
>
> Kenosian Vault connects Lean 4 kernel checking with a reproducible evidence lifecycle. The K-Vault tooling runs the kernel, audits theorem dependencies, computes the proof-source SHA-256, anchors that digest through TTTPS, and checks source integrity during sealing and before repository submission.
>
> For the published review artifact, reviewers can reconcile the source digest and receipt with the recorded repository revision and compiled-artifact digest, verify the seal, and independently rerun the proof using the pinned Lean/Mathlib project. Kernel acceptance establishes the stated mathematical result under its assumptions; TTTPS sealing supplies complementary integrity and time provenance.
>
> 2. Earlier published DECK review source, manifest and reproduction instructions:
>
> https://kpp.kenosian.com/k-lean/deck/
>
> This page targets draft-00 and is historical background, not the reproduction package for the draft-01 results reported above.
>
> 3. A theorem lookup for that earlier published model:
>
> https://kpp.kenosian.com/v1/klv/theorem/KLean.TLS.DECK.frame_injective
>
> A lookup is a service-reported certificate, not an independent kernel rerun. Independent review should inspect the statement and assumptions in the source and pin the toolchain, returned commit and compiled-artifact digest.
>
> Background research:
>
> For background, our earlier K-Lean preprint (June 2026) describes machine-checked mathematical contracts for computational biology. It provides context for our verification approach; the DECK-specific claims and evidence are separate.
>
> https://www.researchgate.net/publication/407438721_K-Lean_Machine-Verified_Formal_Proofs_for_Computational_Biology
>
> Best regards,
> Heime Jorgen
- [TLS] Introduction: TTTPS exporter-bound evidence… Heime.Jorgen
- [TLS] Re: Introduction: TTTPS exporter-bound evid… Heime.Jorgen