diff --git a/Cargo.lock b/Cargo.lock index c5d8e13..a9ff361 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -292,9 +292,9 @@ dependencies = [ [[package]] name = "affinidi-messaging-sdk" -version = "0.19.12" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5996f7bd090aacad06be16e86a4a9774f45adab1e90c6cab2d15ef6b98bea5ea" +checksum = "72f32712a19146d4a5353a98a60b676b572976a85abf318a412863389cc8f064" dependencies = [ "affinidi-crypto", "affinidi-did-authentication", @@ -441,9 +441,9 @@ dependencies = [ [[package]] name = "affinidi-tdk" -version = "0.8.14" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0529034e098c99b72804151326124a05dfbda609122f551ef74524cf03f73a" +checksum = "715c365fa19276fb50332e10b922822b25d52d6119721f28abb6cac02029a365" dependencies = [ "affinidi-crypto", "affinidi-data-integrity", @@ -985,13 +985,13 @@ dependencies = [ [[package]] name = "chacha20" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" dependencies = [ "cfg-if", "cipher 0.5.2", - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", "rand_core 0.10.1", ] @@ -1015,7 +1015,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b89e1c441e926b9c82a8d023f6e1b7ae0adcfaa7d621814e4d60789bac751cb" dependencies = [ "aead 0.6.1", - "chacha20 0.10.1", + "chacha20 0.10.2", "cipher 0.5.2", "poly1305 0.9.1", ] @@ -1146,9 +1146,9 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "combine" -version = "4.6.7" +version = "4.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" dependencies = [ "bytes", "memchr", @@ -1215,9 +1215,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" dependencies = [ "libc", ] @@ -1317,7 +1317,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", "curve25519-dalek-derive", "digest 0.11.3", "fiat-crypto", @@ -2037,9 +2037,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.18" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "839c0e8a181239723652be9062bb56ca5bf5f64011f73b623f6f4fc59086a228" +checksum = "ef8e5e5a340588f4452631496976cf8636d4a7ecf600239fdc27615d2530bc16" dependencies = [ "atomic-waker", "bytes", @@ -2254,9 +2254,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72" +checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" dependencies = [ "atomic-waker", "bytes", @@ -2678,9 +2678,9 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "10.4.0" +version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba32bfb4ffdeaca3e34431072faf01745c9b26d25504aa7a6cf5684334fc4fc" +checksum = "881733cbc631fc9e472e24447ce32a64bedf2da498d6d8570b08edc87de71f65" dependencies = [ "aws-lc-rs", "base64 0.22.1", @@ -2716,7 +2716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8f198d1db720e4940b5a493201d199d9f24f568f8f746bd13706243a2f71598" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", ] [[package]] @@ -2761,9 +2761,9 @@ dependencies = [ [[package]] name = "libredox" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d0a00925a9f930d679b6789b721e3a7f9ed110f41b86d2497caa780c3a070a" +checksum = "d7955dfc218a8afb29dfeffd540e3a6e96baeb94fe7138228dd7cc6937fbbf96" dependencies = [ "libc", ] @@ -2834,9 +2834,9 @@ dependencies = [ [[package]] name = "match-lookup" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "757aee279b8bdbb9f9e676796fd459e4207a1f986e87886700abf589f5abf771" +checksum = "549e39695cc0b640f3cb378053832db3d2133422d49e8dcae5c866a2aaf1f730" dependencies = [ "proc-macro2", "quote", @@ -3215,7 +3215,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e2d0073b297041425c7c3df6eb4792d598a15323fe63346852b092eca02904c" dependencies = [ - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", "universal-hash 0.6.1", ] @@ -3384,9 +3384,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -3409,7 +3409,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" dependencies = [ - "chacha20 0.10.1", + "chacha20 0.10.2", "getrandom 0.4.3", "rand_core 0.10.1", ] @@ -4076,7 +4076,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", "digest 0.11.3", ] @@ -4098,7 +4098,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", + "cpufeatures 0.3.1", "digest 0.11.3", ] @@ -4682,9 +4682,9 @@ dependencies = [ [[package]] name = "trust-tasks-capability-client" -version = "0.9.0" +version = "0.17.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c744c8389d63e3e4d6bf89a44df0fa6429cc449cf24c70e33bb3f6ef0a10f37" +checksum = "8b98bc63ee0c95b3d0778aa03264da922cb23cd098326fb7406c8b1bd0fa5550" dependencies = [ "chrono", "serde", @@ -4696,9 +4696,9 @@ dependencies = [ [[package]] name = "trust-tasks-rs" -version = "0.11.4" +version = "0.17.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb3630f56ee78546c9ccfbb4aed780aa96fb469d758ddf832c9060d3e76c1b8b" +checksum = "41d841bf16638473fed22f94ce446cadcc932afc60ca3f623eef184d546d945b" dependencies = [ "async-trait", "chrono", @@ -4747,9 +4747,9 @@ dependencies = [ [[package]] name = "twox-hash" -version = "2.1.3" +version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8464ec13c3691491391d9fce00f6416c9a48e46972f72d7865688be2080192c9" +checksum = "5283634e518fe9e82c7b20520bb4bc209009fd16c82077c802f8111ecbb0117a" [[package]] name = "typenum" @@ -4834,9 +4834,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.25.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f053576934f05a761a402421fbbe3d425d9366f75f978806a037b3ca481abecc" +checksum = "b5772d71c9be8a8a6ac2117d949c5b224c1b72241bb611d9a3012edcf8af7812" dependencies = [ "getrandom 0.4.3", "js-sys", @@ -4902,8 +4902,9 @@ dependencies = [ [[package]] name = "vta-sdk" -version = "0.28.0" -source = "git+https://github.com/OpenVTC/verifiable-trust-infrastructure?rev=061300a14270c135b45d1232bf8c05e2bb45750d#061300a14270c135b45d1232bf8c05e2bb45750d" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2818125eb879e7e0eb6781cfa2d5995295c9902eb0c8ee3ecf526eb2473af6ad" dependencies = [ "affinidi-crypto", "affinidi-data-integrity", @@ -4949,9 +4950,9 @@ dependencies = [ [[package]] name = "vti-common" -version = "0.13.2" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f34d31afeb2236d8a4400eb4bcacaa790ab1a3f95dc616ab7582a0b4c1704e" +checksum = "2997c488b86b412273996c9c3f2996cdb49b33ba0f33b9c2a9797ec818444f1f" dependencies = [ "affinidi-data-integrity", "affinidi-did-resolver-cache-sdk", @@ -4987,9 +4988,9 @@ dependencies = [ [[package]] name = "vti-secrets" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79bf017cc5acd0d987b4295286b06fb8499dc6e204303c609dc95c8e520af2d" +checksum = "e0be8da801005d62beee0147698c0081dd75b3caa19545e65189b7265527d3b6" dependencies = [ "ed25519-dalek", "hex", @@ -5097,7 +5098,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4202f445611df275891e7575aa91b99ae4bedee6241af7020ce0a3c28cabc449" dependencies = [ - "rand 0.8.7", + "rand 0.8.8", "tokio", ] diff --git a/Cargo.toml b/Cargo.toml index 4b2e0d5..924c55e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,9 +23,7 @@ path = "src/main.rs" # already drive `vta/memory/*` through the generic Trust-Task dispatcher, which # picks TSP > DIDComm > REST from what both DID documents advertise. Nothing # here is transport-aware. -# -# `agent-connect` is not in a published vta-sdk yet — see the `[patch]` below. -vta-sdk = { version = "0.28", features = [ +vta-sdk = { version = "0.31", features = [ "client", "session", "didcomm", @@ -42,7 +40,7 @@ vta-sdk = { version = "0.28", features = [ # The ephemeral did:key -> ACL grant -> auto-rotate-on-first-connect flow that # the mediator, PNM and did-hosting already share. `onboarding` pulls only # vta-sdk's session machinery, which is already here. -vti-secrets = { version = "0.2", default-features = false, features = ["onboarding"] } +vti-secrets = { version = "0.3", default-features = false, features = ["onboarding"] } rmcp = { version = "3", features = ["server", "transport-io", "macros", "schemars"] } schemars = "1" @@ -64,21 +62,4 @@ tempfile = "3" # `test-loopback` answers the Trust-Task surface in-process, so the integration # tests exercise the real payloads `memory_{put,list,delete}` build without a # VTA, a mediator, or a socket. Additive and zero-cost outside tests. -vta-sdk = { version = "0.28", features = ["test-loopback"] } - -# Temporary: `vta_sdk::agent_connect` — the four-rung connect ladder this binary -# and `vta-mcp` share — is merged to the VTI workspace's main (PR #1081) but -# crates.io is still on vta-sdk 0.28.0, which predates it. A git patch rather -# than a path patch so the repo builds for anyone who clones it, not only next -# to a local checkout. -# -# Pinned to the merge commit, not `branch = "main"`: main moves, and a patch -# that silently follows it turns an unrelated upstream change into a broken -# build here with nothing in this repo's history to explain it. (The original -# feature branch was pinned instead, and was deleted on merge — same failure, -# faster.) -# -# Delete this whole block once `agent_connect` ships in a released vta-sdk; the -# `version = "0.28"` requirement above is what will resolve then, unchanged. -[patch.crates-io] -vta-sdk = { git = "https://github.com/OpenVTC/verifiable-trust-infrastructure", rev = "061300a14270c135b45d1232bf8c05e2bb45750d" } +vta-sdk = { version = "0.31", features = ["test-loopback"] }