diff --git a/CHANGELOG.md b/CHANGELOG.md index 84b8ae2..6100b65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Changelog history +### 22nd September 2024 (release 0.1.11) + +* Updating crates (SSI, Tower) +* bumping minor crate versions + ### 18th September 2024 (release 0.1.10) * fix: example did-peer `generate` added a trailing `/` on the serviceEndpoint URI diff --git a/Cargo.lock b/Cargo.lock index b086031..7a0696a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,10 +73,10 @@ dependencies = [ [[package]] name = "affinidi-did-resolver-cache-sdk" -version = "0.1.10" +version = "0.1.11" dependencies = [ "blake2", - "clap 4.5.17", + "clap", "did-peer", "futures-util", "moka", @@ -96,7 +96,7 @@ dependencies = [ [[package]] name = "affinidi-did-resolver-cache-server" -version = "0.1.10" +version = "0.1.11" dependencies = [ "affinidi-did-resolver-cache-sdk", "axum", @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "affinidi-did-resolver-methods" -version = "0.1.10" +version = "0.1.11" [[package]] name = "ahash" @@ -176,15 +176,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "anstream" version = "0.6.15" @@ -286,7 +277,7 @@ dependencies = [ "digest 0.10.7", "ed25519-dalek", "elliptic-curve", - "group 0.13.0", + "group", "hkdf", "hmac", "k256", @@ -442,17 +433,6 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - [[package]] name = "autocfg" version = "1.3.0" @@ -473,9 +453,9 @@ dependencies = [ [[package]] name = "aws-lc-sys" -version = "0.21.1" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234314bd569802ec87011d653d6815c6d7b9ffb969e9fee5b8b20ef860e8dce9" +checksum = "b3ddc4a5b231dd6958b140ff3151b6412b3f4321fab354f399eec8f14b06df62" dependencies = [ "bindgen", "cc", @@ -488,9 +468,9 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +checksum = "8f43644eed690f5374f1af436ecd6aea01cd201f6fbdf0178adaf6907afb2cec" dependencies = [ "async-trait", "axum-core", @@ -516,8 +496,8 @@ dependencies = [ "sha1", "sync_wrapper 1.0.1", "tokio", - "tokio-tungstenite 0.21.0", - "tower", + "tokio-tungstenite 0.23.1", + "tower 0.5.1", "tower-layer", "tower-service", "tracing", @@ -525,9 +505,9 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" +checksum = "5e6b8ba012a258d63c9adfa28b9ddcf66149da6f986c5b5452e629d5ee64bf00" dependencies = [ "async-trait", "bytes", @@ -538,7 +518,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 0.1.2", + "sync_wrapper 1.0.1", "tower-layer", "tower-service", "tracing", @@ -564,7 +544,7 @@ dependencies = [ "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", - "tower", + "tower 0.4.13", "tower-service", ] @@ -595,12 +575,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" -[[package]] -name = "base64" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" - [[package]] name = "base64" version = "0.13.1" @@ -681,22 +655,10 @@ version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848" dependencies = [ - "funty 1.1.0", - "radium 0.6.2", - "tap", - "wyz 0.2.0", -] - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty 2.0.0", - "radium 0.7.0", + "funty", + "radium", "tap", - "wyz 0.5.1", + "wyz", ] [[package]] @@ -806,32 +768,13 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7bc6d6292be3a19e6379786dac800f551e5865a5bb51ebbe3064ab80433f403" dependencies = [ - "ff 0.13.0", - "group 0.13.0", + "ff", + "group", "rand_core", "subtle", "zeroize", ] -[[package]] -name = "bls12_381_plus" -version = "0.8.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa37cf2a8c96054d2dc3d708efe35cc0347014af0d30b86c736b4388ff8491c" -dependencies = [ - "arrayref", - "elliptic-curve", - "ff 0.13.0", - "group 0.13.0", - "hex", - "pairing", - "rand_core", - "serde", - "sha2 0.10.8", - "subtle", - "zeroize", -] - [[package]] name = "bs58" version = "0.4.0" @@ -879,9 +822,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "cached" @@ -893,58 +836,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "camino" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-license" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "653542a7f5db653bf79ee4b6455c23f8e6b8a9c38c6310fbe14528728c14bd19" -dependencies = [ - "ansi_term", - "anyhow", - "atty", - "cargo_metadata", - "clap 3.2.25", - "csv", - "getopts", - "semver", - "serde", - "serde_derive", - "serde_json", - "toml 0.5.11", -] - -[[package]] -name = "cargo-platform" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.15.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "cbc" version = "0.1.2" @@ -956,9 +847,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.20" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45bcde016d64c21da4be18b655631e5ab6d3107607e71a73a9f53eb48aae23fb" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "jobserver", "libc", @@ -1093,77 +984,38 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" -dependencies = [ - "atty", - "bitflags 1.3.2", - "clap_derive 3.2.25", - "clap_lex 0.2.4", - "indexmap 1.9.3", - "once_cell", - "strsim 0.10.0", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap" -version = "4.5.17" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac" +checksum = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3" dependencies = [ "clap_builder", - "clap_derive 4.5.13", + "clap_derive", ] [[package]] name = "clap_builder" -version = "4.5.17" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73" +checksum = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.2", + "clap_lex", "strsim 0.11.1", ] [[package]] name = "clap_derive" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" -dependencies = [ - "heck 0.4.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "clap_derive" -version = "4.5.13" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "syn 2.0.77", ] -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - [[package]] name = "clap_lex" version = "0.7.2" @@ -1264,6 +1116,16 @@ dependencies = [ "memchr", ] +[[package]] +name = "coset" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8cc80f631f8307b887faca24dcc3abc427cd0367f6eb6188f6e8f5b7ad8fb" +dependencies = [ + "ciborium", + "ciborium-io", +] + [[package]] name = "cpufeatures" version = "0.2.14" @@ -1588,9 +1450,9 @@ dependencies = [ [[package]] name = "did-ethr" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0417aae3db3cdf06f9d13002337e9d148fa89e8361c08396b3373476c6ab0d3" +checksum = "a25479cd2f7f8b3bb6807d48f93bfd03ab40209c2252e7adaa5801ea40f721c5" dependencies = [ "hex", "iref", @@ -1604,11 +1466,11 @@ dependencies = [ [[package]] name = "did-ion" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e02db43d4a30864120023d8e65bec1a762b51efa2e17337c7e1553d83ba96a3b" +checksum = "05b517161cf90f19530cf8085c21d074f694f099fb75606ce973e3c6c0b87a7b" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "iref", "json-patch", "reqwest 0.11.27", @@ -1626,9 +1488,9 @@ dependencies = [ [[package]] name = "did-jwk" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defbdf936331b247c070cbc77a29470343bc1e76be09f4f78a9e6615964b697e" +checksum = "dadcb13e93947631908013b451a6083c258020ff59f0f6cf5d78c5f70eebf267" dependencies = [ "async-trait", "iref", @@ -1645,9 +1507,9 @@ dependencies = [ [[package]] name = "did-method-key" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b380da1739823f33e0d1df47f9c4b04ffa3746e42cdfbf2bf15a296eeac3c7d" +checksum = "b0aaad8e1d2d58265ea8f2f7ce34866f56091809603d3f698398a72cfa844681" dependencies = [ "bs58", "iref", @@ -1666,7 +1528,7 @@ dependencies = [ [[package]] name = "did-peer" -version = "0.1.10" +version = "0.1.11" dependencies = [ "askar-crypto", "base64 0.22.1", @@ -1684,9 +1546,9 @@ dependencies = [ [[package]] name = "did-pkh" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7032b64c01971dbd6db7bf13d00364221795524a950c46637e0fb7d0483dcffa" +checksum = "baa345a36ea3c651862b66e2961e6cb09bb9589bbf9eb224b2bc7faadab3c543" dependencies = [ "async-trait", "bech32", @@ -1705,9 +1567,9 @@ dependencies = [ [[package]] name = "did-tz" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c04e7f709c8d7e26323ac898ed4e9aa2a2628fe8c2223556ffeec01eeb42870b" +checksum = "9484113bef969a422bcb6a7037a709198ad619ea8ebfb2ac8c4456df6a9f110a" dependencies = [ "async-trait", "bs58", @@ -1728,9 +1590,9 @@ dependencies = [ [[package]] name = "did-web" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf0ab6bab0b86cdadda93e2a60d6f231e76199536810be43fd61e22bf0e7e9" +checksum = "3aa9e83a2cff453f1f14d7e5408ddfa2e2638e7ac432af2016a2dad0a809d421" dependencies = [ "http 0.2.12", "reqwest 0.11.27", @@ -1768,12 +1630,6 @@ dependencies = [ "litrs", ] -[[package]] -name = "dotenv" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" - [[package]] name = "dunce" version = "1.0.5" @@ -1858,9 +1714,9 @@ dependencies = [ "base16ct", "crypto-bigint 0.5.5", "digest 0.10.7", - "ff 0.13.0", + "ff", "generic-array", - "group 0.13.0", + "group", "hkdf", "pem-rfc7468 0.7.0", "pkcs8 0.10.2", @@ -1912,19 +1768,6 @@ dependencies = [ "syn 2.0.77", ] -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1974,23 +1817,12 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" -[[package]] -name = "ff" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f40b2dcd8bc322217a5f6559ae5f9e9d1de202a2ecee2e9eafcbece7562a4f" -dependencies = [ - "rand_core", - "subtle", -] - [[package]] name = "ff" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "bitvec 1.0.1", "rand_core", "subtle", ] @@ -2062,12 +1894,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - [[package]] name = "futures" version = "0.3.30" @@ -2181,15 +2007,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "getopts" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" -dependencies = [ - "unicode-width", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -2237,25 +2054,13 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "group" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c363a5301b8f153d80747126a04b3c82073b9fe3130571a9d170cacdeaf7912" -dependencies = [ - "byteorder", - "ff 0.10.1", - "rand_core", - "subtle", -] - [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff 0.13.0", + "ff", "rand_core", "subtle", ] @@ -2348,27 +2153,12 @@ dependencies = [ "allocator-api2", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.3.9" @@ -2488,12 +2278,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.30" @@ -2614,7 +2398,7 @@ dependencies = [ "pin-project-lite", "socket2", "tokio", - "tower", + "tower 0.4.13", "tower-service", "tracing", ] @@ -2739,17 +2523,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "is-terminal" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" -dependencies = [ - "hermit-abi 0.4.0", - "libc", - "windows-sys 0.52.0", -] - [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -2981,9 +2754,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if", "ecdsa", @@ -3684,12 +3457,6 @@ dependencies = [ "serde", ] -[[package]] -name = "os_str_bytes" -version = "6.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" - [[package]] name = "overload" version = "0.1.1" @@ -3729,15 +3496,6 @@ dependencies = [ "sha2 0.10.8", ] -[[package]] -name = "pairing" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fec4625e73cf41ef4bb6846cafa6d44736525f442ba45e407c4a000a13996f" -dependencies = [ - "group 0.13.0", -] - [[package]] name = "parking" version = "2.2.1" @@ -4058,12 +3816,6 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" -[[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - [[package]] name = "rand" version = "0.8.5" @@ -4560,9 +4312,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" dependencies = [ "core-foundation-sys", "libc", @@ -4579,9 +4331,6 @@ name = "semver" version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" -dependencies = [ - "serde", -] [[package]] name = "serde" @@ -4932,9 +4681,9 @@ dependencies = [ [[package]] name = "ssi" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8889299d60ee48b92907821a37eb93254aa41f704144403670f2f9c4344ec42e" +checksum = "f229125b266e40f97a6e518989d0dcb6a854e100b4d26e933b60b1967fc34958" dependencies = [ "document-features", "ssi-caips", @@ -4957,23 +4706,11 @@ dependencies = [ "xsd-types", ] -[[package]] -name = "ssi-bbs" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2bbca03cf1d1cb0253f58cd47e843bdf2ad3626dc2a4a1a831684945507c1a" -dependencies = [ - "rand", - "ssi-claims-core", - "ssi-crypto", - "zkryptium", -] - [[package]] name = "ssi-caips" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01098e02eb5601a1bca45ce4d78d659505350effdc7a5df7bff860182bd78a85" +checksum = "8865e1ff9ba347a3edffe7da802211d8596d5e842bb7db7f15b74d6d925554fe" dependencies = [ "bs58", "linked-data", @@ -4985,9 +4722,9 @@ dependencies = [ [[package]] name = "ssi-claims" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b95e16edaf82196adec53c4fa06a401c84e332623b19b8b5bfc74b327d135eee" +checksum = "c88a68e774d47601b3f7d6cc50cb3177c7a08b73f8469458b53af12847cb4c75" dependencies = [ "educe 0.4.23", "iref", @@ -5000,6 +4737,7 @@ dependencies = [ "serde_json", "ssi-claims-core", "ssi-core", + "ssi-cose", "ssi-crypto", "ssi-data-integrity", "ssi-dids-core", @@ -5018,9 +4756,9 @@ dependencies = [ [[package]] name = "ssi-claims-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca10ead311b434b7ec0055575fe839d7c7c20fb62fafbf05e989b9572795909" +checksum = "226ed3bf73c05cc884b261171c276c426a3e49bbc8cbb46368fbff24abfbc72f" dependencies = [ "chrono", "educe 0.4.23", @@ -5040,9 +4778,9 @@ checksum = "728dde2f51db62c4667686139f2958b59ab920f8d9d8531b59fc5a01ef0a3896" [[package]] name = "ssi-core" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09a9bcf4043b59fdb6990c9fb34e6e613f457d0c1341f8c017a9feb3082365e8" +checksum = "82c18e4896fd1404939334e990dbf5ec56ffbb094fa175326d503cad3dc5c709" dependencies = [ "async-trait", "pin-project", @@ -5050,21 +4788,38 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ssi-cose" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9ee235f4f264d324a9092b2a045ae0354133340060194d8c8b9ab62294a5690" +dependencies = [ + "ciborium", + "coset", + "serde", + "ssi-claims-core", + "ssi-crypto", + "thiserror", +] + [[package]] name = "ssi-crypto" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7bc78e7fc34a598ce6a1f0e4693db6b936512a7e7ff6e9f12231546e95a3408" +checksum = "53aded7b6dc3dabb004ee658fc46358c09623ad7aa61b99388ff734ae222d5d2" dependencies = [ "async-trait", "bs58", "digest 0.9.0", + "ed25519-dalek", "getrandom", "hex", "iref", "k256", "keccak-hash", + "p256", "pin-project", + "rand", "ripemd160", "serde", "sha2 0.10.8", @@ -5075,9 +4830,9 @@ dependencies = [ [[package]] name = "ssi-data-integrity" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2c01440ec2362473c57d554166543efbe907df1dcbe6249b350d303d6d3d3f2" +checksum = "5eeb46aadfc38aae38084bd522c842685fa81209268a0d12cb5a3f163d9fe50d" dependencies = [ "chrono", "iref", @@ -5104,9 +4859,9 @@ dependencies = [ [[package]] name = "ssi-data-integrity-core" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b041f6a250551a018e3efabf5c404c4f5d6682edcabd0e6b930baf7a3d3c94b6" +checksum = "18a6de23f595185578994fe6a77b28f49ef486e6633670671e2e83146879a093" dependencies = [ "chrono", "contextual", @@ -5140,12 +4895,12 @@ dependencies = [ [[package]] name = "ssi-data-integrity-suites" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deab6070a99ecaff8a3a4168859582bb52d4279633cecd5788b9858a27f041aa" +checksum = "831305eb865ef2dc35e2dbf8b7dfd63062a61a8026cab1b391b473f43c0337db" dependencies = [ "async-trait", - "base64 0.12.3", + "base64 0.22.1", "chrono", "contextual", "derivative", @@ -5168,7 +4923,6 @@ dependencies = [ "serde", "serde_cbor", "serde_json", - "ssi-bbs", "ssi-caips", "ssi-claims-core", "ssi-contexts", @@ -5191,11 +4945,11 @@ dependencies = [ [[package]] name = "ssi-di-sd-primitives" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d82a3693551b8363c1ce74ce4e35ce51244495da0a1e80fd94f881c871e5674" +checksum = "248fa61d9934e9cb1f8fd01b6410cb952d380d617eb57aab53c453da0ca10ab4" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "digest 0.10.7", "getrandom", "hex", @@ -5205,6 +4959,7 @@ dependencies = [ "rdf-types", "serde", "sha2 0.10.8", + "ssi-core", "ssi-json-ld", "ssi-rdf", "thiserror", @@ -5213,9 +4968,9 @@ dependencies = [ [[package]] name = "ssi-dids" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60c37820fbb7df6b202817d43781c8c9488ed88a127e0b4ffa73ce70b507f407" +checksum = "faa6985ea4e7951bc2948f22f20b050c344bebe8a083f12c907f662719b51fe4" dependencies = [ "did-ethr", "did-ion", @@ -5231,9 +4986,9 @@ dependencies = [ [[package]] name = "ssi-dids-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00e795981717258410174f3d31157846d13271e2251766b59c802b9553bd2f" +checksum = "49868a0797b481ba748186a78946bdfd3db3c0d737701f887d157e5c14ae3b2a" dependencies = [ "async-trait", "iref", @@ -5300,11 +5055,11 @@ dependencies = [ [[package]] name = "ssi-jwk" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9548df4ddf50fe2ce3ad91f8505d1babf0e18cfc28b7b3d0e5d096990764d195" +checksum = "50384f9a0e78093acf59b6dbd53e6221a8a887ee73c3b7b8b131c56a22811b75" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "blake2b_simd 0.5.11", "bs58", "ed25519-dalek", @@ -5333,11 +5088,11 @@ dependencies = [ [[package]] name = "ssi-jws" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcacab32207ac1ba86912e735cc4c46d7f66a0cbfbe82a10adcfa248927c44c7" +checksum = "56d401dfd6920723ed52d3af494d3c5f0a1c6c395c69195726eb3a765a30bf39" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "blake2", "clear_on_drop", "ed25519-dalek", @@ -5361,9 +5116,9 @@ dependencies = [ [[package]] name = "ssi-jwt" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa87eaf3b943eed8185ebb94b0b5a462c8ebc6b27fff0c4e0c474d51ee369a39" +checksum = "c9467f23147adb2e638e2597d15faa2672d22489b1f47e803e5ac53ef70d536f" dependencies = [ "async-trait", "chrono", @@ -5415,15 +5170,18 @@ dependencies = [ [[package]] name = "ssi-sd-jwt" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78be0bc0774fc8409e8820b94e0eb4bef3c168f7791ac4e28d379cb135708a03" +checksum = "77e27d19b7993dc4d0b23bcdbf9978cebbed7d5b7fa19cabde55aa9a0c72c58f" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", + "indexmap 2.5.0", "rand", "serde", "serde_json", "sha2 0.10.8", + "ssi-claims-core", + "ssi-core", "ssi-jwk", "ssi-jws", "ssi-jwt", @@ -5446,9 +5204,9 @@ dependencies = [ [[package]] name = "ssi-ssh" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f475a6cd9c30cbe61c556b03fb26e9e82075c3ba28e27a2da360ac778a00b4a" +checksum = "e302e0f598849ba1feddc493bfd610e513a32688ce7cf03da2a73a461f948ce8" dependencies = [ "sshkeys", "ssi-jwk", @@ -5457,11 +5215,11 @@ dependencies = [ [[package]] name = "ssi-status" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d72aecae429a1b88a22cd1caf90c61f24eafc97432e67a24eb8d2e09fde0eb0" +checksum = "15ddef1a8a26f08e04b910db7e9b219ed009835640b53d14da5c1108f9ba8be3" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "flate2", "iref", "log", @@ -5485,11 +5243,11 @@ dependencies = [ [[package]] name = "ssi-ucan" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc87074ce94abeadbe67b7b5863b398f065b19b65b7cb875d70cbe853b91cc5d" +checksum = "ae2bea2e2123c06e3500153e15eb0ecc7f7ccf7256c646835e1762c5531581b7" dependencies = [ - "base64 0.12.3", + "base64 0.22.1", "bs58", "chrono", "hex", @@ -5511,12 +5269,12 @@ dependencies = [ [[package]] name = "ssi-vc" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b934a74bd79137a4084aff2c0eafc5f0f3468ea4058032db44d3686cceaa0bd" +checksum = "1c5b03ae806ad98c7f2681ad09a5e90a58a57f2486e1250762200c8267e20b24" dependencies = [ - "base64 0.12.3", - "bitvec 0.20.4", + "base64 0.22.1", + "bitvec", "chrono", "educe 0.4.23", "flate2", @@ -5542,15 +5300,20 @@ dependencies = [ [[package]] name = "ssi-vc-jose-cose" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e7fdc17c83808bf91c47647a40b9e91af052ee930da77f3336536f3250f35e1" +checksum = "17246ad15799958df36da01b214eb6dcfce7793a20ba410ac67e30f416f962fa" dependencies = [ + "base64 0.22.1", + "ciborium", "serde", "serde_json", "ssi-claims-core", + "ssi-cose", "ssi-json-ld", "ssi-jws", + "ssi-jwt", + "ssi-sd-jwt", "ssi-vc", "thiserror", "xsd-types", @@ -5558,9 +5321,9 @@ dependencies = [ [[package]] name = "ssi-verification-methods" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc89660a8bcf21a153792b846c1431e13544e4892660a6863f092bb5f2556d79" +checksum = "276e22ffd49737b05aeccd8f22383f4343bb6dda353760b0b07702dbb94bd28f" dependencies = [ "async-trait", "derivative", @@ -5597,9 +5360,9 @@ dependencies = [ [[package]] name = "ssi-verification-methods-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a96a8b0881b0198076ceb078b48e02bf83fe42f1a0e1c500c0546218cf964d6" +checksum = "946c7d45278ae6d60e07a55d9cf2fbd6d759bdb60d2990313eed6538d6b5d5fa" dependencies = [ "bs58", "educe 0.4.23", @@ -5622,9 +5385,9 @@ dependencies = [ [[package]] name = "ssi-zcap-ld" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f39422229a20f7f26cad86fdc277cb165786695cbf1b389398a0f777a39333" +checksum = "66fe2eb394b3567857f200e5f9f50782c1112236e7cfbde766d4ea3a241ba7bc" dependencies = [ "async-trait", "iref", @@ -5821,21 +5584,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" - [[package]] name = "thiserror" version = "1.0.63" @@ -5983,14 +5731,14 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.21.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" +checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" dependencies = [ "futures-util", "log", "tokio", - "tungstenite 0.21.0", + "tungstenite 0.23.0", ] [[package]] @@ -6079,17 +5827,32 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper 0.1.2", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower-http" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +checksum = "41515cc9e193536d93fd0dbbea0c73819c08eca76e0b30909a325c3ec90985bb" dependencies = [ "bitflags 2.6.0", "bytes", "http 1.1.0", "http-body 1.0.1", - "http-body-util", "pin-project-lite", "tower-layer", "tower-service", @@ -6193,9 +5956,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tungstenite" -version = "0.21.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" +checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" dependencies = [ "byteorder", "bytes", @@ -6206,7 +5969,6 @@ dependencies = [ "rand", "sha1", "thiserror", - "url", "utf-8", ] @@ -6268,17 +6030,11 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-width" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" - [[package]] name = "unicode-xid" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "universal-hash" @@ -6490,15 +6246,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -[[package]] -name = "winapi-util" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" -dependencies = [ - "windows-sys 0.59.0", -] - [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" @@ -6717,15 +6464,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - [[package]] name = "x25519-dalek" version = "2.0.1" @@ -6739,9 +6477,9 @@ dependencies = [ [[package]] name = "xsd-types" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de477815bf53cc3ed3156443b7a83ff1e85b81d67df415b791f9cf830f5f4eda" +checksum = "c5bf1ac247150da9bff673820d7dcc22bca6ab621b4ee4f76650b581aff47580" dependencies = [ "chrono", "iref", @@ -6798,29 +6536,3 @@ dependencies = [ "quote", "syn 2.0.77", ] - -[[package]] -name = "zkryptium" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c734c171ed591a19dc1127351eb1b4d91864d3e53b2b6e9992bffcb7febf364a" -dependencies = [ - "bls12_381_plus", - "cargo-license", - "digest 0.10.7", - "dotenv", - "elliptic-curve", - "env_logger", - "ff 0.13.0", - "group 0.10.0", - "hex", - "hkdf", - "log", - "rand", - "serde", - "serde_json", - "sha2 0.10.8", - "sha3", - "thiserror", - "zeroize", -] diff --git a/Cargo.toml b/Cargo.toml index 22a024f..42e5c30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.1.10" +version = "0.1.11" edition = "2021" authors = ["Glenn Gore "] description = "Affinidi DID Resolver" @@ -28,7 +28,7 @@ regex = "1" serde = { version = "1.0", features = ["derive", "rc"] } serde_json = "1.0" blake2 = "0.10" -ssi = "0.8" +ssi = "0.9" thiserror = "1.0" tokio = { version = "1.40", features = ["full"] } tracing = "0.1" @@ -38,12 +38,12 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } affinidi-did-resolver-cache-sdk = { version = "0.1", path = "./affinidi-did-resolver-cache-sdk" } did-peer = { version = "0.1", path = "./affinidi-did-resolver-methods/did-peer" } axum = { version = "0.7", features = ["ws"] } -axum-extra = { version = "0.9.3", features = ["typed-header"] } +axum-extra = { version = "0.9", features = ["typed-header"] } axum-server = { version = "0.7", features = ["tls-rustls"] } chrono = "0.4" http = "1" toml = "0.8" -tower-http = { version = "0.5", features = ["cors", "trace"] } +tower-http = { version = "0.6", features = ["cors", "trace"] } # Cache Client (SDK) futures-util = "0.3" @@ -59,5 +59,5 @@ base64 = "0.22" iref = { version = "3.2.2", features = ["serde"] } multibase = "0.9.1" serde-wasm-bindgen = "0.6.5" -wasm-bindgen = "0.2.84" -wasm-bindgen-futures = "0.4.42" +wasm-bindgen = "0.2" +wasm-bindgen-futures = "0.4"