Commit Graph

706 Commits

Author SHA1 Message Date
Hendrik Eeckhaut
98a520ddd7 doc: add section about linting to contribution guide 2024-08-21 10:11:29 +02:00
Hendrik Eeckhaut
8fa593c111 doc: added note about "format on save" to the contribution guide 2024-08-21 10:11:29 +02:00
dan
0b1eef12f3 docs: fix typos (#569)
* docs: fix typos

* Correct notary readme link.

---------

Co-authored-by: yuroitaki <>
2024-08-19 19:25:36 +08:00
yuroitaki
6eaf4a3d2d feat: add protocol configuration negotiation (#513)
* Add configuration check.

* Fix naming and comments.

* Fix clippy.

* Fix clippy using latest rust.

* Adapt new method to send message.

* Add config validator.

* Split max transcript size.

* Remove unused dependencies and redundant declarations.

* Move protocol_config out of verifier config.

* Implement default for configs.

* Apply fmt.

* Correct dependency format.

* Add ignored flag to integration test.

* Change from String to Version, more debugging.

* Use getter instead of pub.

* Move ot estimate methods to ProtocolConfig.

---------

Co-authored-by: yuroitaki <>
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
2024-08-15 14:40:55 -07:00
th4s
cc01b24759 fix: Check if already committed in commit (#568)
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
2024-08-15 14:29:59 -07:00
th4s
0a3a1db520 chore: Temporarily disable deadlocked tests in aead (#547)
* fix: Comment failing tests in aead

* fix: please clippy

* fix: comment `kind` function in error module

---------

Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
2024-08-15 14:21:00 -07:00
th4s
b3316dede7 fix: Repair wasm build. (#567)
Set specific version for `wasm-bindgen`.
2024-08-15 18:50:22 +02:00
th4s
ab24a6d3aa Add verify for wasm TlsProof (#560)
* Add `verify` for wasm `TlsProof`.

* refactor notary key

* return unix time

* remove unnecessary serde feature

* comment

* refactor: use public key pem instead of bytes (#561)

* refactor: use public key pem instead of bytes

* refactor: use NotaryKey as type

* fix: use String

* style: formatting

#557

---------

Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com>
Co-authored-by: tsukino <87639218+0xtsukino@users.noreply.github.com>
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-08-14 12:14:02 -07:00
dan
17e31687bd docs: describe execution modes (#464) 2024-08-06 10:02:16 +00:00
yuroitaki
b9ae8f9271 chore: extend tls certs perpetually (#555) 2024-08-06 14:55:59 +08:00
yuroitaki
c8524d934b fix: correct paths following repo reorg (#554)
* Fix paths following repo reorg.

* Apply fmt.

---------

Co-authored-by: yuroitaki <>
2024-08-02 19:45:08 +08:00
Hendrik Eeckhaut
7f46596068 docs: fix and improve interactive example (#552)
#551
2024-08-02 12:28:51 +02:00
Hendrik Eeckhaut
6031254963 chore: cleanup after workspace consolidation
* clean up github actions #537 #536
* Improved README.md (clang + openssl-dev) #536 
+ removed stale build script #537 
* chore: add build script for tlsn-wasm #536

#549
2024-08-01 14:40:59 +02:00
th4s
2d44cc4b60 docs: Fix links in README.md (#544) 2024-07-29 16:33:39 +09:00
th4s
bdebd7a9b2 Remove unused AEAD error type. (#540) 2024-07-29 16:32:04 +09:00
sinu.eth
3201c38ad7 feat(wasm): no-bundler flag (#546)
* feat(wasm): no-bundler flag

* newline
2024-07-29 16:31:26 +09:00
sinu.eth
2205cb3b2c feat(tlsn-wasm): wasm bindings (#536)
* feat(tlsn-wasm): wasm bindings

* fix wasm ci

* clippy

* clippy allow

* add build config and remove redundant to_vec
2024-07-25 14:15:11 +09:00
sinu.eth
040608bb6e fix: notary cd (#538) 2024-07-24 18:51:34 +09:00
sinu.eth
e14d0cf563 refactor: consolidate workspaces (#537)
* move crates

* remove .workspace syntax

* rename crate directories

* normalize manifests

* further normalize manifests

* newlines

* fix dependency issues

* fix import paths

* update CI

* rustfmt

* filter wasm packages

* check in fixtures

* fix rustdoc

* ignore expensive tests
2024-07-23 10:43:31 +09:00
yuroitaki
7377eaf661 fix: clippy gh action and linting (#531)
* fix: miscellaneous fixes on documentation, notary-server.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Apply clippy fix.

* Correct ci.yml and build script.

* Apply clippy fix.

* Apply fmt.

* Correct clippy fix for tls-mpc.

* Correct clippy fix for tls-client.

* Correct clippy fix for tls-client.

* Update ci and local build.

* Revert "Merge branch 'fix/misc-fixes' into fix/gh-clippy-action"

This reverts commit 74bdb4a6f8, reversing
changes made to e361a86e6a.

* Apply clippy fix.

* Correct spacing and extra changes.

* Apply fmt.

* Change cargo hack install logic.

* Revert clippy change client buffer len.

* Revert clippy ignore.

* remove cargo hack, relax clippy lints

* remove unused features and dead tests

* appease clippy again

* remove dead features

---------

Co-authored-by: sinui0 <65924192+sinui0@users.noreply.github.com>
2024-07-22 12:44:55 +09:00
ntampakas
b24aea4fad ci: add check to identify number of stable versions deployed (#532)
Co-authored-by: yuroitaki <t.kleinchong@gmail.com>
2024-07-16 21:55:08 +08:00
yuroitaki
d8401ee177 cd: update executable path for easier debugging. (#520) 2024-07-09 18:45:17 +08:00
yuroitaki
44210c350b fix: miscellaneous fixes on documentations (#528)
* fix: miscellaneous fixes on documentation, notary-server.

* Revert notary changes.

* Add warning when TLS is off.
2024-07-09 16:03:14 +08:00
sinu.eth
3554db83e1 chore: release v0.1.0-alpha.6 (#523)
Co-authored-by: yuroitaki <t.kleinchong@gmail.com>
v0.1.0-alpha.6
2024-06-26 18:01:50 +08:00
sinu.eth
2f675925d8 chore: bump tlsn-utils (#522) 2024-06-26 11:47:11 +02:00
Hendrik Eeckhaut
da0421dc6a Update Examples (#525)
* doc: Update Twitter URL to X.com and update example READMEs

+ recommend explorer instead of proof_viz
2024-06-26 11:32:40 +02:00
sinu
cef1e3878a chore: bump mpz version 2024-06-25 15:10:20 -07:00
sinu
4fdce7f391 chore: update CI config 2024-06-25 15:10:20 -07:00
sinu.eth
9828fbbd04 chore: remove stale test and clean up ci job (#514)
* chore: remove stale test and clean up ci job

* add ignored option

* comment
2024-06-25 15:10:20 -07:00
sinu.eth
1741741945 refactor(tlsn): mpz upgrade (#512)
* refactor(tlsn): mpz upgrade

* PR feedback
2024-06-25 15:10:20 -07:00
sinu.eth
aa189ca884 refactor(tls-mpc): mpz upgrade (#511)
* refactor(tls-mpc): mpz upgrade

* bump tlsn-utils version
2024-06-25 15:10:20 -07:00
sinu.eth
58dc575c4d refactor(aead): mpz upgrade (#504)
* refactor(aead): mpz upgrade

Co-authored-by: th4s <th4s@metavoid.xyz>

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: th4s <th4s@metavoid.xyz>
Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-06-25 15:10:20 -07:00
th4s
bd4ff5f5b0 Adapt allocation to free squaring. (#507) 2024-06-25 15:10:20 -07:00
sinu.eth
5698d22718 refactor(prf): relax hiding of transcript hash, optimize latency (#505)
* refactor(prf): relax hiding of transcript hash, optimize latency

* PR feedback
2024-06-25 15:10:20 -07:00
sinu.eth
bce09b8d4c chore(uid-mix): delete crate, moved to tlsn-utils (#506) 2024-06-25 15:10:20 -07:00
sinu.eth
bd32c7bb67 refactor(prf): mpz upgrade (#497)
* refactor(prf): mpz upgrade

* consolidate vd methods

* Update components/prf/hmac-sha256/src/lib.rs

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-06-25 15:10:20 -07:00
sinu.eth
d040341585 refactor(cipher): mpz upgrade (#501)
* refactor(cipher): mpz upgrade

* add debug impl

* bug fix

* update expect messages
2024-06-25 15:10:20 -07:00
sinu.eth
76969bb558 refactor(key-exchange): mpz upgrade (#496)
* refactor: mpz upgrade key exchange

* Update components/key-exchange/src/config.rs

Co-authored-by: th4s <th4s@metavoid.xyz>

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

* use chacha12 for tests

---------

Co-authored-by: th4s <th4s@metavoid.xyz>
Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-06-25 15:10:20 -07:00
sinu.eth
44930c0add refactor(universal-hash): mpz upgrade (#502)
Co-authored-by: th4s <th4s@metavoid.xyz>
2024-06-25 15:10:20 -07:00
sinu.eth
173f59b04a chore: add rebase action (#515)
* chore: add rebase action

* Apply suggestions from code review

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-06-25 10:59:18 -07:00
yuroitaki
d64dabbf27 chore: update notary cert (#519)
* Renew notary server cert.

* Fix readme typo on ci icon.
2024-06-25 16:58:17 +08:00
yuroitaki
c82cc4f0a3 Fix cd script after notary folder restructuring. (#516) 2024-06-25 15:54:31 +08:00
yuroitaki
c80b44049f refactor: restructure notary crates (#508)
* Add tlsnotary client.

* Modify notary server test to use notary client.

* Modify examples to use notary client.

* Relocate notary client to notary folder.

* Update notary client.

* Fix ci notary name.

* Update .github/workflows/cd-server.yml

Co-authored-by: dan <themighty1@users.noreply.github.com>

* Update .github/workflows/cd.yml

Co-authored-by: dan <themighty1@users.noreply.github.com>

* Fix notary server readme.

* More fix on notary server doc.

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-06-25 10:34:25 +08:00
yuroitaki
bff2a5381d Add notary client crate (#489)
* Add tlsnotary client.

* Modify notary server test to use notary client.

* Modify examples to use notary client.

* Fix formatting and comments.

* Fix PR comments.

* Fix PR comments.

* Fix formatting.

* Fix errors, tokio and comments.

* Remove optional tracing feature.

* Fix comment styles.

* Fix incorrect duplex value.
2024-06-18 17:35:43 +08:00
sinu.eth
e19e445f7f fix(tlsn-server-fixture): update cert fixtures (#499)
* fix(tlsn-server-fixture): update cert fixtures

* fix cert fmt

* qualify file name with cert suffix
2024-06-14 14:29:16 -07:00
Hendrik Eeckhaut
474d22a7e3 ci: Refactor and improve CI build (#486)
+ Make sure doctests are run in ci
+ Updated plugins
2024-05-24 21:32:34 +01:00
yuroitaki
23450a3d38 Setup discord example to show how to increase max transcript size. (#485) 2024-05-20 11:40:43 +08:00
dan
3506791df1 doc: update CONTRIBUTING.md (#483)
Add missing newline.
2024-05-08 05:35:34 +00:00
yuroitaki
ea2a8fd80c Update hyper dependencies for notary-server and all server fixtures (#480)
* Update hyper, axum dependencies for notary-server.

* Update hyper dependencies in all server fixtures.

* Correct formatting.

* Update tlsn/Cargo.toml

Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>

---------

Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
2024-05-08 11:56:31 +08:00
yuroitaki
c157c2d3ea Use sync mutex for store in notary server (#482)
* Fix clippy error.

* Use sync mutex for store.
2024-05-06 12:09:29 +08:00