Commit Graph

68 Commits

Author SHA1 Message Date
Hendrik Eeckhaut
bc69683ecf ci: build notary docker image for both dev branch and releases (#726) 2025-03-12 18:03:01 +01:00
Hendrik Eeckhaut
dcff0b9152 ci: update cache plugin 2025-03-11 09:55:12 +01:00
sinu
d8747d49e3 chore: release alpha.8 2025-03-07 14:51:11 -08:00
sinu.eth
6d1140355b build: separate clippy and keep going (#715) 2025-03-07 11:15:00 -08:00
Hendrik Eeckhaut
29efc35d14 ci: create notary-server-sgx docker image 2025-03-06 11:25:53 +01:00
Hendrik Eeckhaut
be0be19018 ci: calculate SGX mr_enclave for notary server in gramine docker (#701)
* calculate SGX mr_enclave for notary server in gramine docker
* remove old tee github workflow
* attest build result for dev branch builds and releases
2025-03-03 13:29:47 +01:00
Hendrik Eeckhaut
f59153b0a0 ci: fix TEE deployments (#686)
* do not run tee-deployments builds for PR builds
* Remove AWS deployment scripts
* added missing timeout parameter to TEE config
2025-02-20 11:58:13 +01:00
Hendrik Eeckhaut
85e0f5b467 Clean up tlsn-wasm build (#553)
ci: automate tlsn-wasm build + store artifact for tags + manual workflow for npm release

+ Improved package: add description, repo information etc
2024-12-06 11:03:23 +01:00
Ryan MacArthur
cacca108ed ci: SGX 2024-12-05 08:59:19 +01:00
dan
e6bc93c1f1 Memory profiling (#658)
* (squashing to simplify rebase)
rebased on dev
reorganized files
fix gh workflow

* modify workflow

* update dockerfile
Co-authored-by: valo <valo@users.noreply.github.com>
2024-10-29 16:20:00 +00:00
dan
2042089132 Test/benches fixes (#636)
* add header

* combine into a single workflow

* fix wsrelay commit
2024-10-17 12:24:10 +00:00
dan
6b845fd473 test: add browser benches (#570)
* refactor: modularize server-fixture

* Update crates/server-fixture/server/Cargo.toml

add newline

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

* test: add browser benches

* fix deps

* ci: run ci workflow for all pull requests (#571)

* misc fixes

* fix clippy

* don't log a non-critical error to stderr

* use incognito (mitigates random hangs)

* add notes

* distinguish prover kind when plotting

---------

Co-authored-by: sinu.eth <65924192+sinui0@users.noreply.github.com>
Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
Co-authored-by: Ubuntu <ubuntu@ip-10-35-1-164.eu-central-1.compute.internal>
2024-10-14 13:52:52 +00:00
Hendrik Eeckhaut
61ff3a8255 ci: Try codecov.io 2024-10-08 09:59:09 +02:00
Hendrik Eeckhaut
2ac9de1edd ci: generate coverage report 2024-10-08 09:59:09 +02:00
Hendrik Eeckhaut
a4a0de02f9 ci: run test with debug logging, not the build 2024-09-13 09:46:22 +02:00
th4s
32df1380a7 fix: aead unit tests no longer deadlock
* fix: add back unit tests and configure rayon threadpool

* Use env var to set rayon threads.

* Remove `rayon` dev dependency.
2024-09-02 09:06:38 +02: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
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
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
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
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
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
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
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
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
ntampakas
b984b074be Deployment of notary-server using GH Actions & AWS CodeDeploy (#419)
* Add CodeDeploy appspec file + hooks

* Add workflow + build/deploy aux scripts

* Decrease timeout

* Remove sleep

* Replace testing repo -> prod

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

* Rename appspec scripts folder name

* Rename workflow / change workflow event triggers / wait for ci success run

* Rename aux script names

* Install stable rust / use caching

* Add PR URL

* Move .git dir copy to S3 before cargo build

* Remove swp file

* Modify concurrency group

* Manipulate environment on push

* Fix typo

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2024-01-31 00:57:32 +08:00
Hendrik Eeckhaut
2d205f66fe Add ci build for WASM target for specific packages (#394)
Build tlsn-core, tlsn-prover and tls-client for wasm
2023-12-18 15:30:16 +01:00
Christopher Chong
3d40995347 Optimise test to use release profile to speed up notary server integration test (#393)
* Optimise test.

* Restrict release profile to notary server tests.
2023-12-13 15:19:14 +08:00
Hendrik Eeckhaut
f031a5b34e Enable clippy for examples in ci build (#373)
Enable clippy for examples in ci build

#372
2023-10-25 00:06:57 +02:00
sinu.eth
ce80e75461 refactor: tlsn-verifier (#360)
* rename tlsn-notary crate to tlsn-verifier

* move to tls module, encapsulate notary functionality

* remove unused future

* Add comment to `notarize` function

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

* update notary-server

* remove redundant fuse, fix comment

* fix rustdocs action

* fix tlsn-prover fut

---------

Co-authored-by: th4s <th4s@metavoid.xyz>
2023-10-18 11:54:36 -07:00
Christopher Chong
4408dfa316 Migrate notary-server repo (#358)
* Migrate notary-server repo in, merge in github actions, update dockerfile and readme.

* Correct formatting.

* Move clippy back to original order.

* Fix clippy warning.

* The notary server was moved to this repo

#358

* Modify comments.

* Add session id query param PR changes.

* Fix cd issue and client bug.

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2023-10-13 15:08:00 +08:00
sinu.eth
1c7273143e tlsn-core fixtures (#359)
* move fixtures back into tlsn-core crate

* add --all-features tests

* limit --all-features tests to tlsn workspace

* satisfy clippy

* fix eph key fixture

* Update tlsn/tlsn-core/src/fixtures/cert.rs

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

* remove webpki tests, and factor out cert verifier

* fix unused import

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2023-10-10 13:13:40 -07:00
Hendrik Eeckhaut
694770c24d Check that benches compile in GitHub workflow (#350)
#349
2023-09-24 20:55:47 -04:00
Hendrik Eeckhaut
407fcb979b Publish rustdoc to gh-pages branch (#337)
Signed-off-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2023-09-20 09:52:35 +02:00
sinu.eth
832d1baec1 MPZ bump (#310)
* bump mpz commit

* fix prf

* fix point addition

* fix ghash

* tests passing

* update tlsn

* bump mpz version

* delete actors

* fix tls-mpc test

* reduce ot setup count in test

* bump mpz version

* remove unnecessary associated type

* rustfmt

* pin tlsn-utils
2023-09-04 22:57:09 -07:00
sinu.eth
2b6cf70acc ci: disable fail fast (#314) 2023-08-30 11:29:51 -07:00
Hendrik Eeckhaut
864e8ce6c4 Enable Clippy in ci build 2023-06-23 10:48:11 +02:00
Hendrik Eeckhaut
d18c342258 Reorganizing sources: move components to components subfolder
re #280
2023-06-23 09:54:52 +02:00
Hendrik Eeckhaut
5c50db39e8 Merge pull request #279 from tlsnotary/277-update-rust-cache-in-github-action
Updated rust-cache in GitHub action
2023-06-23 00:23:21 +02:00
Hendrik Eeckhaut
4efcedf6ba Merge pull request #282 from tlsnotary/tlsn_ci
Added tlsn to ci build
2023-06-22 19:29:18 +02:00
Hendrik Eeckhaut
46aa6b40f1 Updated rust-cache in GitHub action
+ explicitly set workspace in rust-cache action

#277
#278
2023-06-22 09:34:24 +02:00
Hendrik Eeckhaut
c2b727b91c Added tlsn to ci build 2023-06-21 17:58:08 +02:00
Hendrik Eeckhaut
a532373ce8 Use toolchain from dtolnay instead of outdated actions-rs
#273
2023-06-21 11:09:43 +02:00