Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive verifier #404

Closed
wants to merge 1 commit into from
Closed

Interactive verifier #404

wants to merge 1 commit into from

Conversation

th4s
Copy link
Member

@th4s th4s commented Jan 9, 2024

  • Added necessary state and state transitions

  • Move Prover future into its own module

  • Put phase-specific prover code into its own modules

  • Make ProverFuture public again

  • Added Into from Closed to Verify for Prover state transition

  • Added first part of finalize method for Prover<Verify>

  • Rename SessionData to NotarizedSessionData and introduce SessionData for interactive verifier flow

  • Added first sketches for HttpProver and Prover with Verifier state

  • Introduced wrapper ServerInfo

ServerInfo is generated by SessionData and is the non-notarization version of SessionProof

  • Crate ServerInfo from SessionData in Prover flow

  • Introduced another module for direct substring proofs.

  • WIP: Added dirty first version of prover flow...

  • Move RangeCollector and restore substring module

  • Tidy up tlsn-core and finish first version of prover flow for dealing with a verifier

  • Refactored verifier

  • Added Verify state for Verifier

  • WIP: Added first draft for verify flow...

  • Added more parts of verifier flow

  • Adapt tests to new api changes

  • Add some logging and improve code here and there

  • Added ProofBuilder trait and started implementing it for SubstringsProofBuilder

  • WIP: Tinkering with lifetimes...

  • Resolved lifetime issues

  • Refactor module proof to support another implementor of SubstringProofBuilder

  • WIP: Adding LabelProofBuilder...

  • Streamlined api

  • Improved decoding flow

  • Include lengths in LabelProof

  • Improved structure of LabelProof and finished verify

  • Added integration test for verify flow

  • Add tests for LabelProof

  • Improve test for LabelProof::verify

  • Make tlsn compile without tlsn-formats

  • Restore tlsn-formats from dev and temporarily remove from workspace

  • Add first batch of feedback

  • Add further feedback

  • Separated decoding from finalization

  • Add warning comment to Verifier::receive

  • Remove unnecessary traits

  • Adapt test

  • Repair notarize integration test

  • Add decode call to prover for verify integration test

  • Simplified LabelProof and renamed to TranscriptProof

  • Add range check to reconstruct

  • Roll back changes to tlsn-prover/src/http

  • Rename Verify to Prove

  • Added more feedback

  • Various code improvements

  • Remove SessionData

  • Restore naming of TlsProof and SessionData

  • Improve error handling

  • Adapt prove-verify flow to new API

  • Finalize VM first

  • Fix prover closing connection too early

  • Add correct server certificate and assert correct redactions

  • Fix imports after rebase

  • Fix api test in tlsn-core

  • Add feedback

  • Fix linting in integration test

* Added necessary state and state transitions

* Move Prover future into its own module

* Put phase-specific prover code into its own modules

* Make `ProverFuture` public again

* Added `Into` from `Closed` to `Verify` for `Prover` state transition

* Added first part of finalize method for `Prover<Verify>`

* Rename `SessionData` to `NotarizedSessionData` and introduce
`SessionData` for interactive verifier flow

* Added first sketches for HttpProver and Prover with Verifier state

* Introduced wrapper `ServerInfo`

`ServerInfo` is generated by `SessionData` and is the non-notarization
version of `SessionProof`

* Crate `ServerInfo` from `SessionData` in Prover<Verify> flow

* Introduced another module for direct substring proofs.

* WIP: Added dirty first version of prover flow...

* Move `RangeCollector` and restore substring module

* Tidy up tlsn-core and finish first version of prover flow for dealing
with a verifier

* Refactored verifier

* Added `Verify` state for `Verifier`

* WIP: Added first draft for verify flow...

* Added more parts of verifier flow

* Adapt tests to new api changes

* Add some logging and improve code here and there

* Added `ProofBuilder` trait and started implementing it for `SubstringsProofBuilder`

* WIP: Tinkering with lifetimes...

* Resolved lifetime issues

* Refactor module `proof` to support another implementor of `SubstringProofBuilder`

* WIP: Adding `LabelProofBuilder`...

* Streamlined api

* Improved decoding flow

* Include lengths in `LabelProof`

* Improved structure of `LabelProof` and finished `verify`

* Added integration test for verify flow

* Add tests for `LabelProof`

* Improve test for `LabelProof::verify`

* Make tlsn compile without `tlsn-formats`

* Restore `tlsn-formats` from `dev` and temporarily remove from workspace

* Add first batch of feedback

* Add further feedback

* Separated decoding from finalization

* Add warning comment to `Verifier::receive`

* Remove unnecessary traits

* Adapt test

* Repair notarize integration test

* Add `decode` call to prover for verify integration test

* Simplified `LabelProof` and renamed to `TranscriptProof`

* Add range check to `reconstruct`

* Roll back changes to `tlsn-prover/src/http`

* Rename `Verify` to `Prove`

* Added more feedback

* Various code improvements

* Remove `SessionData`

* Restore naming of `TlsProof` and `SessionData`

* Improve error handling

* Adapt prove-verify flow to new API

* Finalize VM first

* Fix prover closing connection too early

* Add correct server certificate and assert correct redactions

* Fix imports after rebase

* Fix api test in `tlsn-core`

* Add feedback

* Fix linting in integration test
@th4s th4s changed the title Interactive verifier (Do not squash-merge) Interactive verifier Jan 9, 2024
@th4s
Copy link
Member Author

th4s commented Jan 9, 2024

Do not squash when merging, since it is already squashed.

@th4s th4s requested review from sinui0 and themighty1 January 9, 2024 17:25
@th4s
Copy link
Member Author

th4s commented Jan 10, 2024

Closing in favor of #401

@th4s th4s closed this Jan 10, 2024
@sinui0 sinui0 deleted the interactive-verifier2 branch February 14, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants