th4s
6ccf102ec8
feat(prf): reduced MPC variant ( #735 )
...
* feat(prf): reduced MPC variant
* move sending `client_random` from `alloc` to `preprocess`
* rename `Config` -> `Mode` and rename variants
* add feedback for handling of prf config
* fix formatting to nightly
* simplify `MpcPrf`
* improve external flush handling
* improve control flow
* improved inner control flow for normal prf version
* rename leftover `config` -> `mode`
* remove unnecessary pub(crate)
* rewrite state flow for reduced prf
* improve state transition for reduced prf
* repair prf bench
* WIP: Adapting to new `Sha256` from mpz
* repair failing test
* fixed all tests
* remove output decoding for p
* do not use mod.rs file hierarchy
* remove pub(crate) from function
* improve config handling
* use `Array::try_from`
* simplify hmac to function
* remove `merge_vecs`
* move `mark_public` to allocation
* minor fixes
* simplify state logic for reduced prf even more
* simplify reduced prf even more
* set reduced prf as default
* temporarily fix commit for mpz
* add part of feedback
* simplify state transition
* adapt comment
* improve state transition in flush
* simplify flush
* fix wasm prover config
---------
Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com >
2025-05-13 09:26:43 -07:00
sinu.eth
2c500b13bd
chore: bump mpz to alpha.3 ( #806 )
...
* temporary remove hmac crates
* wip: adapting cipher crate...
* wip: adapting key-exchange crate...
* wip: adapt most of mpc-tls...
* adapt prover and verifier crates
* remove unnecessary rand compat import for deap
* adapt mpc-tls
* fix: endianness of key-exchange circuit
* fix: output endianness of ke circuit
* fix variable name
---------
Co-authored-by: th4s <th4s@metavoid.xyz >
2025-05-13 09:03:09 -07:00
Hendrik Eeckhaut
2da0c242cb
build: Check in Cargo lock files ( #742 )
2025-05-12 10:22:13 +02:00
th4s
798c22409a
chore(config): move defer_decryption_from_start to ProtocolConfig
2025-05-10 11:41:01 +02:00
dan
3b5ac20d5b
fix(benches): browser bench fixes ( #821 )
...
* fix(benches): make browser benches work again
* Update crates/benches/binary/README.md
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org >
* Update crates/benches/browser/wasm/Cargo.toml
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org >
* add --release flag
---------
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org >
2025-05-08 06:13:15 +00:00
Hendrik Eeckhaut
a063f8cc14
ci: build gramine-sgx for dev and tagged builds only ( #805 )
2025-05-05 17:16:50 +02:00
dan
6f6b24e76c
test: fix failing tests ( #823 )
2025-05-05 17:01:42 +02:00
dan
a28718923b
chore(examples): inline custom crypto provider for clarity ( #815 )
...
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com >
2025-04-30 06:41:07 +00:00
Hendrik Eeckhaut
19447aabe5
Tee dev cleanup ( #759 )
...
* build: added scripts for local tee/sgx development
* Improved documentation: move all explanation to one README file
2025-04-28 14:46:32 +02:00
Jakub Konka
8afb7a4c11
fix(notary): use custom HTTP header for authorization: X-API-Key ( #804 )
...
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com >
2025-04-28 14:24:32 +08:00
dan
43c6877ec0
chore: support workspace lints in all crates ( #797 )
2025-04-25 13:58:26 +02:00
dan
39e14949a0
chore: add rustls licence and attribution ( #795 )
...
* chore: add rustls licence and attribution
* add missing commit
2025-04-25 07:10:49 +00:00
dan
31f62982b5
feat(wasm): allow max records config ( #810 )
2025-04-25 06:34:49 +00:00
yuroitaki
6623734ca0
doc(example): add comments on verifying custom extension ( #788 )
...
* Add comments.
* Fix comment.
---------
Co-authored-by: yuroitaki <>
2025-04-25 11:18:47 +08:00
Hendrik Eeckhaut
41e215f912
chore: set version number to 0.1.0-alpha.11-pre ( #798 )
2025-04-23 13:19:05 +02:00
dan
9e0f79125b
misc(notary): improve error msg when tls is expected ( #776 )
...
* misc(notary): improve error msg when tls is expected
* change wording
* fix nested if
* process hyper error
* refactor into a fn
* fix error msg
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com >
* do not catch hyper error
---------
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com >
2025-04-22 12:03:23 +00:00
Hendrik Eeckhaut
7bdd3a724b
fix: Add missing concurrency param in tee config ( #791 )
2025-04-22 11:19:35 +02:00
dan
baa486ccfd
chore(examples): fix formatting ( #793 )
2025-04-21 08:46:28 +00:00
sinu.eth
de7a47de5b
feat: expose record count config ( #786 )
...
* expose record config
* update default record counts
* make fields optional
* override record count in integration test
v0.1.0-alpha.10
2025-04-18 14:58:28 +07:00
sinu.eth
3a57134b3a
chore: update version to alpha.10 ( #785 )
2025-04-18 08:54:55 +02:00
sinu.eth
86fed1a90c
refactor: remove extension api from request builder ( #787 )
2025-04-18 13:01:28 +07:00
sinu.eth
82964c273b
feat: attestation extensions ( #755 )
...
* feat: attestation extensions
* rustfmt
* fix doctest example
* add extensions getter to public api
* add tests
* fix prover so it includes extensions
2025-04-17 23:15:27 +07:00
yuroitaki
81aaa338e6
feat(core): find set cover across different commitment kinds in TranscriptProofBuilder ( #765 )
...
* Init.
* Cover range in order of preference of kinds.
* Fix comment.
* Adjust error message.
* Return tuple from set cover and address comments.
* Fix comments.
* Update utils version.
---------
Co-authored-by: yuroitaki <>
Co-authored-by: dan <themighty1@users.noreply.github.com >
2025-04-17 15:16:06 +08:00
dan
f331a7a3c5
chore: improve naming and comments ( #780 )
2025-04-17 06:43:30 +00:00
dan
adb407d03b
misc(core): simplify encoding logic ( #781 )
...
* perf(core): simplify encoding logic
* make constant-time
2025-04-15 14:50:53 +00:00
dan
3e54119867
feat(notary): add concurrency limit ( #770 )
...
* feat(notary): add concurrency limit
* switch to 503 status code
* remove test-api feature
* improve naming and comments
* set default concurrency to 32
2025-04-15 12:31:16 +00:00
Hendrik Eeckhaut
71aa90de88
Add tlsn-wasm to API docs ( #768 )
2025-04-10 13:35:20 +02:00
sinu.eth
93535ca955
feat(mpc-tls): improve error message for incorrect transcript config ( #754 )
...
* feat(mpc-tls): improve error message for incorrect transcript config
* rustfmt
---------
Co-authored-by: dan <themighty1@users.noreply.github.com >
2025-04-07 10:44:02 +00:00
sinu.eth
a34dd57926
refactor: remove utils-aio dep ( #760 )
2025-04-03 04:58:14 +07:00
yuroitaki
92d7b59ee8
doc(example): add minor comments ( #761 )
...
* Add comments.
* Remove commented leftover.
* Remove example tweak.
* fmt.
---------
Co-authored-by: yuroitaki <>
2025-04-02 14:29:26 +08:00
Leonid Logvinov
c8e9cb370e
feat(notary): Log notarization elapsed time ( #746 )
...
* Log notarisation elapsed time
* Fix formatting
* Include time units in field name
2025-03-27 08:08:29 -07:00
dan
4dc5570a31
MIsc comments ( #747 )
...
* fix comments
* fix comment
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com >
* describe all args
* change decrypted plaintext -> plaintext
* remove redundant comments
---------
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com >
2025-03-27 13:42:41 +00:00
Hendrik Eeckhaut
198e24c5e4
ci: manual workflow for tlsn-wasm release ( #757 )
2025-03-27 14:33:46 +01:00
dan
f16d7238e5
refactor(core): DoS mitigation and additional validation ( #648 )
...
* add encoding proof validation
* check that merkle tree indices are not out of bounds
* limit opened plaintext hash data
* add test
* formatting
* bump commitment tree size cap to 30 bits
* remove unnecessary test
* fix stray lines
2025-03-27 12:54:05 +00:00
dan
9253adaaa4
fix: avoid mutating self in TagShare::add ( #748 )
2025-03-27 12:46:27 +00:00
Hendrik Eeckhaut
8c889ac498
ci: SGX build: drop TEE GH environment, use regular secret ( #751 )
2025-03-27 11:40:04 +01:00
Hendrik Eeckhaut
f0e2200d22
ci: disable codecov annotation and comments in Github ( #752 )
2025-03-26 14:49:14 +01:00
Hendrik Eeckhaut
224e41a186
chore: Bump version to 0.1.0-alpha.10-pre
2025-03-25 14:28:26 +01:00
Hendrik Eeckhaut
328c2af162
fix: do not enable tee_quote feature by default ( #745 )
v0.1.0-alpha.9
2025-03-25 11:24:43 +01:00
sinu.eth
cdb80e1458
fix: compute recv record count from max_recv ( #743 )
...
* fix: compute recv record count from max_recv
* pad after check
* fix: add `max_recv` to mpc-tls integration test
---------
Co-authored-by: th4s <th4s@metavoid.xyz >
2025-03-25 11:04:07 +01:00
Hendrik Eeckhaut
eeccbef909
ci: script to patch imports in the tlsn-wasm build result ( #727 )
2025-03-20 21:47:47 +01:00
sinu
190b7b0bf6
ci: update tlsn-wasm release workflow
2025-03-20 11:10:28 -07:00
sinu
c70caa5ed9
chore: release v0.1.0-alpha.9
2025-03-20 11:06:57 -07:00
sinu.eth
20137b8c6c
fix(notary): install libclang in docker image ( #740 )
2025-03-20 10:53:32 -07:00
yuroitaki
4cdd1395e8
feat(core): find set cover solution for user in TranscriptProofBuilder ( #664 )
...
* Add reveal groups of ranges.
* Reveal committed ranges given a rangeset.
* Fix test and wordings.
* Fix wordings.
* Add reveal feature for hash commitments.
* Formatting.
* Fix wording.
* Add subset check.
* Add subset check.
* Add clippy allow.
* Fix missing direction in transcript index lookup.
* Fix prune subset.
* Refactor proof_idxs.
* Throw error if only one subset detected.
* Fix superset reveal.
* Fmt.
* Refactored Ord for Idx.
* Update crates/core/src/transcript/proof.rs
Co-authored-by: dan <themighty1@users.noreply.github.com >
* Adjust example and comments.
* Adjust comments.
* Remove comment.
* Change comment style.
* Change comment.
* Add comments.
* Change to lazily check set cover.
* use rangeset and simplify
* restore examples
* fix import
* rustfmt
* clippy
---------
Co-authored-by: yuroitaki <>
Co-authored-by: dan <themighty1@users.noreply.github.com >
Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com >
2025-03-20 07:55:13 -07:00
Leonid Logvinov
c1b3d64d5d
feat(notary): Make logging format configurable ( #719 )
...
* Make logging format configurable
* Document logging format
* Fix formatting
* Init server config with default value
s in notary interation tests
2025-03-19 10:57:00 -07:00
sinu.eth
61ce838f8c
refactor: migrate to rand 0.9 ( #734 )
...
* refactor: migrate to rand 0.9
* fix: enable wasm_js feature for getrandom
* fix: set getrandom cfg
* fix: clippy
* fix: notary server rand
* fix cargo config
2025-03-19 10:36:24 -07:00
dan
efca281222
feat: Ethereum compatible signer ( #731 )
...
* feat: add ethereum-compatible signer
* fix recovery id
* test with a reference signer
2025-03-19 10:17:47 -07:00
sinu.eth
b24041b9f5
fix: record layer handshake control flow ( #733 )
2025-03-17 11:04:41 -07:00
th4s
9649d6e4cf
test(common): Add test for TranscriptRefs::get ( #712 )
...
* test(common): add test for transcript refs
* doc: improve doc for test
---------
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org >
Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com >
2025-03-17 10:02:19 -07:00