Skip to content

Commit

Permalink
scaffold verifier trait (#602)
Browse files Browse the repository at this point in the history
* remove some unused dependencies

* remove hyper from validation service

* verification for Grant/Legacy credential types

* verification trait

* async

* fix compile

* credential

* basic verification using what is in xmtp_mls

* basic renaming

* remove the test

* add a test and some comments

* fix comment

* remove new for TestCred
  • Loading branch information
insipx authored Apr 2, 2024
1 parent 2f16634 commit 42acd28
Show file tree
Hide file tree
Showing 13 changed files with 346 additions and 104 deletions.
100 changes: 30 additions & 70 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mls_validation_service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ path = "src/main.rs"
clap = { version = "4.4.6", features = ["derive"] }
env_logger = "0.10.0"
hex = { workspace = true }
hyper = "1.1.0"
log = { workspace = true }
openmls = { workspace = true }
openmls_basic_credential = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion xmtp_api_grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pbjson = "0.5.1"
pbjson-types = "0.5.1"
prost = { workspace = true, features = ["prost-derive"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
tonic = { workspace = true, features = [
"tls",
Expand Down
5 changes: 4 additions & 1 deletion xmtp_id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ xmtp_proto.workspace = true
openmls_traits.workspace = true
openmls.workspace = true
openmls_basic_credential.workspace = true
openmls_rust_crypto.workspace = true
prost.workspace = true
tls_codec.workspace = true
chrono.workspace = true
serde.workspace = true
async-trait.workspace = true
futures.workspace = true

Loading

0 comments on commit 42acd28

Please sign in to comment.