Commit Graph

683 Commits

Author SHA1 Message Date
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
yuroitaki
dc0b887966 Fix clippy error from rust toolchain 1.78.0. (#481) 2024-05-03 18:52:54 +08:00
dan
c431865aea docs: fix style in components (except tls) (#477)
* docs: fix style in components (except tls)

* Update components/cipher/stream-cipher/src/lib.rs

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

* Update components/universal-hash/src/ghash/ghash_core/mod.rs

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

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-04-30 10:08:53 +00:00
dan
9fc0d9162d docs: fix style (#476) 2024-04-25 12:37:40 +00:00
dan
f63a74efe8 docs: misc fixups (#475) 2024-04-24 13:47:21 +00:00
Hendrik Eeckhaut
f558d5bc44 Update rust cache in github action (#453)
ci: Update rust cache in GitHub action and do not skip draft PRs
2024-04-24 14:12:40 +02:00
sinu.eth
68b9474015 fix: drop connection instead of manual close, enable deferred decryption (#472) v0.1.0-alpha.5 2024-04-09 08:47:53 -08:00
Christopher Chong
b4334ad17d chore: Bump versions for release alpha.5. (#470)
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
2024-04-08 08:42:51 -08:00
Hendrik Eeckhaut
d53203e276 docs: List interative example in the examples README (#471)
#451
2024-04-08 08:31:25 -08:00
Christopher Chong
5c0a0309e9 Add api key whitelist hot reloading and small touch-up (#458)
* Add hot reload of api key, remove prover ip, move html static text.

* Add documentation.

* Toggle back config, add comments.

* Edit comment and html info.

* Edit comment.

* Change to sync mutex.
2024-04-04 17:02:22 +08:00
Christopher Chong
a4c7760aec Correct branch links in readme. (#469)
* Add branches info in readme.

* Correct branch links.
2024-03-29 14:46:58 +08:00
Christopher Chong
9e041b81e8 Add branches info in readme. (#467) 2024-03-29 11:23:43 +08:00
ntampakas
173945dd0a Deployment of multiple stable versions (#459)
* Remove cargo/bin from PATH

* Modify script to run only in nightly env

* Modify script to stop the oldest version in stable env

* Modify script to support dir preparation for the 3 latest stable versions

* Modify script to start service for the 3 latest stable versions

* Modify sercice validation script

* Create proxy modification script

* Add step in workflow to enable ssm execution against proxy + aux script

* Add running state filter when fetching InstanceID

* Enhancement of validation script

* Modify bash behavior

* Point tags/deployment to new AWS resources

* Change GH owner to production one

* Point tags to new EC2 v1

* Move all cd scripts to a new folder

* Add comment

* Add comment

* Add comment

* Add comment

* Modify scripts to support exit on error

* Check if all stable ports are in use and terminate
2024-03-29 11:10:18 +08:00
Hendrik Eeckhaut
aa264a90cb perf: Docker container for running benches + manual GitHub action (#460)
+ Plot runtime vs latency graph  and bandwidth
2024-03-26 08:44:08 +01:00
sinu.eth
3e29a5bfe5 feat: record layer preprocessing (#455)
* feat: implement record layer preprocessing

* fix ke test

* fix pa tests

* fix aead tests

* fix integration test

* Apply suggestions from code review

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

* add mode sanity check

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-03-25 08:58:52 -08:00
sinu.eth
9a081c6cbc feat: automated network benches (#457)
* feat: automated network benches

* Update tlsn/benches/src/metrics.rs

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

* remove explicit drops

* remove unnecessary sudo

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-03-20 09:01:40 -08:00
sinu.eth
19e9c50f35 fix(tlsn-formats): fix commitment error caused by empty headers (#452) 2024-02-29 21:46:42 -08:00
Hendrik Eeckhaut
d7bc0e5cae feat: interactive verifier example (#451)
#440

Co-authored-by: Christopher Chong <t.kleinchong@gmail.com>
2024-02-29 22:18:41 +01:00
Christopher Chong
eec93101bc Update repo readme. (#450)
* Update repo readme.

* Doc: Added minor improvements + a link to other repos

#353

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-02-28 11:37:11 -08:00
sinu.eth
2372403d38 feat: separate transcript size limits (#435)
* feat(tls-mpc): separate transcript size limits

* feat: separate transcript limits

* feat(tlsn-server-fixture): configurable length byte payload

* refactor(tls-mpc): use defaults in ghash setup

* fix OT estimates

* feat(notary-server): separate transcript limits

* remove dep patch

* fix notary server test
2024-02-21 12:24:42 -08:00
Hendrik Eeckhaut
be24f58364 Show basic html info response for notary server's root endpoint (#439)
feat: basic html info response for notary server's root endpoint

Co-authored-by: Christopher Chong <t.kleinchong@gmail.com>
2024-02-15 14:48:14 +01:00
Christopher Chong
1e99db879a Update notary server README for frequent q&a. (#441) 2024-02-15 16:27:41 +08:00
sinu.eth
309c37fdec chore: v0.1.0-alpha.4 release prep (#437)
* bump version to v0.1.0-alpha.4

* set package version for tlsn-formats
v0.1.0-alpha.4
2024-02-13 10:15:25 -08:00
sinu.eth
c7abc8cecd chore: bump deps (#430)
* chore: bump tlsn-utils version

* chore: bump mpz version

* bump mpz
2024-02-13 09:37:13 -08:00