Compose security proofs through resource specifications

Offen
#413 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
10/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv

Rechercherichtung

Start from the collision specification and its two implementations, following #414 (PR #436) then #423 (PR #437); this issue is an umbrella tracking many dependent PRs, so read the linked prerequisites before touching proofs. Done when a public construction over the collision specification is proven and used with two implementations at a positive query budget, with positive and separating cases verified in their owning layers.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Background

For a construction $f$ with input specification $S$ and output specification $T$, prove $f(S) \subseteq T$ once. An implementation $R$ can use it by proving $R \in S$. Concrete interface and transcript proofs belong at that membership step.

Proposed change

Start with the collision specification and its two implementations. Each arrow below links a prerequisite to the PR that uses it.

Deliverable Issue and draft PR
Collision guarantee, then authoring and review example #414 (PR #436) → #423 (PR #437)
Transport across carriers, then honest and simulator ports #415 (PR #434) → #416 (PR #435) → #448 (PR #451)
Pull tests back, then refute construction with a failing test #417 (PR #431) → #418 (PR #438)
Average component errors, then construct from a mixture #420 (PR #433) → #421 (PR #440)
Use the same distance law in statistical calculations #420 (PR #433) → #429 (PR #441)
Count permutation restrictions, then condition the next reply #425 (PR #445) → #426 (PR #446)
Substitution through fixed parallel contexts #422 (PR #439)
Observer reductions with monotone loss #419 (PR #432)
Signed observer averages, then uniform trial reduction #352 (PR #452) → #353 (PR #453)
Approximate obstruction against all admitted ideals #449 (PR #450)
Payload-dependent call accounting #424 (PR #442)
Positive event mass from a second moment #427 (PR #444)
Normalized and filtered typed distance #428 (PR #443)
Public and internal calls to one resource (after PR #382) #430 (PR #447)

Existing reusable laws include exact construction, serial composition, singleton lifting and Mathlib’s zero-step distance chain (edist_le_range_sum_edist).

Related work already tracked:

  • Finite families and structural wiring: #293 and #294 supply the coherence for #296 (PR #304). #393 tracks the parallel unit and associativity laws.
  • Shared resources and observations: #202 covers separate caller allowances. #388–#391 cover transcript routing and repeated queries. PR #322 introduces finite cuts and PR #348 relates them to attachment.
  • Computational claims: #5 tracks feasible observers and the cost of their reductions. The concrete query bounds above count calls.
Acceptance criteria
  • Prove a public construction over the collision specification and use it with two implementations at a positive query budget.
  • In the simulator and mixture proofs, identify which witness is shared and which choices may depend on a component.
  • Verify both positive and separating cases in their owning layers. Each implementation PR has its own tests and links to the issue it closes.
Vorherrschende Sprache
Lean
Sterne
3
Forks
0
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
123

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus trailofbits/constructive-cryptography

Alle Issues in trailofbits/constructive-cryptography

Ähnliche Issues

Weitere Issues zu Cryptography

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.