Commit Graph

70 Commits

Author SHA1 Message Date
Hendrik Eeckhaut
1ded4136bf Interactive Prover in Typescript (Verifier in Rust) (#74)
feat: interactive verifier demo

* Verifier in Rust
* Prover in both Rust and TypeScript/React

---------
Co-authored-by: Pete Thomas <pete@xminusone.net>
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com>
2024-11-05 22:41:30 +07:00
tsukino
18a30d32c1 fix: bump tlsn-wasm to alpha.7.1 and move to dependency (#71) v0.1.0-alpha.7 2024-10-04 05:34:46 -04:00
tsukino
b95c8f0159 feat: integrate with alpha.7 (#67) 2024-10-04 04:40:08 -04:00
Hendrik Eeckhaut
756cdb4f1f doc: added warning: do not treat as api yet (#55) 2024-09-20 01:20:16 -04:00
Hendrik Eeckhaut
313896a986 doc: Fix quickstart to work with notary server alpha.6 (#64) 2024-08-16 07:45:20 -04:00
tsukino
7b78fbca61 feat: add helper method and expose wasm types (#63) 2024-08-14 06:04:54 -04:00
tsukino
24aa329210 chore: update readme (#62) 2024-08-12 06:10:21 -04:00
tsukino
e4a8a9c723 feat: upgrade to alpha.6 and new tlsn-wasm prover (#61)
* Revert "chore: release v0.1.0-alpha.6 (#57)"

This reverts commit 292b4263d7.

* parsed json

* add json commitments

* parse json from transcript

* wip

* wip

* wip

* feat: update to alpha.6

* chore: commit wasm pkg directory

* chore: version nump

* fix: test suite for alpha.6

* fix: remove wasm build from ci

* fix: update pnpm lockfile

* fix: remove test:wasm

* fix: linter and add new devDependency
2024-08-12 05:52:19 -04:00
Hendrik Eeckhaut
292b4263d7 chore: release v0.1.0-alpha.6 (#57) 2024-06-26 08:18:49 -04:00
tsukino
58c7132d6c chore: version alpha.5.3 (#53) v0.1.0-alpha.5.3 2024-05-21 09:33:31 -04:00
Hendrik Eeckhaut
353b3981ca Config logging (#51)
* feat: Configurable logging

#48

* feat: allow to set logging filter at start of app

* chore: fix linter

---------

Co-authored-by: tsukino <0xtsukino@gmail.com>
2024-05-21 09:27:20 -04:00
Hendrik Eeckhaut
3159dc9b3b docs: Add license information (#50) 2024-05-21 08:03:26 -04:00
Hendrik Eeckhaut
2d7016ede2 doc: use websocat instead of websockify in quickstart (#49)
* doc: use websocat instead of websockify in quickstart

* Update quickstart.md

Co-authored-by: Christopher Chong <t.kleinchong@gmail.com>

* Update readme.md

Co-authored-by: Christopher Chong <t.kleinchong@gmail.com>

---------

Co-authored-by: Christopher Chong <t.kleinchong@gmail.com>
2024-05-06 04:47:22 -04:00
Christopher Chong
92d7d68c34 Merge pull request #46 from tlsnotary/wasm_test_action
Run wasm_bindgen_test in GitHub Action
2024-04-14 14:55:15 +03:00
Hendrik Eeckhaut
42866bf592 Run wasm_bindgen_test in GitHub Action 2024-04-13 19:19:43 +02:00
tsukino
42dd75526e fix: parse version from notary url (#45)
* fix: parse version from notary url

* fix: rename variable

* fix: bump version in demo

* fix: change version in quickstart.md
v0.1.0-alpha.5.2
2024-04-09 12:44:28 -04:00
tsukino
73c2a2b631 fix: fix url in prover.rs 2024-04-09 23:50:58 +08:00
tsukino
3bb22ba9f7 chore: bump version to v0.1.0-alpha.5.0 2024-04-09 22:27:56 +08:00
Hendrik Eeckhaut
672bd79cec Changes for alpha5 release (#44)
* WIP: preparing for alpha5 release

* Put version number in notary url

* chore: updating deps for alpha-5 release

* refactor: updated prover and request options for alpha-5

* chore: adding tracing crate back

* feature: max_sent_data set to the length of the request as per sinu

---------

Co-authored-by: Tanner Shaw <traumaaa@gmail.com>
2024-04-09 09:44:00 -04:00
Hendrik Eeckhaut
e2940efd9e Set up a tracing subscriber to push TLSN logs to the console #34 (#42)
feat: Use tracing_web instead of web_sys logging

#34
2024-03-29 08:33:51 +01:00
tsukino
b18fe34528 chore: fix test in github action (#41)
* Typescript tests in chrome

* increase timeout to 5min

* close page

* force close browser

* force exit process

* refactor: clean up test code

* chore: update readme for adding a new test
2024-03-28 07:17:21 -04:00
tsukino
1ebbde57cc chore: version pump 2024-03-27 15:34:28 +08:00
Hendrik Eeckhaut
7154fa1235 doc: Add explicit note on using nodejs (#37) 2024-03-20 21:20:57 -04:00
Hendrik Eeckhaut
c072b579f2 build: git ignore lock files 2024-03-12 14:40:13 +01:00
tsukino
967c59e003 fix: use latest version instead of local dependency 2024-03-12 14:40:13 +01:00
Hendrik Eeckhaut
36e9a9fcf4 Update Hyper dependency (#33)
chore: Update hyper dependency to 1.1

Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com>
2024-03-12 14:13:02 +01:00
Hendrik Eeckhaut
0bc25357de feat: Simplified fetch method (Rust wasm_bindgen) 2024-03-12 10:10:29 +01:00
Hendrik Eeckhaut
a94b82462c refactor: Split Prover and Verifier in separate files
# Conflicts:
#	wasm/prover/src/lib.rs
2024-03-12 10:10:29 +01:00
Hendrik Eeckhaut
cac7ae4ce6 ci: Update versions in GitHub build action + correct cache setting 2024-03-12 10:04:13 +01:00
sinu
6e5184b8aa enable deferred decryption a bit later 2024-03-11 15:03:34 +01:00
sinu
dd6edfc8a3 feat: enable deferred decryption 2024-03-11 15:03:34 +01:00
Hendrik Eeckhaut
c286586fce Update readme.md 2024-03-11 08:59:52 +01:00
Hendrik Eeckhaut
68c4a23598 test: added Rust WASM test for the Verifier
+ Run WASM test with GitHub actions
2024-03-08 11:54:50 +01:00
Hendrik Eeckhaut
5d67c5bd08 ci: Updated github actions 2024-03-08 11:54:50 +01:00
Hendrik Eeckhaut
cf0c3a8a7e ci: Disable Typescript tests for now 2024-03-08 11:54:50 +01:00
tsukino
06189d6bdf chore: version update 2024-02-22 09:35:43 -07:00
tsukino
bc93d4e46b fix(wasm): change commit_sent to commit_recv (#23)
* fix(wasm): change commit_sent to commit_recv

* fix: fix tests (alpha4)

* test: Test redactions

* fix: skip puppeteer chrome install

* chore: fix linter

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-02-22 10:54:35 -05:00
Hendrik Eeckhaut
9eeb1914af feat: Better logging in prover task
# Conflicts:
#	wasm/prover/src/lib.rs
2024-02-22 12:02:05 +01:00
Hendrik Eeckhaut
1415792f9e fix: correct tlsn-js dependency + add wasm to build result (#21) 2024-02-18 04:36:20 -05:00
tsukino
644ece89e3 chore: fix test specs (#20) v0.1.0-alpha.4 2024-02-16 05:03:00 -05:00
Hendrik Eeckhaut
238a64bf2b feat: Improve order of operations to avoid server timeouts (#19)
#18
2024-02-16 04:59:23 -05:00
tsukino
829b59df81 chore: add react/typescript demo and quick start (#14)
* chore: add react/typescript demo and quick start

# Conflicts:
#	package.json

* doc: improve quickstart

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-02-15 05:52:50 -05:00
Hendrik Eeckhaut
afe9e48740 Update tlsn-js to use tlsn alpha4 (#17)
* build: Update tlsn dependency to v0.1.0-alpha.4

* chore: resolve lint warnings
2024-02-15 01:06:50 -05:00
tsukino
079f1a314c chore: add unit test using puppeteer (#12)
* chore: add unit test using puppeteer

* chore: add package-lock

* chore: add package-lock

* fix: temporary workaround for issue in time crate

* experimenting with tests

* chore: make testRunner more modular

* feat: add simple-verify test

* chore: add test to github action

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-02-08 21:45:31 -05:00
tsukino
b8d76aa9bc chore: update package-lock 2024-02-01 10:37:32 +08:00
tsukino
7603b3de13 feat: add public key override to verify (#13) 2024-01-31 21:33:34 -05:00
tsukino
e7f46fc41b Revert "fix: api change in SessionProof" (#11) 2024-01-30 09:48:19 -05:00
Hendrik Eeckhaut
3ba4269fdc fix: api change in SessionProof (#7) 2024-01-30 09:42:01 -05:00
Hendrik Eeckhaut
6933e16ca6 docs: added note on wasm compilation with clang to README (#9) 2024-01-30 09:41:14 -05:00
tsukino
4f9c6f3ee6 fix: enable error catching for wasm module (#10)
* wip: testing error catching

* chore: version update

* chore: add mocha test boilerplate

* chore: fix linter
2024-01-30 09:38:18 -05:00