Skip to content

Commit

Permalink
Interoperability updates for OID4VCI (#56)
Browse files Browse the repository at this point in the history
* Interoperability updates
* Move proof_of_possession to its own module
* Integrate did/vm generation into pop_prepare
* Add context_map parameter to credential exchange for verification
* Add tokio runtime wrapper for did resolution in credential verification
* Add trace logs in exchange_credential

Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
  • Loading branch information
theosirian authored Oct 7, 2024
1 parent 4dcde0b commit 0ce06fd
Show file tree
Hide file tree
Showing 17 changed files with 939 additions and 617 deletions.
377 changes: 166 additions & 211 deletions Cargo.lock

Large diffs are not rendered by default.

43 changes: 26 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,51 @@ name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"

[dependencies]
cose-rs = { git = "https://github.com/spruceid/cose-rs", rev = "0018c9b", features = [
"time",
] }
isomdl = { git = "https://github.com/spruceid/isomdl", rev = "1f4f762" }
oid4vci = { git = "https://github.com/spruceid/oid4vci-rs", rev = "d95fe3a" }
# oid4vci = { path = "../oid4vci-rs" }
ssi = { version = "0.9", features = ["secp256r1", "secp384r1"] }
# ssi = { path = "../ssi" }

async-trait = "0.1"
base64 = "0.22.0"
either = "1.13"
futures = "0.3"
hex = "0.4.3"
isomdl = { git = "https://github.com/spruceid/isomdl", rev = "1f4f762" }
oid4vci = { git = "https://github.com/spruceid/oid4vci-rs", rev = "8120138" }
json-syntax = { version = "0.12.5", features = ["serde_json"] }
log = { version = "0.4", features = ["std", "serde"] }
miniz_oxide = "0.7.2"
num-bigint = "0.4.4"
num-traits = "0.2.19"
p256 = { version = "0.13.2", features = ["pkcs8"] }
pem-rfc7468 = "0.7.0"
reqwest = { version = "0.11", features = ["blocking"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_cbor = "0.11.2"
serde_json = "1.0.111"
ssi = { version = "0.9", features = ["secp256r1", "secp384r1"] }
thiserror = "1.0.56"
tracing = "0.1.40"
uniffi = { version = "0.28.1", features = ["cli"] }
url = { version = "2.5", features = ["serde"] }
uuid = { version = "1.6.1", features = ["v4"] }
w3c-vc-barcodes = { git = "https://github.com/spruceid/w3c-vc-barcodes", rev = "c1c99da" }
x509-cert = { version = "0.2.5" }
signature = "2.2.0"
cose-rs = { git = "https://github.com/spruceid/cose-rs", rev = "0018c9b", features = [
"time",
] }
ssi-contexts = "0.1.6"
thiserror = "1.0.56"
time = { version = "0.3.36", features = [
"macros",
"formatting",
"parsing",
"serde",
] }
time-macros = "0.2.18"
num-bigint = "0.4.4"
num-traits = "0.2.19"
miniz_oxide = "0.7.2"
json-syntax = { version = "0.12.5", features = ["serde_json"] }
tokio = { version = "1", features = ["full"] }
tracing = "0.1.40"
uniffi = { version = "0.28.1", features = ["cli"] }
url = { version = "2.5", features = ["serde"] }
uuid = { version = "1.6.1", features = ["v4"] }
w3c-vc-barcodes = { git = "https://github.com/spruceid/w3c-vc-barcodes", rev = "c1c99da" }
x509-cert = { version = "0.2.5" }

[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"

[dev-dependencies]
rstest = "0.22.0"
Expand Down
Loading

0 comments on commit 0ce06fd

Please sign in to comment.