Skip to content

Commit

Permalink
Implement 18013-7 Annex B rust code (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
cobward authored Jan 17, 2025
1 parent d29e09e commit 603f9c2
Show file tree
Hide file tree
Showing 10 changed files with 1,968 additions and 12 deletions.
27 changes: 27 additions & 0 deletions Cargo.lock

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

13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ oid4vci = { git = "https://github.com/spruceid/oid4vci-rs", rev = "e97b01e" }
openid4vp = { git = "https://github.com/spruceid/openid4vp", rev = "5abf66b" }
ssi = { version = "0.10.2", features = ["secp256r1", "secp384r1"] }

anyhow = "1.0.95"
async-trait = "0.1"
base64 = "0.22.0"
ciborium = "0.2.2"
either = "1.13"
futures = "0.3"
futures-util = "0.3.31"
hex = "0.4.3"
# Patch of josekit to support RustCrypto for JWE generation in the 18013-7 Annex B OID4VP profile.
# Default josekit uses openssl which cannot be easily used in a mobile library.
josekit = { git = "https://github.com/cobward/josekit-rs", rev = "635c8a7" }
json-syntax = "0.12.5"
log = { version = "0.4", features = ["std", "serde"] }
miniz_oxide = "0.7.2"
Expand All @@ -41,8 +46,10 @@ reqwest = { version = "0.11", features = ["blocking"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_cbor = "0.11.2"
serde_json = "1.0.111"
thiserror = "1.0.65"
sha1 = "0.10.6"
sha2 = "0.10.8"
signature = "2.2.0"
thiserror = "1.0.65"
time = { version = "0.3.36", features = [
"macros",
"formatting",
Expand All @@ -54,12 +61,10 @@ tokio = { version = "1", features = ["full"] }
tracing = "0.1.40"
uniffi = { version = "0.28.1", features = ["cli", "tokio"] }
url = { version = "2.5", features = ["serde"] }
urlencoding = "2.1.3"
uuid = { version = "1.6.1", features = ["v4"] }
w3c-vc-barcodes = { git = "https://github.com/spruceid/w3c-vc-barcodes", rev = "9aeb38d" }
x509-cert = { version = "0.2.5", features = ["builder", "hazmat"] }
urlencoding = "2.1.3"
anyhow = "1.0.95"
sha1 = "0.10.6"


[target.'cfg(target_os = "android")'.dependencies]
Expand Down
Loading

0 comments on commit 603f9c2

Please sign in to comment.