diff --git a/.github/workflows/test-harness-acapy-ariesvcx.yml b/.github/workflows/test-harness-acapy-ariesvcx.yml index ecee97cc..be46831e 100644 --- a/.github/workflows/test-harness-acapy-ariesvcx.yml +++ b/.github/workflows/test-harness-acapy-ariesvcx.yml @@ -1,9 +1,17 @@ name: test-harness-acapy-ariesvcx # RUNSET_NAME: "acapy to aries-vcx" # Scope: AIP 1.0 -# Exceptions: Public Dids +# Exceptions: None # -# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation +# Summary +# +# This runset uses the current main branch of ACA-Py for all of the agents except Bob (holder), +# which uses the master branch of Aries VCX. +# +# Current +# +# RFC0023 is disabled due to inconsistent results. RFC0793 is also being investigated: https://github.com/hyperledger/aries-vcx/issues/1252 +# *Status Note Updated: 2024.07.05* # # End on: @@ -34,7 +42,7 @@ jobs: with: BUILD_AGENTS: "-a aries-vcx -a acapy-main" TEST_AGENTS: "-d acapy-main -b aries-vcx" - TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@T002-HIPE001 -t ~@T014-HIPE001 -t ~@T003-RFC0160 -t ~@T004-RFC0160 -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs" + TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@RFC0793 -t ~@wip -t ~@RFC0434 -t ~@RFC0453 -t ~@RFC0211 -t ~@DIDExchangeConnection -t ~@Transport_Ws" REPORT_PROJECT: acapy-b-aries-vcx - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/test-harness-ariesvcx-acapy.yml b/.github/workflows/test-harness-ariesvcx-acapy.yml index 1778f21c..079f1bdb 100644 --- a/.github/workflows/test-harness-ariesvcx-acapy.yml +++ b/.github/workflows/test-harness-ariesvcx-acapy.yml @@ -1,9 +1,21 @@ name: test-harness-ariesvcx-acapy # RUNSET_NAME: "aries-vcx to acapy" # Scope: AIP 1.0 -# Exceptions: Public Dids +# Exceptions: None # -# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation +# Summary +# +# This runset uses the current main branch of Aries VCX for all of the agents except Bob (holder), +# which uses the master branch of ACA-Py. +# @RFC0023 is excluded, as aries-vcx does not handle unqualified DIDs in invitations/responses +# +# Current +# +# Most tests are currently struggling, due to aries-vcx reporting the wrong connection state to the +# backchannel. Being resolved here: https://github.com/hyperledger/aries-vcx/issues/1253 +# @RFC0793 has relatively low success due to aries-vcx not supporting full range of DID methods in +# these tests. +# *Status Note Updated: 2024.07.05* # # End on: @@ -34,7 +46,7 @@ jobs: with: BUILD_AGENTS: "-a aries-vcx -a acapy-main" TEST_AGENTS: "-d aries-vcx -b acapy-main" - TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs" + TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@RFC0793 -t ~@wip -t ~@RFC0434 -t ~@RFC0453 -t ~@RFC0211 -t ~@DIDExchangeConnection -t ~@Transport_Ws" REPORT_PROJECT: aries-vcx-b-acapy - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/test-harness-ariesvcx-ariesvcx.yml b/.github/workflows/test-harness-ariesvcx-ariesvcx.yml index 7e0b74a1..cdff46a6 100644 --- a/.github/workflows/test-harness-ariesvcx-ariesvcx.yml +++ b/.github/workflows/test-harness-ariesvcx-ariesvcx.yml @@ -1,9 +1,17 @@ name: test-harness-ariesvcx-ariesvcx # RUNSET_NAME: "aries-vcx to aries-vcx" # Scope: AIP 1.0 -# Exceptions: Public Dids +# Exceptions: None # -# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation +# Summary +# +# This runset uses the current main branch of Aries VCX for all of the agents. +# +# Current +# +# @RFC0793 has some failures due to aries-vcx not supporting full range of DID methods in +# these tests. +# *Status Note Updated: 2024.07.05* # # End on: @@ -34,7 +42,7 @@ jobs: with: BUILD_AGENTS: "-a aries-vcx" TEST_AGENTS: "-d aries-vcx" - TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@T002-HIPE0011 -t ~@T014-HIPE001 -t ~@wip -t ~@RFC0183 -t ~@DIDExchangeConnection -t ~@RFC0211 -t ~@RFC0453 -t ~@RFC0025 -t ~@RFC0434 -t ~@QualifiedDIDs" + TEST_SCOPE: "-t @RFC0036,@RFC0037,@RFC0160,@RFC0023,@RFC0793 -t ~@wip -t ~@RFC0434 -t ~@RFC0453 -t ~@RFC0211 -t ~@DIDExchangeConnection -t ~@Transport_Ws" REPORT_PROJECT: aries-vcx - uses: actions/upload-artifact@v4 with: diff --git a/.gitignore b/.gitignore index 37955248..009b4a2b 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,6 @@ env/ .project .settings target/ + +# AATH test results +aries-test-harness/json.pretty.output diff --git a/aries-backchannels/aries-vcx/.dockerignore b/aries-backchannels/aries-vcx/.dockerignore deleted file mode 100644 index f6a839ea..00000000 --- a/aries-backchannels/aries-vcx/.dockerignore +++ /dev/null @@ -1,6 +0,0 @@ -.idea/ -**/target -**/.DS_Store -**/*.db* -**/tails -resource/genesis_file.txn diff --git a/aries-backchannels/aries-vcx/.gitignore b/aries-backchannels/aries-vcx/.gitignore deleted file mode 100644 index 11c87e29..00000000 --- a/aries-backchannels/aries-vcx/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -.idea/ -**/target -**/.DS_Store -**/*.db -resource/** diff --git a/aries-backchannels/aries-vcx/Cargo.lock b/aries-backchannels/aries-vcx/Cargo.lock deleted file mode 100644 index 4573d8a8..00000000 --- a/aries-backchannels/aries-vcx/Cargo.lock +++ /dev/null @@ -1,4755 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "actix-codec" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a7559404a7f3573127aab53c08ce37a6c6a315c374a31070f3c91cd1b4a7fe" -dependencies = [ - "bitflags 1.3.2", - "bytes", - "futures-core", - "futures-sink", - "log", - "memchr", - "pin-project-lite", - "tokio", - "tokio-util", -] - -[[package]] -name = "actix-http" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0070905b2c4a98d184c4e81025253cb192aa8a73827553f38e9410801ceb35bb" -dependencies = [ - "actix-codec", - "actix-rt", - "actix-service", - "actix-utils", - "ahash", - "base64 0.21.0", - "bitflags 1.3.2", - "brotli", - "bytes", - "bytestring", - "derive_more", - "encoding_rs", - "flate2", - "futures-core", - "h2", - "http", - "httparse", - "httpdate", - "itoa 1.0.5", - "language-tags", - "local-channel", - "mime", - "percent-encoding", - "pin-project-lite", - "rand 0.8.5", - "sha1", - "smallvec", - "tokio", - "tokio-util", - "tracing", - "zstd", -] - -[[package]] -name = "actix-macros" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "actix-router" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d66ff4d247d2b160861fa2866457e85706833527840e4133f8f49aa423a38799" -dependencies = [ - "bytestring", - "http", - "regex", - "serde", - "tracing", -] - -[[package]] -name = "actix-rt" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15265b6b8e2347670eb363c47fc8c75208b4a4994b27192f345fcbe707804f3e" -dependencies = [ - "futures-core", - "tokio", -] - -[[package]] -name = "actix-server" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e8613a75dd50cc45f473cee3c34d59ed677c0f7b44480ce3b8247d7dc519327" -dependencies = [ - "actix-rt", - "actix-service", - "actix-utils", - "futures-core", - "futures-util", - "mio", - "num_cpus", - "socket2", - "tokio", - "tracing", -] - -[[package]] -name = "actix-service" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b894941f818cfdc7ccc4b9e60fa7e53b5042a2e8567270f9147d5591893373a" -dependencies = [ - "futures-core", - "paste", - "pin-project-lite", -] - -[[package]] -name = "actix-utils" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8" -dependencies = [ - "local-waker", - "pin-project-lite", -] - -[[package]] -name = "actix-web" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464e0fddc668ede5f26ec1f9557a8d44eda948732f40c6b0ad79126930eb775f" -dependencies = [ - "actix-codec", - "actix-http", - "actix-macros", - "actix-router", - "actix-rt", - "actix-server", - "actix-service", - "actix-utils", - "actix-web-codegen", - "ahash", - "bytes", - "bytestring", - "cfg-if 1.0.0", - "cookie", - "derive_more", - "encoding_rs", - "futures-core", - "futures-util", - "http", - "itoa 1.0.5", - "language-tags", - "log", - "mime", - "once_cell", - "pin-project-lite", - "regex", - "serde", - "serde_json", - "serde_urlencoded", - "smallvec", - "socket2", - "time 0.3.19", - "url", -] - -[[package]] -name = "actix-web-codegen" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa9362663c8643d67b2d5eafba49e4cb2c8a053a29ed00a0bea121f17c76b13" -dependencies = [ - "actix-router", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aead" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "aes" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561" -dependencies = [ - "aes-soft", - "aesni", - "cipher 0.2.5", -] - -[[package]] -name = "aes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if 1.0.0", - "cipher 0.3.0", - "cpufeatures", - "opaque-debug 0.3.0", -] - -[[package]] -name = "aes-gcm" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5278b5fabbb9bd46e24aa69b2fdea62c99088e0a950a9be40e3e0101298f88da" -dependencies = [ - "aead", - "aes 0.6.0", - "cipher 0.2.5", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "aes-soft" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" -dependencies = [ - "cipher 0.2.5", - "opaque-debug 0.3.0", -] - -[[package]] -name = "aesni" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" -dependencies = [ - "cipher 0.2.5", - "opaque-debug 0.3.0", -] - -[[package]] -name = "agency_client" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "android_logger", - "async-trait", - "env_logger 0.9.3", - "lazy_static", - "log", - "regex", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "shared_vcx", - "thiserror", - "url", - "uuid 0.8.2", -] - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.8", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "alloc-no-stdlib" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" - -[[package]] -name = "alloc-stdlib" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" -dependencies = [ - "alloc-no-stdlib", -] - -[[package]] -name = "amcl" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee5cca1ddc8b9dceb55b7f1272a9d1e643d73006f350a20ab4926d24e33f0f0d" - -[[package]] -name = "amcl_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c7c7c7627444413f6a488bf9e6d352aea6fcfa281123cd92ecac0b3c9ef5ef2" -dependencies = [ - "byteorder", - "lazy_static", - "miracl_core", - "rand 0.7.3", - "rayon", - "serde", - "serde_bytes", - "serde_json", - "sha3 0.8.2", - "subtle-encoding", - "zeroize", -] - -[[package]] -name = "android_log-sys" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8052e2d8aabbb8d556d6abbcce2a22b9590996c5f849b9c7ce4544a2e3b984e" - -[[package]] -name = "android_logger" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86983875e7c3a202e31471cc6d60fcc18f30e194f1729cfff3bfb43d646ffced" -dependencies = [ - "android_log-sys", - "lazy_static", - "log", -] - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "aries-vcx" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "agency_client", - "android_logger", - "async-trait", - "base64 0.10.1", - "bs58 0.4.0", - "chrono", - "derive_builder 0.10.2", - "env_logger 0.9.3", - "futures", - "indy-credx", - "indy-vdr", - "lazy_static", - "libloading", - "libvdrtools", - "log", - "messages", - "openssl", - "rand 0.7.3", - "regex", - "serde", - "serde_derive", - "serde_json", - "strum", - "strum_macros", - "thiserror", - "time 0.1.45", - "tokio", - "uuid 0.8.2", - "zmq", -] - -[[package]] -name = "aries-vcx-agent" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "aries-vcx", - "async-trait", - "derive_builder 0.11.2", - "log", - "serde", - "serde_json", - "thiserror", - "uuid 1.3.0", -] - -[[package]] -name = "aries-vcx-backchannel" -version = "0.1.0" -dependencies = [ - "actix-web", - "aries-vcx-agent", - "clap", - "derive_more", - "env_logger 0.9.3", - "log", - "rand 0.8.5", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "uuid 0.8.2", -] - -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - -[[package]] -name = "async-channel" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" -dependencies = [ - "concurrent-queue", - "event-listener", - "futures-core", -] - -[[package]] -name = "async-executor" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b" -dependencies = [ - "async-lock", - "async-task", - "concurrent-queue", - "fastrand", - "futures-lite", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776" -dependencies = [ - "async-channel", - "async-executor", - "async-io", - "async-lock", - "blocking", - "futures-lite", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c374dda1ed3e7d8f0d9ba58715f924862c63eae6849c92d3a18e7fbde9e2794" -dependencies = [ - "async-lock", - "autocfg 1.1.0", - "concurrent-queue", - "futures-lite", - "libc", - "log", - "parking", - "polling", - "slab", - "socket2", - "waker-fn", - "windows-sys 0.42.0", -] - -[[package]] -name = "async-lock" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685" -dependencies = [ - "event-listener", - "futures-lite", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-channel", - "async-global-executor", - "async-io", - "async-lock", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" - -[[package]] -name = "async-trait" -version = "0.1.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atoi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616896e05fc0e2649463a93a15183c6a16bf03413a7af88ef1285ddedfa9cda5" -dependencies = [ - "num-traits", -] - -[[package]] -name = "atomic-waker" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "debc29dde2e69f9e47506b525f639ed42300fc014a3e007832592448fa8e4599" - -[[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 = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78" -dependencies = [ - "autocfg 1.1.0", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" -dependencies = [ - "byteorder", -] - -[[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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" - -[[package]] -name = "blake2" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4e37d16930f5459780f5621038b6382b9bb37c19016f39fb6b5808d831f174" -dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding 0.1.5", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "block-padding 0.2.1", - "generic-array 0.14.6", -] - -[[package]] -name = "block-buffer" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "block-modes" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a0e8073e8baa88212fb5823574c02ebccb395136ba9a164ab89379ec6072f0" -dependencies = [ - "block-padding 0.2.1", - "cipher 0.2.5", -] - -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - -[[package]] -name = "blocking" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c67b173a56acffd6d2326fb7ab938ba0b00a71480e14902b2591c87bc5741e8" -dependencies = [ - "async-channel", - "async-lock", - "async-task", - "atomic-waker", - "fastrand", - "futures-lite", -] - -[[package]] -name = "brotli" -version = "3.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - -[[package]] -name = "brotli-decompressor" -version = "2.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", -] - -[[package]] -name = "bs58" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "476e9cd489f9e121e02ffa6014a8ef220ecb15c05ed23fc34cca13925dc283fb" - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bumpalo" -version = "3.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" - -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "bytestring" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7f83e57d9154148e355404702e2694463241880b939570d7c97c014da7a69a1" -dependencies = [ - "bytes", -] - -[[package]] -name = "c2-chacha" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217192c943108d8b13bac38a1d51df9ce8a407a3f5a71ab633980665e68fbd9a" -dependencies = [ - "ppv-lite86", -] - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chacha20" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed8738f14471a99f0e316c327e68fc82a3611cc2895fcb604b89eedaf8f39d95" -dependencies = [ - "cipher 0.2.5", - "zeroize", -] - -[[package]] -name = "chacha20poly1305" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1fc18e6d90c40164bf6c317476f2a98f04661e310e79830366b7e914c58a8e" -dependencies = [ - "aead", - "chacha20", - "cipher 0.2.5", - "poly1305", - "zeroize", -] - -[[package]] -name = "chrono" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" -dependencies = [ - "iana-time-zone", - "js-sys", - "num-integer", - "num-traits", - "time 0.1.45", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "cipher" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "clap" -version = "3.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" -dependencies = [ - "atty", - "bitflags 1.3.2", - "clap_derive", - "clap_lex", - "indexmap 1.9.2", - "once_cell", - "strsim 0.10.0", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap_derive" -version = "3.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" -dependencies = [ - "heck 0.4.1", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[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 = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - -[[package]] -name = "concurrent-queue" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c278839b831783b70278b14df4d45e1beb1aad306c07bb796637de9a0e323e8e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "const-oid" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6f2aa4d0537bcc1c74df8755072bd31c1ef1a3a1b85a68e8404a8c353b7b8b" - -[[package]] -name = "convert_case" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e1f025f441cdfb75831bec89b9d6a6ed02e5e763f78fc5e1ff30d4870fefaec" - -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - -[[package]] -name = "cookie" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" -dependencies = [ - "percent-encoding", - "time 0.3.19", - "version_check", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "cpufeatures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" -dependencies = [ - "libc", -] - -[[package]] -name = "cpuid-bool" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" - -[[package]] -name = "crc" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49fc9a695bca7f35f5f4c15cddc84415f66a74ea78eef08e90c5024f2b540e23" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccaeedb56da03b09f598226e25e80088cb4cd25f316e6e4df7d695f0feeb1403" - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" -dependencies = [ - "autocfg 1.1.0", - "cfg-if 1.0.0", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-queue" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crypto-bigint" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83bd3bb4314701c568e340cd8cf78c975aa0ca79e03d3f6d1677d5b0c9c0c03" -dependencies = [ - "generic-array 0.14.6", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array 0.14.6", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "crypto-mac" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "ctor" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "ctr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f" -dependencies = [ - "cipher 0.2.5", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "cxx" -version = "1.0.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d3488e7665a7a483b57e25bdd90d0aeb2bc7608c8d0346acf2ad3f1caf1d62" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48fcaf066a053a41a81dfb14d57d99738b767febb8b735c3016e469fac5da690" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef98b8b717a829ca5603af80e1f9e2e48013ab227b68ef37872ef84ee479bf" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.91" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "086c685979a698443656e5cf7856c95c642295a38599f12fb1ff76fb28d19892" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "darling" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d706e75d87e35569db781a9b5e2416cff1236a47ed380831f959382ccd5f858" -dependencies = [ - "darling_core 0.10.2", - "darling_macro 0.10.2", -] - -[[package]] -name = "darling" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f2c43f534ea4b0b049015d00269734195e6d3f0f6635cb692251aca6f9f8b3c" -dependencies = [ - "darling_core 0.12.4", - "darling_macro 0.12.4", -] - -[[package]] -name = "darling" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0808e1bd8671fb44a113a14e13497557533369847788fa2ae912b6ebfce9fa8" -dependencies = [ - "darling_core 0.14.3", - "darling_macro 0.14.3", -] - -[[package]] -name = "darling_core" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.9.3", - "syn", -] - -[[package]] -name = "darling_core" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e91455b86830a1c21799d94524df0845183fa55bafd9aa137b01c7d1065fa36" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_core" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "001d80444f28e193f30c2f293455da62dcf9a6b29918a4253152ae2b1de592cb" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" -dependencies = [ - "darling_core 0.10.2", - "quote", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29b5acf0dea37a7f66f7b25d2c5e93fd46f8f6968b1a5d7a3e02e97768afc95a" -dependencies = [ - "darling_core 0.12.4", - "quote", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b36230598a2d5de7ec1c6f51f72d8a99a9208daff41de2084d06e3fd3ea56685" -dependencies = [ - "darling_core 0.14.3", - "quote", - "syn", -] - -[[package]] -name = "der" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b71cca7d95d7681a4b3b9cdf63c8dbc3730d0584c2c74e31416d64a90493f4" -dependencies = [ - "const-oid", -] - -[[package]] -name = "derive_builder" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d13202debe11181040ae9063d739fa32cfcaaebe2275fe387703460ae2365b30" -dependencies = [ - "derive_builder_macro 0.10.2", -] - -[[package]] -name = "derive_builder" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3" -dependencies = [ - "derive_builder_macro 0.11.2", -] - -[[package]] -name = "derive_builder_core" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66e616858f6187ed828df7c64a6d71720d83767a7f19740b2d1b6fe6327b36e5" -dependencies = [ - "darling 0.12.4", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "derive_builder_core" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" -dependencies = [ - "darling 0.14.3", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "derive_builder_macro" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58a94ace95092c5acb1e97a7e846b310cfbd499652f72297da7493f618a98d73" -dependencies = [ - "derive_builder_core 0.10.2", - "syn", -] - -[[package]] -name = "derive_builder_macro" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68" -dependencies = [ - "derive_builder_core 0.11.2", - "syn", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "convert_case 0.4.0", - "proc-macro2", - "quote", - "rustc_version", - "syn", -] - -[[package]] -name = "diddoc" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "serde", - "serde_derive", - "serde_json", - "shared_vcx", - "thiserror", - "url", -] - -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "digest" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer 0.10.3", - "crypto-common", -] - -[[package]] -name = "dirs" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" -dependencies = [ - "cfg-if 0.1.10", - "dirs-sys", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "dotenv" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" - -[[package]] -name = "ecdsa" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43ee23aa5b4f68c7a092b5c3beb25f50c406adc75e2363634f242f28ab255372" -dependencies = [ - "der", - "elliptic-curve", - "hmac", - "signature", -] - -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" - -[[package]] -name = "elastic-array-plus" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562cc8504a01eb20c10fb154abd7c4baeb9beba2329cf85838ee2bd48a468b18" - -[[package]] -name = "elliptic-curve" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beca177dcb8eb540133e7680baff45e7cc4d93bf22002676cec549f82343721b" -dependencies = [ - "crypto-bigint", - "ff", - "generic-array 0.14.6", - "group", - "pkcs8", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "env_logger" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" -dependencies = [ - "atty", - "humantime 1.3.0", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime 2.1.0", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "error-chain" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8" - -[[package]] -name = "etcommon-hexutil" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20b4d1933bf88b806ba2d9189880b1b4ef205e42df9573b65716f2a50818024c" - -[[package]] -name = "etcommon-rlp" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c978ef454cd97da44a3a15d55cc312313be04b9692e39fa4cd3c00401f39bcb" -dependencies = [ - "byteorder", - "elastic-array-plus", - "etcommon-hexutil", - "lazy_static", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "ff" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f40b2dcd8bc322217a5f6559ae5f9e9d1de202a2ecee2e9eafcbece7562a4f" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "ffi-support" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27838c6815cfe9de2d3aeb145ffd19e565f577414b33f3bdbf42fe040e9e0ff6" -dependencies = [ - "lazy_static", - "log", -] - -[[package]] -name = "flate2" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608" - -[[package]] -name = "futures-executor" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-intrusive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a604f7a68fbf8103337523b1fadc8ade7361ee3f112f7c680ad179651616aed5" -dependencies = [ - "futures-core", - "lock_api", - "parking_lot 0.11.2", -] - -[[package]] -name = "futures-io" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531" - -[[package]] -name = "futures-lite" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" -dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-macro" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364" - -[[package]] -name = "futures-task" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366" - -[[package]] -name = "futures-util" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - -[[package]] -name = "generic-array" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", -] - -[[package]] -name = "ghash" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" -dependencies = [ - "opaque-debug 0.3.0", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "group" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c363a5301b8f153d80747126a04b3c82073b9fe3130571a9d170cacdeaf7912" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap 2.1.0", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashbrown" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" - -[[package]] -name = "hashlink" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" -dependencies = [ - "hashbrown 0.11.2", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[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.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hkdf" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01706d578d5c281058480e673ae4086a9f4710d8df1ad80a5b03e39ece5f886b" -dependencies = [ - "digest 0.9.0", - "hmac", -] - -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.1", - "digest 0.9.0", -] - -[[package]] -name = "http" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" -dependencies = [ - "bytes", - "fnv", - "itoa 1.0.5", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humantime" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" -dependencies = [ - "quick-error", -] - -[[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.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa 1.0.5", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "indexmap" -version = "1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" -dependencies = [ - "autocfg 1.1.0", - "hashbrown 0.12.3", -] - -[[package]] -name = "indexmap" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" -dependencies = [ - "equivalent", - "hashbrown 0.14.3", -] - -[[package]] -name = "indy-api-types" -version = "0.1.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "aes 0.7.5", - "bs58 0.4.0", - "failure", - "futures", - "libc", - "log", - "openssl", - "serde", - "serde_derive", - "serde_json", - "sqlx", - "ursa", - "zeroize", - "zmq", -] - -[[package]] -name = "indy-credx" -version = "0.3.1" -source = "git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0#7342bc624d23ece8845d1a701cd2cdc9cd401bb0" -dependencies = [ - "env_logger 0.7.1", - "ffi-support", - "indy-data-types 0.5.1 (git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0)", - "indy-utils 0.5.1", - "log", - "once_cell", - "rand 0.7.3", - "regex", - "serde", - "serde_json", - "sha2 0.9.9", - "tempfile", - "thiserror", - "zeroize", -] - -[[package]] -name = "indy-data-types" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2373f35df82d027bc4f6649dc44a6f64b0da6618feb339235b9da18bff56808" -dependencies = [ - "hex", - "indy-utils 0.5.0", - "once_cell", - "regex", - "serde", - "serde_json", - "zeroize", -] - -[[package]] -name = "indy-data-types" -version = "0.5.1" -source = "git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0#7342bc624d23ece8845d1a701cd2cdc9cd401bb0" -dependencies = [ - "hex", - "indy-utils 0.5.1", - "once_cell", - "regex", - "serde", - "serde_json", - "ursa", - "zeroize", -] - -[[package]] -name = "indy-utils" -version = "0.1.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "base64 0.10.1", - "dirs", - "failure", - "indy-api-types", - "lazy_static", - "libc", - "log", - "openssl", - "serde", - "serde_derive", - "serde_json", - "sodiumoxide", - "zeroize", -] - -[[package]] -name = "indy-utils" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8b70159ca50b21dcfd8af14e8ecd0b8db7ac3b40309e1aa337343a872920931" -dependencies = [ - "base64 0.12.3", - "bs58 0.3.1", - "curve25519-dalek", - "ed25519-dalek", - "hex", - "indy-wql 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "once_cell", - "rand 0.8.5", - "regex", - "serde", - "serde_json", - "sha2 0.9.9", - "thiserror", - "x25519-dalek", - "zeroize", -] - -[[package]] -name = "indy-utils" -version = "0.5.1" -source = "git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0#7342bc624d23ece8845d1a701cd2cdc9cd401bb0" -dependencies = [ - "bs58 0.4.0", - "indy-wql 0.4.0 (git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0)", - "once_cell", - "regex", - "serde", - "serde_json", - "sha2 0.10.6", - "thiserror", - "zeroize", -] - -[[package]] -name = "indy-vdr" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e5501eacc2f096ec3853e5855e8c7d30dceb869e94bbe688b9e297205f8043" -dependencies = [ - "env_logger 0.7.1", - "etcommon-rlp", - "ffi-support", - "futures-channel", - "futures-executor", - "futures-util", - "hex", - "indy-data-types 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "indy-utils 0.5.0", - "log", - "once_cell", - "pin-utils", - "rand 0.8.5", - "regex", - "rmp-serde", - "serde", - "serde_json", - "sha3 0.10.6", - "thiserror", - "ursa", - "zmq", -] - -[[package]] -name = "indy-wallet" -version = "0.1.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "async-trait", - "bs58 0.4.0", - "byteorder", - "futures", - "indy-api-types", - "indy-utils 0.1.0", - "libc", - "log", - "lru", - "rmp-serde", - "serde", - "serde_derive", - "serde_json", - "sqlx", - "zeroize", -] - -[[package]] -name = "indy-wql" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4aa37c6fbc387666de081f7e549e20aad2e165d545e7ba2cdb3c9a5a637c25a" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "indy-wql" -version = "0.4.0" -source = "git+https://github.com/anonyome/indy-shared-rs.git?rev=7342bc624d23ece8845d1a701cd2cdc9cd401bb0#7342bc624d23ece8845d1a701cd2cdc9cd401bb0" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "int_traits" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33c9a5c599d67d051c4dc25eb1b6b4ef715d1763c20c85c688717a1734f204e" - -[[package]] -name = "ipnet" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146" - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" - -[[package]] -name = "jobserver" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "k256" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903ae2481bcdfdb7b68e0a9baa4b7c9aff600b9ae2e8e5bb5833b8c91ab851ea" -dependencies = [ - "cfg-if 1.0.0", - "ecdsa", - "elliptic-curve", - "sha2 0.9.9", -] - -[[package]] -name = "keccak" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - -[[package]] -name = "language-tags" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -dependencies = [ - "spin", -] - -[[package]] -name = "libc" -version = "0.2.153" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" - -[[package]] -name = "libloading" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" -dependencies = [ - "cc", - "winapi", -] - -[[package]] -name = "libm" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" - -[[package]] -name = "libsodium-sys" -version = "0.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcbd1beeed8d44caa8a669ebaa697c313976e242c03cc9fb23d88bf1656f5542" -dependencies = [ - "libc", - "pkg-config", -] - -[[package]] -name = "libsqlite3-sys" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290b64917f8b0cb885d9de0f9959fe1f775d7fa12f1da2db9001c1c8ab60f89d" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libvdrtools" -version = "0.8.6" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "android_logger", - "async-std", - "async-trait", - "bs58 0.4.0", - "byteorder", - "cfg-if 1.0.0", - "convert_case 0.3.2", - "etcommon-rlp", - "failure", - "futures", - "hex", - "indy-api-types", - "indy-utils 0.1.0", - "indy-wallet", - "lazy_static", - "libc", - "log", - "log-derive", - "log-panics", - "num-derive", - "num-traits", - "rand 0.8.5", - "regex", - "rmp-serde", - "serde", - "serde_derive", - "serde_json", - "sha2 0.9.9", - "sha3 0.9.1", - "time 0.1.45", - "ursa", - "uuid 0.8.2", - "variant_count", - "zeroize", - "zmq", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - -[[package]] -name = "local-channel" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f303ec0e94c6c54447f84f3b0ef7af769858a9c4ef56ef2a986d3dcd4c3fc9c" -dependencies = [ - "futures-core", - "futures-sink", - "futures-util", - "local-waker", -] - -[[package]] -name = "local-waker" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34f76eb3611940e0e7d53a9aaa4e6a3151f69541a282fd0dad5571420c53ff1" - -[[package]] -name = "lock_api" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg 1.1.0", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", - "value-bag", -] - -[[package]] -name = "log-derive" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c7f436d3b5b51857b145075009f3a0d88dd37d2e93f42bb227045f4562a131e" -dependencies = [ - "darling 0.10.2", - "log", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "log-panics" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f9dd8546191c1850ecf67d22f5ff00a935b890d0e84713159a55495cc2ac5f" -dependencies = [ - "log", -] - -[[package]] -name = "lru" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" -dependencies = [ - "hashbrown 0.12.3", -] - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg 1.1.0", -] - -[[package]] -name = "messages" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "base64 0.10.1", - "chrono", - "diddoc", - "lazy_static", - "regex", - "serde", - "serde_derive", - "serde_json", - "strum", - "strum_macros", - "thiserror", - "time 0.1.45", - "url", - "uuid 0.8.2", -] - -[[package]] -name = "metadeps" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73b122901b3a675fac8cecf68dcb2f0d3036193bc861d1ac0e1c337f7d5254c2" -dependencies = [ - "error-chain", - "pkg-config", - "toml", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] - -[[package]] -name = "miracl_core" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4330eca86d39f2b52d0481aa1e90fe21bfa61f11b0bf9b48ab95595013cefe48" - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "num-bigint" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" -dependencies = [ - "autocfg 1.1.0", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg 1.1.0", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-bigint-dig" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4547ee5541c18742396ae2c895d0717d0f886d8823b8399cdaf7b07d63ad0480" -dependencies = [ - "autocfg 0.1.8", - "byteorder", - "lazy_static", - "libm", - "num-integer", - "num-iter", - "num-traits", - "rand 0.8.5", - "smallvec", - "zeroize", -] - -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg 1.1.0", - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg 1.1.0", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg 1.1.0", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" -dependencies = [ - "hermit-abi 0.2.6", - "libc", -] - -[[package]] -name = "object" -version = "0.30.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" - -[[package]] -name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" -dependencies = [ - "bitflags 2.5.0", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.102" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "os_str_bytes" -version = "6.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" - -[[package]] -name = "parking" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.6", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.7", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if 1.0.0", - "instant", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "windows-sys 0.45.0", -] - -[[package]] -name = "paste" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" - -[[package]] -name = "pem" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb" -dependencies = [ - "base64 0.13.1", - "once_cell", - "regex", -] - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkcs8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3ef9b64d26bad0536099c816c6734379e45bbd5f14798def6809e5cc350447" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - -[[package]] -name = "polling" -version = "2.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22122d5ec4f9fe1b3916419b76be1e80bcb93f618d071d2edf841b137b2a2bd6" -dependencies = [ - "autocfg 1.1.0", - "cfg-if 1.0.0", - "libc", - "log", - "wepoll-ffi", - "windows-sys 0.42.0", -] - -[[package]] -name = "poly1305" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8" -dependencies = [ - "cpuid-bool", - "universal-hash", -] - -[[package]] -name = "polyval" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" -dependencies = [ - "cpuid-bool", - "opaque-debug 0.3.0", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quote" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" -dependencies = [ - "autocfg 0.1.8", - "libc", - "rand_chacha 0.1.1", - "rand_core 0.4.2", - "rand_hc 0.1.0", - "rand_isaac", - "rand_jitter", - "rand_pcg", - "rand_xorshift", - "winapi", -] - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.1", - "rand_core 0.5.1", - "rand_hc 0.2.0", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef" -dependencies = [ - "autocfg 0.1.8", - "rand_core 0.3.1", -] - -[[package]] -name = "rand_chacha" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853" -dependencies = [ - "c2-chacha", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.8", -] - -[[package]] -name = "rand_hc" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_isaac" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "rand_jitter" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" -dependencies = [ - "libc", - "rand_core 0.4.2", - "winapi", -] - -[[package]] -name = "rand_pcg" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" -dependencies = [ - "autocfg 0.1.8", - "rand_core 0.4.2", -] - -[[package]] -name = "rand_xorshift" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "rayon" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom 0.2.8", - "redox_syscall 0.2.16", - "thiserror", -] - -[[package]] -name = "regex" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "reqwest" -version = "0.11.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9" -dependencies = [ - "base64 0.21.0", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "mime_guess", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "rmp" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" -dependencies = [ - "byteorder", - "num-traits", - "paste", -] - -[[package]] -name = "rmp-serde" -version = "0.13.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "011e1d58446e9fa3af7cdc1fb91295b10621d3ac4cb3a85cc86385ee9ca50cd3" -dependencies = [ - "byteorder", - "rmp", - "serde", -] - -[[package]] -name = "rsa" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0aeddcca1082112a6eeb43bf25fd7820b066aaf6eaef776e19d0a1febe38fe" -dependencies = [ - "byteorder", - "digest 0.9.0", - "lazy_static", - "num-bigint-dig", - "num-integer", - "num-iter", - "num-traits", - "pem", - "rand 0.8.5", - "simple_asn1", - "subtle", - "zeroize", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64 0.13.1", - "log", - "ring", - "sct", - "webpki", -] - -[[package]] -name = "ryu" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" - -[[package]] -name = "schannel" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" -dependencies = [ - "windows-sys 0.42.0", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "scratch" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" - -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "secp256k1" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6179428c22c73ac0fbb7b5579a56353ce78ba29759b3b8575183336ea74cdfb" -dependencies = [ - "rand 0.6.5", - "secp256k1-sys", - "serde", -] - -[[package]] -name = "secp256k1-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11553d210db090930f4432bea123b31f70bbf693ace14504ea2a35e796c28dd2" -dependencies = [ - "cc", -] - -[[package]] -name = "security-framework" -version = "2.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" - -[[package]] -name = "serde" -version = "1.0.152" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_bytes" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.152" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" -dependencies = [ - "itoa 1.0.5", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa 1.0.5", - "ryu", - "serde", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha3" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd26bc0e7a2e3a7c959bc494caf58b72ee0c71d67704e9520f736ca7e4853ecf" -dependencies = [ - "block-buffer 0.7.3", - "byte-tools", - "digest 0.8.1", - "keccak", - "opaque-debug 0.2.3", -] - -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha3" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9" -dependencies = [ - "digest 0.10.6", - "keccak", -] - -[[package]] -name = "shared_vcx" -version = "0.52.0" -source = "git+https://github.com/hyperledger/aries-vcx.git?rev=451f63cfeb5f6cc3636041a27cedfffea08d8a96#451f63cfeb5f6cc3636041a27cedfffea08d8a96" -dependencies = [ - "bs58 0.4.0", - "lazy_static", - "regex", - "thiserror", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2807892cfa58e081aa1f1111391c7a0649d4fa127a4ffbe34bcbfb35a1171a4" -dependencies = [ - "digest 0.9.0", - "rand_core 0.6.4", -] - -[[package]] -name = "simple_asn1" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb4ea60fb301dc81dfc113df680571045d375ab7345d171c5dc7d7e13107a80" -dependencies = [ - "chrono", - "num-bigint 0.4.3", - "num-traits", - "thiserror", -] - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg 1.1.0", -] - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "socket2" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sodiumoxide" -version = "0.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5cb2f14f9a51352ad65e59257a0a9459d5a36a3615f3d53a974c82fdaaa00a" -dependencies = [ - "libc", - "libsodium-sys", - "serde", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spki" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c01a0c15da1b0b0e1494112e7af814a678fec9bd157881b49beac661e9b6f32" -dependencies = [ - "der", -] - -[[package]] -name = "sqlformat" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b7922be017ee70900be125523f38bdd644f4f06a1b16e8fa5a8ee8c34bffd4" -dependencies = [ - "itertools", - "nom", - "unicode_categories", -] - -[[package]] -name = "sqlx" -version = "0.5.8" -source = "git+https://github.com/jovfer/sqlx?branch=feature/json_no_preserve_order_v5#7b9b4b371071e7d29d3b10da5a205460b3fc2de4" -dependencies = [ - "sqlx-core", - "sqlx-macros", -] - -[[package]] -name = "sqlx-core" -version = "0.5.8" -source = "git+https://github.com/jovfer/sqlx?branch=feature/json_no_preserve_order_v5#7b9b4b371071e7d29d3b10da5a205460b3fc2de4" -dependencies = [ - "ahash", - "atoi", - "base64 0.13.1", - "bitflags 1.3.2", - "byteorder", - "bytes", - "crc", - "crossbeam-channel", - "crossbeam-queue", - "crossbeam-utils", - "digest 0.9.0", - "either", - "futures-channel", - "futures-core", - "futures-intrusive", - "futures-util", - "generic-array 0.14.6", - "hashlink", - "hex", - "indexmap 1.9.2", - "itoa 0.4.8", - "libc", - "libsqlite3-sys", - "log", - "memchr", - "num-bigint 0.3.3", - "once_cell", - "parking_lot 0.11.2", - "percent-encoding", - "rand 0.8.5", - "rsa", - "rustls", - "serde", - "serde_json", - "sha-1", - "sha2 0.9.9", - "smallvec", - "sqlformat", - "sqlx-rt", - "stringprep", - "thiserror", - "tokio-stream", - "url", - "webpki", - "webpki-roots", - "whoami", -] - -[[package]] -name = "sqlx-macros" -version = "0.5.8" -source = "git+https://github.com/jovfer/sqlx?branch=feature/json_no_preserve_order_v5#7b9b4b371071e7d29d3b10da5a205460b3fc2de4" -dependencies = [ - "dotenv", - "either", - "heck 0.3.3", - "once_cell", - "proc-macro2", - "quote", - "serde_json", - "sha2 0.9.9", - "sqlx-core", - "sqlx-rt", - "syn", - "url", -] - -[[package]] -name = "sqlx-rt" -version = "0.5.8" -source = "git+https://github.com/jovfer/sqlx?branch=feature/json_no_preserve_order_v5#7b9b4b371071e7d29d3b10da5a205460b3fc2de4" -dependencies = [ - "once_cell", - "tokio", - "tokio-rustls", -] - -[[package]] -name = "stringprep" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "strsim" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "strum" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6138f8f88a16d90134763314e3fc76fa3ed6a7db4725d6acf9a3ef95a3188d22" - -[[package]] -name = "strum_macros" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0054a7df764039a6cd8592b9de84be4bec368ff081d203a7d5371cbfa8e65c81" -dependencies = [ - "heck 0.3.3", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-encoding" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcb1ed7b8330c5eed5441052651dd7a12c75e2ed88f2ec024ae1fa3a5e59945" -dependencies = [ - "zeroize", -] - -[[package]] -name = "syn" -version = "1.0.107" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "libc", - "redox_syscall 0.2.16", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53250a3b3fed8ff8fd988587d8925d26a83ac3845d9e03b220b37f34c2b8d6c2" -dependencies = [ - "itoa 1.0.5", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" - -[[package]] -name = "time-macros" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a460aeb8de6dcb0f381e1ee05f1cd56fcf5a5f6eb8187ff3d8f0b11078d38b7c" -dependencies = [ - "time-core", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af" -dependencies = [ - "autocfg 1.1.0", - "bytes", - "libc", - "memchr", - "mio", - "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "windows-sys 0.42.0", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" -dependencies = [ - "rustls", - "tokio", - "webpki", -] - -[[package]] -name = "tokio-stream" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736b60249cb25337bc196faa43ee12c705e426f3d55c214d73a4e7be06f92cb4" - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58" - -[[package]] -name = "unicode-ident" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" - -[[package]] -name = "unicode_categories" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" - -[[package]] -name = "universal-hash" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "ursa" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8760a62e18e4d3e3f599e15c09a9f9567fd9d4a90594d45166162be8d232e63b" -dependencies = [ - "aead", - "aes 0.6.0", - "aes-gcm", - "amcl", - "amcl_wrapper", - "arrayref", - "blake2", - "block-modes", - "block-padding 0.2.1", - "chacha20poly1305", - "curve25519-dalek", - "ed25519-dalek", - "failure", - "hex", - "hkdf", - "hmac", - "int_traits", - "k256", - "lazy_static", - "log", - "openssl", - "rand 0.7.3", - "rand_chacha 0.2.1", - "secp256k1", - "serde", - "sha2 0.9.9", - "sha3 0.9.1", - "subtle", - "time 0.1.45", - "x25519-dalek", - "zeroize", -] - -[[package]] -name = "uuid" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" -dependencies = [ - "getrandom 0.2.8", - "serde", -] - -[[package]] -name = "uuid" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" - -[[package]] -name = "value-bag" -version = "1.0.0-alpha.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55" -dependencies = [ - "ctor", - "version_check", -] - -[[package]] -name = "variant_count" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae2faf80ac463422992abf4de234731279c058aaf33171ca70277c98406b124" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "waker-fn" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasite" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" - -[[package]] -name = "wasm-bindgen" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.84" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" - -[[package]] -name = "web-sys" -version = "0.3.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki-roots" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" -dependencies = [ - "webpki", -] - -[[package]] -name = "wepoll-ffi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" -dependencies = [ - "cc", -] - -[[package]] -name = "whoami" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9" -dependencies = [ - "redox_syscall 0.4.1", - "wasite", - "web-sys", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.1", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm 0.42.1", - "windows_x86_64_msvc 0.42.1", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.1", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.1", - "windows_aarch64_msvc 0.42.1", - "windows_i686_gnu 0.42.1", - "windows_i686_msvc 0.42.1", - "windows_x86_64_gnu 0.42.1", - "windows_x86_64_gnullvm 0.42.1", - "windows_x86_64_msvc 0.42.1", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "x25519-dalek" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" -dependencies = [ - "curve25519-dalek", - "rand_core 0.5.1", - "zeroize", -] - -[[package]] -name = "zeroize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zmq" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aad98a7a617d608cd9e1127147f630d24af07c7cd95ba1533246d96cbdd76c66" -dependencies = [ - "bitflags 1.3.2", - "libc", - "log", - "zmq-sys", -] - -[[package]] -name = "zmq-sys" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d33a2c51dde24d5b451a2ed4b488266df221a5eaee2ee519933dc46b9a9b3648" -dependencies = [ - "libc", - "metadeps", -] - -[[package]] -name = "zstd" -version = "0.12.3+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "6.0.4+zstd.1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7afb4b54b8910cf5447638cb54bf4e8a65cbedd783af98b98c62ffe91f185543" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.7+zstd.1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94509c3ba2fe55294d752b79842c530ccfab760192521df74a081a78d2b3c7f5" -dependencies = [ - "cc", - "libc", - "pkg-config", -] diff --git a/aries-backchannels/aries-vcx/Cargo.toml b/aries-backchannels/aries-vcx/Cargo.toml deleted file mode 100644 index e2839d8d..00000000 --- a/aries-backchannels/aries-vcx/Cargo.toml +++ /dev/null @@ -1,25 +0,0 @@ -[package] -name = "aries-vcx-backchannel" -version = "0.1.0" -edition = "2018" -authors = ["Absa Group Limited", "Hyperledger Indy Contributors "] -description = "Backchannel for aries-vcx" - -[dependencies] -actix-web = "4.2.1" -derive_more = "0.99.14" -clap = { version = "3.2.22", features = ["derive"] } -reqwest = { version = "0.11.9", features = ["json", "multipart", "blocking"] } -rand = "0.8.5" -serde = "1.0.97" -serde_json = "1.0.40" -serde_derive = "1.0.97" -log = "0.4.17" -env_logger = "0.9.1" -uuid = { version = "0.8.2", features = ["serde", "v4"] } -aries-vcx-agent = { git = "https://github.com/hyperledger/aries-vcx.git", rev = "451f63cfeb5f6cc3636041a27cedfffea08d8a96" } - -[profile.release] -debug = 0 -panic = 'unwind' -incremental = false diff --git a/aries-backchannels/aries-vcx/Dockerfile.aries-vcx b/aries-backchannels/aries-vcx/Dockerfile.aries-vcx index 4916401b..6c9207f3 100644 --- a/aries-backchannels/aries-vcx/Dockerfile.aries-vcx +++ b/aries-backchannels/aries-vcx/Dockerfile.aries-vcx @@ -1,47 +1 @@ -FROM alpine:3.15.4 AS builder - -ARG UID=1000 -ARG GID=1000 -RUN addgroup -g $GID indy && adduser -u $UID -D -G indy indy - -RUN apk update && apk upgrade && \ - apk add --no-cache \ - build-base \ - curl \ - openssl-dev \ - zeromq-dev - -USER indy -WORKDIR /home/indy - -ARG RUST_VER="1.64.0" -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUST_VER --default-host x86_64-unknown-linux-musl -ENV PATH="/home/indy/.cargo/bin:$PATH" RUSTFLAGS="-C target-feature=-crt-static" - -USER root -RUN chown -R indy:indy . -USER indy - -RUN cargo new --bin aries-vcx-backchannel -WORKDIR ./aries-vcx-backchannel -COPY --chown=indy:indy ./aries-vcx/Cargo.lock ./aries-vcx/Cargo.toml ./ -RUN cargo build --release -RUN rm src/*.rs -RUN rm ./target/release/deps/aries_vcx_backchannel* -COPY --chown=indy:indy ./aries-vcx/src ./src -RUN cargo build --release - -FROM alpine:3.15.4 - -ARG UID=1000 -ARG GID=1000 -RUN addgroup -g $GID indy && adduser -u $UID -D -G indy indy - -RUN apk update && apk upgrade && \ - apk add --no-cache \ - openssl-dev \ - zeromq-dev - -RUN mkdir /resource -COPY --from=builder /home/indy/aries-vcx-backchannel/target/release/aries-vcx-backchannel . -ENTRYPOINT ["./aries-vcx-backchannel"] +FROM ghcr.io/hyperledger/aries-vcx/aath-backchannel:main diff --git a/aries-backchannels/aries-vcx/readme.md b/aries-backchannels/aries-vcx/readme.md index e69de29b..45163fc8 100644 --- a/aries-backchannels/aries-vcx/readme.md +++ b/aries-backchannels/aries-vcx/readme.md @@ -0,0 +1,4 @@ +# Aries VCX AATH Backchannel +Image maintained by the [Hyperledger Aries VCX CI](https://github.com/hyperledger/aries-vcx). + +See [here](https://github.com/hyperledger/aries-vcx/tree/f0c8184b0ca4c0667a83861a03d51c6c06f0956c/aries/agents/aath-backchannel) for backchannel source code. diff --git a/aries-backchannels/aries-vcx/resource/indypool.txn b/aries-backchannels/aries-vcx/resource/indypool.txn deleted file mode 100644 index 66fb071b..00000000 --- a/aries-backchannels/aries-vcx/resource/indypool.txn +++ /dev/null @@ -1,4 +0,0 @@ -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node1","blskey":"4N8aUNHSgjQVgkpm8nhNEfDf6txHznoYREg9kirmJrkivgL4oSEimFF6nsQ6M41QvhM2Z33nves5vfSn9n1UwNFJBYtWVnHYMATn76vLuL3zU88KyeAYcHfsih3He6UHcXDxcaecHVz6jhCYz1P2UZn2bDVruL5wXpehgBfBaLKm3Ba","blskey_pop":"RahHYiCvoNCtPTrVtP7nMC5eTYrsUA8WjXbdhNc8debh1agE9bGiJxWBXYNFbnJXoXhWFMvyqhqhRoq737YQemH5ik9oL7R4NTTCz2LEZhkgLJzB3QRQqJyBNyv7acbdHrAT8nQ9UkLbaVL9NBpnWXBTw4LEMePaSHEw66RzPNdAX1","client_ip":"127.0.0.1","client_port":9702,"node_ip":"127.0.0.1","node_port":9701,"services":["VALIDATOR"]},"dest":"Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv"},"metadata":{"from":"Th7MpTaRZVRYnPiabds81Y"},"type":"0"},"txnMetadata":{"seqNo":1,"txnId":"fea82e10e894419fe2bea7d96296a6d46f50f93f9eeda954ec461b2ed2950b62"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node2","blskey":"37rAPpXVoxzKhz7d9gkUe52XuXryuLXoM6P6LbWDB7LSbG62Lsb33sfG7zqS8TK1MXwuCHj1FKNzVpsnafmqLG1vXN88rt38mNFs9TENzm4QHdBzsvCuoBnPH7rpYYDo9DZNJePaDvRvqJKByCabubJz3XXKbEeshzpz4Ma5QYpJqjk","blskey_pop":"Qr658mWZ2YC8JXGXwMDQTzuZCWF7NK9EwxphGmcBvCh6ybUuLxbG65nsX4JvD4SPNtkJ2w9ug1yLTj6fgmuDg41TgECXjLCij3RMsV8CwewBVgVN67wsA45DFWvqvLtu4rjNnE9JbdFTc1Z4WCPA3Xan44K1HoHAq9EVeaRYs8zoF5","client_ip":"127.0.0.1","client_port":9704,"node_ip":"127.0.0.1","node_port":9703,"services":["VALIDATOR"]},"dest":"8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb"},"metadata":{"from":"EbP4aYNeTHL6q385GuVpRV"},"type":"0"},"txnMetadata":{"seqNo":2,"txnId":"1ac8aece2a18ced660fef8694b61aac3af08ba875ce3026a160acbc3a3af35fc"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node3","blskey":"3WFpdbg7C5cnLYZwFZevJqhubkFALBfCBBok15GdrKMUhUjGsk3jV6QKj6MZgEubF7oqCafxNdkm7eswgA4sdKTRc82tLGzZBd6vNqU8dupzup6uYUf32KTHTPQbuUM8Yk4QFXjEf2Usu2TJcNkdgpyeUSX42u5LqdDDpNSWUK5deC5","blskey_pop":"QwDeb2CkNSx6r8QC8vGQK3GRv7Yndn84TGNijX8YXHPiagXajyfTjoR87rXUu4G4QLk2cF8NNyqWiYMus1623dELWwx57rLCFqGh7N4ZRbGDRP4fnVcaKg1BcUxQ866Ven4gw8y4N56S5HzxXNBZtLYmhGHvDtk6PFkFwCvxYrNYjh","client_ip":"127.0.0.1","client_port":9706,"node_ip":"127.0.0.1","node_port":9705,"services":["VALIDATOR"]},"dest":"DKVxG2fXXTU8yT5N7hGEbXB3dfdAnYv1JczDUHpmDxya"},"metadata":{"from":"4cU41vWW82ArfxJxHkzXPG"},"type":"0"},"txnMetadata":{"seqNo":3,"txnId":"7e9f355dffa78ed24668f0e0e369fd8c224076571c51e2ea8be5f26479edebe4"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node4","blskey":"2zN3bHM1m4rLz54MJHYSwvqzPchYp8jkHswveCLAEJVcX6Mm1wHQD1SkPYMzUDTZvWvhuE6VNAkK3KxVeEmsanSmvjVkReDeBEMxeDaayjcZjFGPydyey1qxBHmTvAnBKoPydvuTAqx5f7YNNRAdeLmUi99gERUU7TD8KfAa6MpQ9bw","blskey_pop":"RPLagxaR5xdimFzwmzYnz4ZhWtYQEj8iR5ZU53T2gitPCyCHQneUn2Huc4oeLd2B2HzkGnjAff4hWTJT6C7qHYB1Mv2wU5iHHGFWkhnTX9WsEAbunJCV2qcaXScKj4tTfvdDKfLiVuU2av6hbsMztirRze7LvYBkRHV3tGwyCptsrP","client_ip":"127.0.0.1","client_port":9708,"node_ip":"127.0.0.1","node_port":9707,"services":["VALIDATOR"]},"dest":"4PS3EDQ3dW1tci1Bp6543CfuuebjFrg36kLAUcskGfaA"},"metadata":{"from":"TWwCRQRZ2ZHMJFn9TzLp7W"},"type":"0"},"txnMetadata":{"seqNo":4,"txnId":"aa5e817d7cc626170eca175822029339a444eb0ee8f0bd20d3b0b76e566fb008"},"ver":"1"} \ No newline at end of file diff --git a/aries-backchannels/aries-vcx/resource/von.txn b/aries-backchannels/aries-vcx/resource/von.txn deleted file mode 100644 index 557e943f..00000000 --- a/aries-backchannels/aries-vcx/resource/von.txn +++ /dev/null @@ -1,4 +0,0 @@ -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node1","blskey":"4N8aUNHSgjQVgkpm8nhNEfDf6txHznoYREg9kirmJrkivgL4oSEimFF6nsQ6M41QvhM2Z33nves5vfSn9n1UwNFJBYtWVnHYMATn76vLuL3zU88KyeAYcHfsih3He6UHcXDxcaecHVz6jhCYz1P2UZn2bDVruL5wXpehgBfBaLKm3Ba","blskey_pop":"RahHYiCvoNCtPTrVtP7nMC5eTYrsUA8WjXbdhNc8debh1agE9bGiJxWBXYNFbnJXoXhWFMvyqhqhRoq737YQemH5ik9oL7R4NTTCz2LEZhkgLJzB3QRQqJyBNyv7acbdHrAT8nQ9UkLbaVL9NBpnWXBTw4LEMePaSHEw66RzPNdAX1","client_ip":"192.168.65.6","client_port":9702,"node_ip":"192.168.65.6","node_port":9701,"services":["VALIDATOR"]},"dest":"Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv"},"metadata":{"from":"Th7MpTaRZVRYnPiabds81Y"},"type":"0"},"txnMetadata":{"seqNo":1,"txnId":"fea82e10e894419fe2bea7d96296a6d46f50f93f9eeda954ec461b2ed2950b62"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node2","blskey":"37rAPpXVoxzKhz7d9gkUe52XuXryuLXoM6P6LbWDB7LSbG62Lsb33sfG7zqS8TK1MXwuCHj1FKNzVpsnafmqLG1vXN88rt38mNFs9TENzm4QHdBzsvCuoBnPH7rpYYDo9DZNJePaDvRvqJKByCabubJz3XXKbEeshzpz4Ma5QYpJqjk","blskey_pop":"Qr658mWZ2YC8JXGXwMDQTzuZCWF7NK9EwxphGmcBvCh6ybUuLxbG65nsX4JvD4SPNtkJ2w9ug1yLTj6fgmuDg41TgECXjLCij3RMsV8CwewBVgVN67wsA45DFWvqvLtu4rjNnE9JbdFTc1Z4WCPA3Xan44K1HoHAq9EVeaRYs8zoF5","client_ip":"192.168.65.6","client_port":9704,"node_ip":"192.168.65.6","node_port":9703,"services":["VALIDATOR"]},"dest":"8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb"},"metadata":{"from":"EbP4aYNeTHL6q385GuVpRV"},"type":"0"},"txnMetadata":{"seqNo":2,"txnId":"1ac8aece2a18ced660fef8694b61aac3af08ba875ce3026a160acbc3a3af35fc"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node3","blskey":"3WFpdbg7C5cnLYZwFZevJqhubkFALBfCBBok15GdrKMUhUjGsk3jV6QKj6MZgEubF7oqCafxNdkm7eswgA4sdKTRc82tLGzZBd6vNqU8dupzup6uYUf32KTHTPQbuUM8Yk4QFXjEf2Usu2TJcNkdgpyeUSX42u5LqdDDpNSWUK5deC5","blskey_pop":"QwDeb2CkNSx6r8QC8vGQK3GRv7Yndn84TGNijX8YXHPiagXajyfTjoR87rXUu4G4QLk2cF8NNyqWiYMus1623dELWwx57rLCFqGh7N4ZRbGDRP4fnVcaKg1BcUxQ866Ven4gw8y4N56S5HzxXNBZtLYmhGHvDtk6PFkFwCvxYrNYjh","client_ip":"192.168.65.6","client_port":9706,"node_ip":"192.168.65.6","node_port":9705,"services":["VALIDATOR"]},"dest":"DKVxG2fXXTU8yT5N7hGEbXB3dfdAnYv1JczDUHpmDxya"},"metadata":{"from":"4cU41vWW82ArfxJxHkzXPG"},"type":"0"},"txnMetadata":{"seqNo":3,"txnId":"7e9f355dffa78ed24668f0e0e369fd8c224076571c51e2ea8be5f26479edebe4"},"ver":"1"} -{"reqSignature":{},"txn":{"data":{"data":{"alias":"Node4","blskey":"2zN3bHM1m4rLz54MJHYSwvqzPchYp8jkHswveCLAEJVcX6Mm1wHQD1SkPYMzUDTZvWvhuE6VNAkK3KxVeEmsanSmvjVkReDeBEMxeDaayjcZjFGPydyey1qxBHmTvAnBKoPydvuTAqx5f7YNNRAdeLmUi99gERUU7TD8KfAa6MpQ9bw","blskey_pop":"RPLagxaR5xdimFzwmzYnz4ZhWtYQEj8iR5ZU53T2gitPCyCHQneUn2Huc4oeLd2B2HzkGnjAff4hWTJT6C7qHYB1Mv2wU5iHHGFWkhnTX9WsEAbunJCV2qcaXScKj4tTfvdDKfLiVuU2av6hbsMztirRze7LvYBkRHV3tGwyCptsrP","client_ip":"192.168.65.6","client_port":9708,"node_ip":"192.168.65.6","node_port":9707,"services":["VALIDATOR"]},"dest":"4PS3EDQ3dW1tci1Bp6543CfuuebjFrg36kLAUcskGfaA"},"metadata":{"from":"TWwCRQRZ2ZHMJFn9TzLp7W"},"type":"0"},"txnMetadata":{"seqNo":4,"txnId":"aa5e817d7cc626170eca175822029339a444eb0ee8f0bd20d3b0b76e566fb008"},"ver":"1"} diff --git a/aries-backchannels/aries-vcx/src/controllers/connection.rs b/aries-backchannels/aries-vcx/src/controllers/connection.rs deleted file mode 100644 index 1152dc51..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/connection.rs +++ /dev/null @@ -1,174 +0,0 @@ -use crate::controllers::Request; -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use crate::{soft_assert_eq, HarnessAgent, State}; -use actix_web::{get, post, web, Responder}; -use aries_vcx_agent::aries_vcx::messages::concepts::ack::Ack; -use aries_vcx_agent::aries_vcx::messages::protocols::connection::invite::{ - Invitation, PairwiseInvitation, -}; -use aries_vcx_agent::aries_vcx::protocols::connection::{State as ConnectionState, ThinState}; -use std::sync::RwLock; - -#[allow(dead_code)] -#[derive(Deserialize, Default)] -pub struct Comment { - comment: String, -} - -fn to_backchannel_state(state: ThinState) -> State { - match state { - ThinState::Invitee(state) => match state { - ConnectionState::Initial => State::Initial, - ConnectionState::Invited => State::Invited, - ConnectionState::Requested => State::Requested, - ConnectionState::Responded => State::Responded, - ConnectionState::Completed => State::Complete, - }, - ThinState::Inviter(state) => match state { - ConnectionState::Initial => State::Initial, - ConnectionState::Invited => State::Invited, - ConnectionState::Requested => State::Requested, - ConnectionState::Responded => State::Responded, - ConnectionState::Completed => State::Complete, - }, - } -} - -impl HarnessAgent { - pub async fn create_invitation(&self) -> HarnessResult { - let invitation = self - .aries_agent - .connections() - .create_invitation(None) - .await?; - let id = invitation.get_id(); - Ok(json!({ "connection_id": id, "invitation": invitation }).to_string()) - } - - pub async fn receive_invitation(&self, invite: PairwiseInvitation) -> HarnessResult { - let id = self - .aries_agent - .connections() - .receive_invitation(Invitation::Pairwise(invite)) - .await?; - Ok(json!({ "connection_id": id }).to_string()) - } - - pub async fn send_request(&self, id: &str) -> HarnessResult { - self.aries_agent.connections().send_request(id).await?; - Ok(json!({ "connection_id": id }).to_string()) - } - - pub async fn accept_request(&self, id: &str) -> HarnessResult { - // TODO: Handle case of multiple requests received - if !matches!( - self.aries_agent.connections().get_state(id)?, - ThinState::Inviter(ConnectionState::Requested) - ) { - return Err(HarnessError::from_kind( - HarnessErrorType::RequestNotReceived, - )); - } - self.aries_agent.connections().send_response(id).await?; - Ok(json!({ "connection_id": id }).to_string()) - } - - pub async fn send_ack(&self, id: &str) -> HarnessResult { - self.aries_agent.connections().send_ack(id).await?; - Ok(json!({ "connection_id": id }).to_string()) - } - - pub async fn process_ack(&self, ack: Ack) -> HarnessResult { - let id = ack.get_thread_id(); - self.aries_agent.connections().process_ack(&id, ack).await?; - Ok(json!({ "connection_id": id }).to_string()) - } - - pub async fn get_connection_state(&self, id: &str) -> HarnessResult { - let state = to_backchannel_state(self.aries_agent.connections().get_state(id)?); - Ok(json!({ "state": state }).to_string()) - } - - pub async fn get_connection(&self, id: &str) -> HarnessResult { - soft_assert_eq!(self.aries_agent.connections().exists_by_id(id), true); - Ok(json!({ "connection_id": id }).to_string()) - } -} - -#[post("/create-invitation")] -pub async fn create_invitation(agent: web::Data>) -> impl Responder { - agent.read().unwrap().create_invitation().await -} - -#[post("/receive-invitation")] -pub async fn receive_invitation( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent - .read() - .unwrap() - .receive_invitation(req.data.clone()) - .await -} - -#[post("/accept-invitation")] -pub async fn send_request( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_request(&req.id).await -} - -#[post("/accept-request")] -pub async fn accept_request( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().accept_request(&req.id).await -} - -#[get("/{connection_id}")] -pub async fn get_connection_state( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_connection_state(&path.into_inner()) - .await -} - -#[get("/{thread_id}")] -pub async fn get_connection( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_connection(&path.into_inner()) - .await -} - -#[post("/send-ping")] -pub async fn send_ack( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_ack(&req.id).await -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command/connection") - .service(create_invitation) - .service(receive_invitation) - .service(send_request) - .service(accept_request) - .service(send_ack) - .service(get_connection_state), - ) - .service(web::scope("/response/connection").service(get_connection)); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/credential_definition.rs b/aries-backchannels/aries-vcx/src/controllers/credential_definition.rs deleted file mode 100644 index de5ea3c0..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/credential_definition.rs +++ /dev/null @@ -1,132 +0,0 @@ -use actix_web::{get, post, web, Responder}; -use reqwest::multipart; -use std::sync::RwLock; - -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use aries_vcx_agent::aries_vcx::common::primitives::credential_definition::CredentialDefConfigBuilder; - -use crate::controllers::Request; -use crate::soft_assert_eq; -use crate::HarnessAgent; - -#[derive(Serialize, Deserialize, Default, Debug)] -pub struct CredentialDefinition { - support_revocation: bool, - schema_id: String, - tag: String, -} - -async fn upload_tails_file(tails_url: &str, tails_file: &str) -> HarnessResult<()> { - info!("Going to upload tails file {} to {}", tails_file, tails_url); - let client = reqwest::Client::new(); - let genesis_file = std::env::var("GENESIS_FILE").unwrap_or( - std::env::current_dir() - .expect("Failed to obtain the current directory path") - .join("resource") - .join("genesis_file.txn") - .to_str() - .ok_or(HarnessError::from_msg( - HarnessErrorType::InternalServerError, - "Failed to convert path to str", - ))? - .to_string(), - ); - let genesis_file_data = std::fs::read(genesis_file)?; - let tails_file_data = std::fs::read(tails_file)?; - let genesis_part = multipart::Part::bytes(genesis_file_data); - let tails_part = multipart::Part::bytes(tails_file_data); - let form = multipart::Form::new() - .part("genesis", genesis_part) - .part("tails", tails_part); - let res = client.put(tails_url).multipart(form).send().await?; - soft_assert_eq!(res.status(), reqwest::StatusCode::OK); - Ok(()) -} - -impl HarnessAgent { - pub async fn create_credential_definition( - &self, - cred_def: &CredentialDefinition, - ) -> HarnessResult { - let tails_base_url = std::env::var("TAILS_SERVER_URL") - .unwrap_or("https://tails-server-test.pathfinder.gov.bc.ca".to_string()); - let cred_def_ids = self - .aries_agent - .cred_defs() - .find_by_schema_id(&cred_def.schema_id)?; - let cred_def_id = if cred_def_ids.is_empty() { - let config = CredentialDefConfigBuilder::default() - .issuer_did(&self.aries_agent.issuer_did()) - .schema_id(&cred_def.schema_id) - .tag(&cred_def.tag) - .build()?; - let cred_def_id = self.aries_agent.cred_defs().create_cred_def(config).await?; - self.aries_agent - .cred_defs() - .publish_cred_def(&cred_def_id) - .await?; - - if cred_def.support_revocation { - let rev_reg_id = self - .aries_agent - .rev_regs() - .create_rev_reg(&cred_def_id, 50) - .await?; - let tails_url = format!("{}/{}", tails_base_url, rev_reg_id); - self.aries_agent - .rev_regs() - .publish_rev_reg(&rev_reg_id, &tails_url) - .await?; - - let tails_file = self.aries_agent.rev_regs().tails_file_path(&rev_reg_id)?; - upload_tails_file(&tails_url, &tails_file).await?; - } - cred_def_id - } else if cred_def_ids.len() == 1 { - cred_def_ids.last().unwrap().clone() - } else { - return Err(HarnessError::from_kind( - HarnessErrorType::MultipleCredDefinitions, - )); - }; - Ok(json!({ "credential_definition_id": cred_def_id }).to_string()) - } - - pub fn get_credential_definition(&self, id: &str) -> HarnessResult { - self.aries_agent - .cred_defs() - .cred_def_json(id) - .map_err(|err| err.into()) - } -} - -#[post("")] -pub async fn create_credential_definition( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent - .read() - .unwrap() - .create_credential_definition(&req.data) - .await -} - -#[get("/{cred_def_id}")] -pub async fn get_credential_definition( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_credential_definition(&path.into_inner()) -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command/credential-definition") - .service(create_credential_definition) - .service(get_credential_definition), - ); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/didcomm.rs b/aries-backchannels/aries-vcx/src/controllers/didcomm.rs deleted file mode 100644 index cbf287d8..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/didcomm.rs +++ /dev/null @@ -1,135 +0,0 @@ -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use crate::HarnessAgent; -use actix_web::{web, HttpResponse, Responder}; -use aries_vcx_agent::aries_vcx::{ - messages::a2a::A2AMessage, utils::encryption_envelope::EncryptionEnvelope, -}; -use std::sync::RwLock; - -impl HarnessAgent { - pub async fn receive_message(&self, payload: Vec) -> HarnessResult { - let (message, sender_vk) = - EncryptionEnvelope::anon_unpack(&self.aries_agent.profile().inject_wallet(), payload) - .await?; - let sender_vk = sender_vk.ok_or_else(|| { - HarnessError::from_msg( - HarnessErrorType::EncryptionError, - "Received anoncrypted message", - ) - })?; - info!("Received message: {:?}", message); - let connection_ids = self.aries_agent.connections().get_by_their_vk(&sender_vk)?; - let connection_id = connection_ids.last(); - // TODO: Perhaps always return 200 - match message { - A2AMessage::ConnectionRequest(request) => { - // TODO: Do this better - let connection_id = match self - .aries_agent - .connections() - .exists_by_id(&request.get_thread_id()) - { - true => request.get_thread_id(), - false => { - if let Some(thread) = &request.thread { - if let Some(pthid) = &thread.pthid { - pthid.clone() - } else { - return Err(HarnessError::from_msg( - HarnessErrorType::InvalidState, - "Connection request does not contain parent thread id", - )); - } - } else { - return Err(HarnessError::from_msg( - HarnessErrorType::InvalidState, - "Connection request does not contain thread info decorator", - )); - } - } - }; - self.aries_agent - .connections() - .accept_request(&connection_id, request) - .await - .ok(); - } - A2AMessage::ConnectionResponse(response) => { - self.aries_agent - .connections() - .accept_response(&response.get_thread_id(), response) - .await?; - } - A2AMessage::CredentialProposal(proposal) => { - if connection_ids.len() == 1 { - self.aries_agent - .issuer() - .accept_proposal(connection_id.unwrap(), &proposal) - .await?; - } else { - return Err(HarnessError::from_msg( - HarnessErrorType::InvalidState, - &format!("Found multiple or no connections by verkey {}", sender_vk), - )); - } - } - A2AMessage::CredentialOffer(offer) => { - if connection_ids.len() == 1 { - self.aries_agent - .holder() - .create_from_offer(connection_id.unwrap(), offer.clone())?; - } else { - return Err(HarnessError::from_msg( - HarnessErrorType::InvalidState, - &format!("Found multiple or no connections by verkey {}", sender_vk), - )); - } - } - A2AMessage::CredentialRequest(request) => { - self.aries_agent - .issuer() - .process_credential_request(&request.get_thread_id(), request)?; - } - A2AMessage::Credential(credential) => { - self.aries_agent - .holder() - .process_credential(&credential.get_thread_id(), credential) - .await?; - } - A2AMessage::PresentationRequest(request) => { - if connection_ids.len() == 1 { - self.aries_agent - .prover() - .create_from_request(connection_id.unwrap(), request)?; - } else { - return Err(HarnessError::from_msg( - HarnessErrorType::InvalidState, - &format!("Found multiple or no connections by verkey {}", sender_vk), - )); - } - } - A2AMessage::Presentation(presentation) => { - self.aries_agent - .verifier() - .verify_presentation(&presentation.get_thread_id(), presentation) - .await?; - } - A2AMessage::PresentationAck(ack) => { - self.aries_agent - .prover() - .process_presentation_ack(&ack.get_thread_id(), ack)?; - } - m @ _ => { - warn!("Received message of unexpected type: {:?}", m); - } - } - Ok(HttpResponse::Ok().finish()) - } -} - -pub async fn receive_message( - req: web::Bytes, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().receive_message(req.to_vec()).await -} diff --git a/aries-backchannels/aries-vcx/src/controllers/general.rs b/aries-backchannels/aries-vcx/src/controllers/general.rs deleted file mode 100644 index b59a6890..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/general.rs +++ /dev/null @@ -1,38 +0,0 @@ -use crate::error::HarnessResult; -use crate::HarnessAgent; -use actix_web::{get, web, HttpResponse, Responder}; -use std::sync::RwLock; - -impl HarnessAgent { - pub fn get_status_json(&self) -> HarnessResult { - Ok(json!({ "status": self.status }).to_string()) - } - - pub fn get_public_did(&self) -> HarnessResult { - Ok(json!({ "did": self.aries_agent.issuer_did() }).to_string()) - } -} - -#[get("/status")] -pub async fn get_status(agent: web::Data>) -> impl Responder { - HttpResponse::Ok().body(agent.read().unwrap().get_status_json().unwrap()) -} - -#[get("/version")] -pub async fn get_version() -> impl Responder { - HttpResponse::Ok().body("1.0.0") -} - -#[get("/did")] -pub async fn get_public_did(agent: web::Data>) -> impl Responder { - HttpResponse::Ok().body(agent.read().unwrap().get_public_did().unwrap()) -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command") - .service(get_status) - .service(get_version) - .service(get_public_did), - ); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/issuance.rs b/aries-backchannels/aries-vcx/src/controllers/issuance.rs deleted file mode 100644 index a9e085ff..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/issuance.rs +++ /dev/null @@ -1,331 +0,0 @@ -use crate::controllers::Request; -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use crate::soft_assert_eq; -use crate::{HarnessAgent, State}; -use actix_web::{get, post, web, Responder}; -use aries_vcx_agent::aries_vcx::messages::concepts::mime_type::MimeType; -use aries_vcx_agent::aries_vcx::messages::protocols::issuance::credential_offer::OfferInfo; -use aries_vcx_agent::aries_vcx::messages::protocols::issuance::credential_proposal::CredentialProposalData; -use aries_vcx_agent::aries_vcx::messages::protocols::issuance::CredentialPreviewData; -use aries_vcx_agent::aries_vcx::protocols::issuance::holder::state_machine::HolderState; -use aries_vcx_agent::aries_vcx::protocols::issuance::issuer::state_machine::IssuerState; -use std::sync::RwLock; - -#[derive(Serialize, Deserialize, Default, Debug)] -pub struct CredentialOffer { - cred_def_id: String, - credential_preview: CredentialPreviewData, - connection_id: String, -} - -#[derive(Serialize, Deserialize, Default, Clone)] -pub struct CredentialProposal { - schema_issuer_did: String, - issuer_did: String, - schema_name: String, - cred_def_id: String, - schema_version: String, - credential_proposal: CredentialPreviewData, - connection_id: String, - schema_id: String, -} - -#[derive(Serialize, Deserialize, Default)] -pub struct Credential { - credential_preview: CredentialPreviewData, - #[serde(default)] - comment: Option, -} - -#[derive(Serialize, Deserialize, Default)] -pub struct CredentialId { - credential_id: String, -} - -fn to_backchannel_state_issuer(state: IssuerState) -> State { - match state { - IssuerState::Initial => State::Initial, - IssuerState::ProposalReceived | IssuerState::OfferSet => State::ProposalReceived, - IssuerState::OfferSent => State::OfferSent, - IssuerState::RequestReceived => State::RequestReceived, - IssuerState::CredentialSent => State::CredentialSent, - IssuerState::Finished => State::Done, - IssuerState::Failed => State::Failure, - } -} - -fn to_backchannel_state_holder(state: HolderState) -> State { - match state { - HolderState::Initial => State::Initial, - HolderState::ProposalSent => State::ProposalSent, - HolderState::OfferReceived => State::OfferReceived, - HolderState::RequestSent => State::RequestSent, - HolderState::Finished => State::Done, - HolderState::Failed => State::Failure, - } -} - -async fn download_tails_file( - tails_base_url: &str, - rev_reg_id: &str, - tails_hash: &str, -) -> HarnessResult<()> { - let url = match tails_base_url.to_string().matches('/').count() { - 0 => format!("{}/{}", tails_base_url, rev_reg_id), - 1.. => tails_base_url.to_string(), - _ => { - return Err(HarnessError::from_msg( - HarnessErrorType::InternalServerError, - "Negative count", - )) - } - }; - let client = reqwest::Client::new(); - let tails_folder_path = std::env::current_dir() - .expect("Failed to obtain the current directory path") - .join("resource") - .join("tails"); - std::fs::create_dir_all(&tails_folder_path).map_err(|_| { - HarnessError::from_msg( - HarnessErrorType::InternalServerError, - "Failed to create tails folder", - ) - })?; - let tails_file_path = tails_folder_path - .join(tails_hash) - .to_str() - .ok_or(HarnessError::from_msg( - HarnessErrorType::InternalServerError, - "Failed to convert tails hash to str", - ))? - .to_string(); - let res = client.get(&url).send().await?; - soft_assert_eq!(res.status(), reqwest::StatusCode::OK); - std::fs::write(tails_file_path, res.bytes().await?)?; - Ok(()) -} - -impl HarnessAgent { - pub async fn send_credential_proposal( - &self, - cred_proposal: &CredentialProposal, - ) -> HarnessResult { - let mut proposal_data = CredentialProposalData::create() - .set_schema_id(cred_proposal.schema_id.clone()) - .set_cred_def_id(cred_proposal.cred_def_id.clone()); - for attr in cred_proposal - .credential_proposal - .attributes - .clone() - .into_iter() - { - proposal_data = - proposal_data.add_credential_preview_data(&attr.name, &attr.value, MimeType::Plain); - } - let id = self - .aries_agent - .holder() - .send_credential_proposal(&cred_proposal.connection_id, proposal_data) - .await?; - let state = to_backchannel_state_holder(self.aries_agent.holder().get_state(&id)?); - Ok(json!({ "state": state, "thread_id": id }).to_string()) - } - - pub async fn send_credential_request(&self, id: &str) -> HarnessResult { - self.aries_agent - .holder() - .send_credential_request(Some(id), None) - .await?; - let state = to_backchannel_state_holder(self.aries_agent.holder().get_state(id)?); - Ok(json!({ "state": state, "thread_id": id }).to_string()) - } - - pub async fn send_credential_offer( - &self, - cred_offer: &CredentialOffer, - id: &str, - ) -> HarnessResult { - let get_tails_rev_id = - |cred_def_id: &str| -> HarnessResult<(Option, Option)> { - Ok( - if let Some(rev_reg_id) = self - .aries_agent - .rev_regs() - .find_by_cred_def_id(cred_def_id)? - .pop() - { - ( - Some(self.aries_agent.rev_regs().get_tails_dir(&rev_reg_id)?), - Some(rev_reg_id), - ) - } else { - (None, None) - }, - ) - }; - - let connection_id = if cred_offer.connection_id.is_empty() { - None - } else { - Some(cred_offer.connection_id.as_str()) - }; - let (offer_info, id) = if id.is_empty() { - let credential_preview = - serde_json::to_string(&cred_offer.credential_preview.attributes)?; - let (tails_file, rev_reg_id) = get_tails_rev_id(&cred_offer.cred_def_id)?; - ( - OfferInfo { - credential_json: credential_preview, - cred_def_id: cred_offer.cred_def_id.clone(), - rev_reg_id, - tails_file, - }, - None, - ) - } else { - let proposal = self.aries_agent.issuer().get_proposal(id)?; - let (tails_file, rev_reg_id) = get_tails_rev_id(&proposal.cred_def_id)?; - ( - OfferInfo { - credential_json: proposal.credential_proposal.to_string().unwrap(), - cred_def_id: proposal.cred_def_id.clone(), - rev_reg_id, - tails_file, - }, - Some(id), - ) - }; - let id = self - .aries_agent - .issuer() - .send_credential_offer(id, connection_id, offer_info) - .await?; - let state = to_backchannel_state_issuer(self.aries_agent.issuer().get_state(&id)?); - Ok(json!({ "state": state, "thread_id": id }).to_string()) - } - - pub async fn issue_credential( - &self, - id: &str, - _credential: &Credential, - ) -> HarnessResult { - self.aries_agent.issuer().send_credential(id).await?; - let state = to_backchannel_state_issuer(self.aries_agent.issuer().get_state(id)?); - Ok(json!({ "state": state }).to_string()) - } - - pub async fn store_credential(&self, id: &str) -> HarnessResult { - let state = self.aries_agent.holder().get_state(id)?; - if self.aries_agent.holder().is_revokable(id).await? { - let rev_reg_id = self.aries_agent.holder().get_rev_reg_id(id).await?; - let tails_hash = self.aries_agent.holder().get_tails_hash(id).await?; - let tails_location = self.aries_agent.holder().get_tails_location(id).await?; - download_tails_file(&tails_location, &rev_reg_id, &tails_hash).await?; - }; - Ok(json!({ "state": to_backchannel_state_holder(state), "credential_id": id }).to_string()) - } - - pub async fn get_issuer_state(&self, id: &str) -> HarnessResult { - let state = if self.aries_agent.issuer().exists_by_id(id) { - to_backchannel_state_issuer(self.aries_agent.issuer().get_state(id)?) - } else if self.aries_agent.holder().exists_by_id(id) { - to_backchannel_state_holder(self.aries_agent.holder().get_state(id)?) - } else { - return Err(HarnessError::from_kind(HarnessErrorType::NotFoundError)); - }; - Ok(json!({ "state": state }).to_string()) - } - - pub async fn get_credential(&self, id: &str) -> HarnessResult { - Ok(json!({ "referent": id }).to_string()) - } -} - -#[post("/send-proposal")] -pub async fn send_credential_proposal( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent - .read() - .unwrap() - .send_credential_proposal(&req.data) - .await -} - -#[post("/send-offer")] -pub async fn send_credential_offer( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent - .read() - .unwrap() - .send_credential_offer(&req.data, &req.id) - .await -} - -#[post("/send-request")] -pub async fn send_credential_request( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_credential_request(&req.id).await -} - -#[get("/{issuer_id}")] -pub async fn get_issuer_state( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_issuer_state(&path.into_inner()) - .await -} - -#[post("/issue")] -pub async fn issue_credential( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent - .read() - .unwrap() - .issue_credential(&req.id, &req.data) - .await -} - -#[post("/store")] -pub async fn store_credential( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().store_credential(&req.id).await -} - -#[get("/{cred_id}")] -pub async fn get_credential( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_credential(&path.into_inner()) - .await -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command/issue-credential") - .service(send_credential_proposal) - .service(send_credential_offer) - .service(get_issuer_state) - .service(send_credential_request) - .service(issue_credential) - .service(store_credential), - ) - .service(web::scope("/command/credential").service(get_credential)); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/mod.rs b/aries-backchannels/aries-vcx/src/controllers/mod.rs deleted file mode 100644 index 4a1a076f..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/mod.rs +++ /dev/null @@ -1,18 +0,0 @@ -use serde::Deserialize; - -pub mod connection; -pub mod credential_definition; -pub mod general; -pub mod issuance; -pub mod presentation; -pub mod revocation; -pub mod schema; -pub mod didcomm; - -#[derive(Deserialize)] -pub struct Request { - #[serde(default)] - pub id: String, - #[serde(default)] - pub data: T, -} diff --git a/aries-backchannels/aries-vcx/src/controllers/presentation.rs b/aries-backchannels/aries-vcx/src/controllers/presentation.rs deleted file mode 100644 index 04c3873b..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/presentation.rs +++ /dev/null @@ -1,238 +0,0 @@ -use crate::controllers::Request; -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use crate::soft_assert_eq; -use crate::{HarnessAgent, State}; -use actix_web::{get, post, web, Responder}; -use aries_vcx_agent::aries_vcx::common::proofs::proof_request::ProofRequestDataBuilder; -use aries_vcx_agent::aries_vcx::common::proofs::proof_request_internal::{ - AttrInfo, NonRevokedInterval, PredicateInfo, -}; -use aries_vcx_agent::aries_vcx::messages::protocols::proof_presentation::presentation_proposal::{ - Attribute, Predicate, PresentationProposalData, -}; -use aries_vcx_agent::aries_vcx::messages::status::Status; -use aries_vcx_agent::aries_vcx::protocols::proof_presentation::prover::state_machine::ProverState; -use aries_vcx_agent::aries_vcx::protocols::proof_presentation::verifier::state_machine::VerifierState; -use std::collections::HashMap; -use std::sync::RwLock; - -#[derive(Serialize, Deserialize, Default, Debug)] -pub struct PresentationRequestWrapper { - connection_id: String, - presentation_request: PresentationRequest, -} - -#[derive(Serialize, Deserialize, Default, Debug)] -pub struct PresentationProposalWrapper { - connection_id: String, - presentation_proposal: PresentationProposal, -} - -// TODO: Remove these structs -#[derive(Debug, Deserialize, Serialize, Clone, PartialEq, Default)] -pub struct PresentationRequest { - #[serde(skip_serializing_if = "Option::is_none")] - pub comment: Option, - pub proof_request: ProofRequestDataWrapper, -} - -#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Default)] -pub struct ProofRequestDataWrapper { - pub data: ProofRequestData, -} - -#[derive(Serialize, Deserialize, Default, Debug)] -pub struct PresentationProposal { - comment: String, - attributes: Vec, - predicates: Vec, -} - -#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Default)] -pub struct ProofRequestData { - pub requested_attributes: Option>, - pub requested_predicates: Option>, - #[serde(skip_serializing_if = "Option::is_none")] - pub non_revoked: Option, -} - -fn to_backchannel_state_prover(state: ProverState) -> State { - match state { - ProverState::Initial => State::Initial, - ProverState::PresentationRequestReceived => State::RequestReceived, - ProverState::PresentationProposalSent => State::ProposalSent, - ProverState::PresentationSent => State::PresentationSent, - ProverState::PresentationPreparationFailed - | ProverState::Finished - | ProverState::Failed => State::Done, - _ => State::Unknown, - } -} - -fn to_backchannel_state_verifier(state: VerifierState) -> State { - match state { - VerifierState::Initial => State::Initial, - VerifierState::PresentationRequestSet => State::RequestSet, - VerifierState::PresentationProposalReceived => State::ProposalReceived, - VerifierState::PresentationRequestSent => State::RequestSent, - VerifierState::Finished | VerifierState::Failed => State::Done, - } -} - -impl HarnessAgent { - pub async fn send_proof_request( - &self, - presentation_request: &PresentationRequestWrapper, - ) -> HarnessResult { - let req_data = presentation_request - .presentation_request - .proof_request - .data - .clone(); - let presentation_request_data = ProofRequestDataBuilder::default() - .name("test proof") - .requested_attributes(req_data.requested_attributes.unwrap_or_default()) - .requested_predicates(req_data.requested_predicates.unwrap_or_default()) - .non_revoked(req_data.non_revoked) - .nonce( - self.aries_agent - .profile() - .inject_anoncreds() - .generate_nonce() - .await?, - ) - .build()?; - let id = self - .aries_agent - .verifier() - .send_proof_request( - &presentation_request.connection_id, - presentation_request_data, - None, - ) - .await?; - let state = self.aries_agent.verifier().get_state(&id)?; - Ok(json!({ "state": to_backchannel_state_verifier(state), "thread_id": id }).to_string()) - } - - pub async fn send_proof_proposal( - &self, - presentation_proposal: &PresentationProposalWrapper, - ) -> HarnessResult { - let mut proposal_data = PresentationProposalData::create(); - for attr in presentation_proposal - .presentation_proposal - .attributes - .clone() - .into_iter() - { - proposal_data = proposal_data.add_attribute(attr.clone()); - } - let id = self - .aries_agent - .prover() - .send_proof_proposal(&presentation_proposal.connection_id, proposal_data) - .await?; - let state = self.aries_agent.prover().get_state(&id)?; - Ok(json!({ "state": to_backchannel_state_prover(state), "thread_id": id }).to_string()) - } - - pub async fn send_presentation(&self, id: &str) -> HarnessResult { - let state = self.aries_agent.prover().get_state(id)?; - soft_assert_eq!(state, ProverState::PresentationRequestReceived); - let tails_dir = if self.aries_agent.prover().is_secondary_proof_requested(id)? { - Some( - std::env::current_dir() - .unwrap() - .join("resource") - .join("tails") - .to_str() - .unwrap() - .to_string(), - ) - } else { - None - }; - self.aries_agent - .prover() - .send_proof_prentation(id, tails_dir.as_deref()) - .await?; - let state = self.aries_agent.prover().get_state(id)?; - Ok(json!({"state": to_backchannel_state_prover(state), "thread_id": id}).to_string()) - } - - pub async fn verify_presentation(&self, id: &str) -> HarnessResult { - let verified = self.aries_agent.verifier().get_presentation_status(id)? == Status::Success; - let state = self.aries_agent.verifier().get_state(id)?; - Ok( - json!({ "state": to_backchannel_state_verifier(state), "verified": verified }) - .to_string(), - ) - } - - pub async fn get_proof_state(&self, id: &str) -> HarnessResult { - let state = if self.aries_agent.verifier().exists_by_id(id) { - to_backchannel_state_verifier(self.aries_agent.verifier().get_state(id)?) - } else if self.aries_agent.prover().exists_by_id(id) { - to_backchannel_state_prover(self.aries_agent.prover().get_state(id)?) - } else { - return Err(HarnessError::from_kind(HarnessErrorType::NotFoundError)); - }; - Ok(json!({ "state": state }).to_string()) - } -} - -#[post("/send-request")] -pub async fn send_proof_request( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_proof_request(&req.data).await -} - -#[post("/send-proposal")] -pub async fn send_proof_proposal( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_proof_proposal(&req.data).await -} - -#[post("/send-presentation")] -pub async fn send_presentation( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().send_presentation(&req.id).await -} - -#[post("/verify-presentation")] -pub async fn verify_presentation( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().verify_presentation(&req.id).await -} - -#[get("/{proof_id}")] -pub async fn get_proof_state( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_proof_state(&path.into_inner()) - .await -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command/proof") - .service(send_proof_request) - .service(send_proof_proposal) - .service(send_presentation) - .service(verify_presentation) - .service(get_proof_state), - ); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/revocation.rs b/aries-backchannels/aries-vcx/src/controllers/revocation.rs deleted file mode 100644 index aa00392a..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/revocation.rs +++ /dev/null @@ -1,68 +0,0 @@ -use crate::controllers::Request; -use crate::error::HarnessResult; -use crate::HarnessAgent; - -use actix_web::{get, post, web, Responder}; - -use std::sync::RwLock; - -#[derive(Serialize, Deserialize, Default, Clone, Debug)] -pub struct CredentialRevocationData { - cred_rev_id: String, - rev_registry_id: String, - publish_immediately: bool, - notify_connection_id: String -} - -impl HarnessAgent { - pub async fn revoke_credential( - &self, - revocation_data: &CredentialRevocationData, - ) -> HarnessResult { - let CredentialRevocationData { - rev_registry_id, - cred_rev_id, - publish_immediately, - .. - } = revocation_data; - self.aries_agent.rev_regs().revoke_credential_locally(rev_registry_id, cred_rev_id).await?; - if *publish_immediately { - self.aries_agent.rev_regs().publish_local_revocations(rev_registry_id).await?; - }; - Ok("".to_string()) - } - - pub fn get_rev_reg_info_for_credential(&self, id: &str) -> HarnessResult { - let rev_reg_id = self.aries_agent.issuer().get_rev_reg_id(id)?; - let rev_id = self.aries_agent.issuer().get_rev_id(id)?; - Ok(json!({ "revoc_reg_id": rev_reg_id, "revocation_id": rev_id }).to_string()) - } -} - -#[post("/revoke")] -pub async fn revoke_credential( - agent: web::Data>, - req: web::Json>, -) -> impl Responder { - agent - .read() - .unwrap() - .revoke_credential(&req.data) - .await -} - -#[get("/{cred_id}")] -pub async fn get_rev_reg_info_for_credential( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent - .read() - .unwrap() - .get_rev_reg_info_for_credential(&path.into_inner()) -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service(web::scope("/response/revocation-registry").service(get_rev_reg_info_for_credential)) - .service(web::scope("/command/revocation").service(revoke_credential)); -} diff --git a/aries-backchannels/aries-vcx/src/controllers/schema.rs b/aries-backchannels/aries-vcx/src/controllers/schema.rs deleted file mode 100644 index 366f6193..00000000 --- a/aries-backchannels/aries-vcx/src/controllers/schema.rs +++ /dev/null @@ -1,75 +0,0 @@ -use crate::controllers::Request; -use crate::error::{HarnessError, HarnessErrorType, HarnessResult}; -use crate::{HarnessAgent, soft_assert_eq}; -use actix_web::{get, post, web, Responder}; -use std::sync::RwLock; - -#[derive(Serialize, Deserialize, Default)] -pub struct Schema { - schema_name: String, - schema_version: String, - attributes: Vec, -} - -impl HarnessAgent { - fn schema_id(&self, schema: &Schema) -> String { - let did = self.aries_agent.issuer_did(); - let &Schema { schema_name, schema_version, .. } = &schema; - format!("{}:2:{}:{}", did, schema_name, schema_version) - } - - async fn schema_published(&self, id: &str) -> bool { - self.aries_agent.schemas().schema_json(id).await.is_ok() - } - - pub async fn create_schema(&self, schema: &Schema) -> HarnessResult { - let id = self.schema_id(schema); - if !self.schema_published(&id).await { - soft_assert_eq!( - self - .aries_agent - .schemas() - .create_schema( - &schema.schema_name, - &schema.schema_version, - &schema.attributes, - ) - .await?, - id); - self.aries_agent.schemas().publish_schema(&id).await?; - }; - Ok(json!({ "schema_id": id }).to_string()) - } - - pub async fn get_schema(&self, id: &str) -> HarnessResult { - self.aries_agent - .schemas() - .schema_json(id) - .await - .map_err(|err| err.into()) - } -} - -#[post("")] -pub async fn create_schema( - req: web::Json>, - agent: web::Data>, -) -> impl Responder { - agent.read().unwrap().create_schema(&req.data).await -} - -#[get("/{schema_id}")] -pub async fn get_schema( - agent: web::Data>, - path: web::Path, -) -> impl Responder { - agent.read().unwrap().get_schema(&path.into_inner()).await -} - -pub fn config(cfg: &mut web::ServiceConfig) { - cfg.service( - web::scope("/command/schema") - .service(create_schema) - .service(get_schema), - ); -} diff --git a/aries-backchannels/aries-vcx/src/error.rs b/aries-backchannels/aries-vcx/src/error.rs deleted file mode 100644 index c78270fe..00000000 --- a/aries-backchannels/aries-vcx/src/error.rs +++ /dev/null @@ -1,159 +0,0 @@ -use crate::error::aries_vcx::common::primitives::credential_definition::CredentialDefConfigBuilderError; -use actix_web::{error, http::StatusCode, HttpResponse, HttpResponseBuilder}; -use aries_vcx_agent::aries_vcx::common::proofs::proof_request::ProofRequestDataBuilderError; -use aries_vcx_agent::aries_vcx::messages::errors::error::MessagesError; -use aries_vcx_agent::aries_vcx::{ - self, common::primitives::credential_definition::RevocationDetailsBuilderError, -}; -use aries_vcx_agent::AgentError; -use derive_more::{Display, Error}; - -pub type HarnessResult = Result; - -#[derive(Debug, Display, Error, Clone)] -pub enum HarnessErrorType { - #[display(fmt = "Internal server error")] - InternalServerError, - #[display(fmt = "Request not accepted")] - RequestNotAcceptedError, - #[display(fmt = "Request not received")] - RequestNotReceived, - #[display(fmt = "Not found")] - NotFoundError, - #[display(fmt = "Invalid JSON")] - InvalidJson, - #[display(fmt = "Protocol error")] - ProtocolError, - #[display(fmt = "Invalid state for requested operation")] - InvalidState, - #[display(fmt = "Encryption error")] - EncryptionError, - #[display(fmt = "Multiple credential definitions found")] - MultipleCredDefinitions, -} - -#[derive(Debug, Display, Error, Clone)] -#[display(fmt = "Error: {}", message)] -pub struct HarnessError { - pub message: String, - pub kind: HarnessErrorType, -} - -impl error::ResponseError for HarnessError { - fn error_response(&self) -> HttpResponse { - error!("{}", self.to_string()); - HttpResponseBuilder::new(self.status_code()).body(self.to_string()) - } - - fn status_code(&self) -> StatusCode { - match self.kind { - HarnessErrorType::RequestNotAcceptedError - | HarnessErrorType::RequestNotReceived - | HarnessErrorType::InvalidJson => StatusCode::NOT_ACCEPTABLE, - HarnessErrorType::NotFoundError => StatusCode::NOT_FOUND, - _ => StatusCode::INTERNAL_SERVER_ERROR, - } - } -} - -impl HarnessError { - pub fn from_msg(kind: HarnessErrorType, msg: &str) -> Self { - HarnessError { - kind, - message: msg.to_string(), - } - } - - pub fn from_kind(kind: HarnessErrorType) -> Self { - let message = kind.to_string(); - HarnessError { kind, message } - } -} - -impl std::convert::From for HarnessError { - fn from(vcx_err: aries_vcx::errors::error::AriesVcxError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - HarnessError { - message: vcx_err.to_string(), - kind, - } - } -} - -impl std::convert::From - for HarnessError -{ - fn from( - agency_client_error: aries_vcx::agency_client::errors::error::AgencyClientError, - ) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - HarnessError { - message: agency_client_error.to_string(), - kind, - } - } -} - -impl std::convert::From for HarnessError { - fn from(serde_err: serde_json::Error) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("(De)serialization failed; err: {:?}", serde_err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(io_err: std::io::Error) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("I/O error: {:?}", io_err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(rw_err: reqwest::Error) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("Reqwest error: {:?}", rw_err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(err: RevocationDetailsBuilderError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("RevocationDetailsBuilderError: {:?}", err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(err: CredentialDefConfigBuilderError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("CredentialDefConfigBuilderError: {:?}", err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(err: ProofRequestDataBuilderError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("ProofRequestDataBuilderError: {:?}", err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(err: AgentError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("AgentError: {:?}", err.to_string()); - HarnessError { message, kind } - } -} - -impl std::convert::From for HarnessError { - fn from(err: MessagesError) -> HarnessError { - let kind = HarnessErrorType::InternalServerError; - let message = format!("MessagesError: {:?}", err.to_string()); - HarnessError { message, kind } - } -} diff --git a/aries-backchannels/aries-vcx/src/main.rs b/aries-backchannels/aries-vcx/src/main.rs deleted file mode 100644 index 33eb3237..00000000 --- a/aries-backchannels/aries-vcx/src/main.rs +++ /dev/null @@ -1,136 +0,0 @@ -mod controllers; -mod error; -mod setup; - -extern crate serde; -#[macro_use] -extern crate serde_derive; -#[macro_use] -extern crate serde_json; -#[macro_use] -extern crate log; -extern crate aries_vcx_agent; -extern crate clap; -extern crate reqwest; -extern crate uuid; - -use std::sync::RwLock; - -use crate::controllers::{ - connection, - credential_definition, - general, - issuance, - presentation, - revocation, - schema, - didcomm -}; -use actix_web::{middleware, web, App, HttpServer}; -use clap::Parser; - -use aries_vcx_agent::Agent as AriesAgent; - -#[derive(Parser)] -struct Opts { - #[clap(short, long, default_value = "9020")] - port: u32, - #[clap(short, long, default_value = "false")] - interactive: String, -} - -#[derive(Copy, Clone, Serialize)] -#[serde(rename_all = "kebab-case")] -enum State { - Initial, - Invited, - Requested, - RequestSet, - Responded, - Complete, - Failure, - Unknown, - ProposalSent, - ProposalReceived, - OfferSent, - RequestReceived, - CredentialSent, - OfferReceived, - RequestSent, - PresentationSent, - Done, -} - -#[derive(Copy, Clone, Serialize)] -#[serde(rename_all = "lowercase")] -enum Status { - Active, -} - -#[derive(Clone)] -pub struct HarnessAgent { - aries_agent: AriesAgent, - status: Status, -} - -#[macro_export] -macro_rules! soft_assert_eq { - ($left:expr, $right:expr) => {{ - match (&$left, &$right) { - (left_val, right_val) => { - if !(*left_val == *right_val) { - return Err(HarnessError::from_msg( - HarnessErrorType::InternalServerError, - &format!( - r#"assertion failed: `(left == right)` - left: `{:?}`, - right: `{:?}`"#, - left_val, right_val - ), - )); - } - } - } - }}; -} - -#[actix_web::main] -async fn main() -> std::io::Result<()> { - env_logger::init_from_env(env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info")); - let opts: Opts = Opts::parse(); - - let host = std::env::var("HOST").unwrap_or("0.0.0.0".to_string()); - - let aries_agent = setup::initialize(opts.port).await; - - HttpServer::new(move || { - App::new() - .wrap(middleware::Logger::default()) - .wrap(middleware::NormalizePath::new( - middleware::TrailingSlash::Trim, - )) - .app_data(web::Data::new(RwLock::new(HarnessAgent { - aries_agent: aries_agent.clone(), - status: Status::Active, - }))) - .service( - web::scope("/agent") - .configure(connection::config) - .configure(schema::config) - .configure(credential_definition::config) - .configure(issuance::config) - .configure(revocation::config) - .configure(presentation::config) - .configure(general::config) - ) - .service( - web::scope("/didcomm").route("", web::post().to(didcomm::receive_message)) - ) - }) - .keep_alive(std::time::Duration::from_secs(30)) - .client_request_timeout(std::time::Duration::from_secs(30)) - .workers(2) - .bind(format!("{}:{}", host, opts.port))? - .run() - .await -} diff --git a/aries-backchannels/aries-vcx/src/setup.rs b/aries-backchannels/aries-vcx/src/setup.rs deleted file mode 100644 index c9fe1b96..00000000 --- a/aries-backchannels/aries-vcx/src/setup.rs +++ /dev/null @@ -1,104 +0,0 @@ -use aries_vcx_agent::{Agent as AriesAgent, InitConfig, PoolInitConfig, WalletInitConfig}; -use rand::{thread_rng, Rng}; -use std::io::prelude::*; - -#[derive(Debug, Deserialize)] -struct SeedResponse { - seed: String, -} - -async fn get_trustee_seed() -> String { - if let Ok(ledger_url) = std::env::var("LEDGER_URL") { - let url = format!("{}/register", ledger_url); - let mut rng = thread_rng(); - let client = reqwest::Client::new(); - let body = json!({ - "role": "TRUST_ANCHOR", - "seed": format!("my_seed_000000000000000000{}", rng.gen_range(100000..1000000)) - }) - .to_string(); - client - .post(&url) - .body(body) - .send() - .await - .expect("Failed to send message") - .json::() - .await - .expect("Failed to deserialize response") - .seed - } else { - "000000000000000000000000Trustee1".to_string() - } -} - -async fn download_genesis_file() -> std::result::Result { - match std::env::var("GENESIS_FILE").ok() { - Some(genesis_file) => { - if !std::path::Path::new(&genesis_file).exists() { - Err(format!("The file {} does not exist", genesis_file)) - } else { - info!("Using genesis file {}", genesis_file); - Ok(genesis_file) - } - } - None => match std::env::var("LEDGER_URL").ok() { - Some(ledger_url) => { - info!("Downloading genesis file from {}", ledger_url); - let genesis_url = format!("{}/genesis", ledger_url); - let body = reqwest::get(&genesis_url) - .await - .expect("Failed to get genesis file from ledger") - .text() - .await - .expect("Failed to get the response text"); - let path = std::env::current_dir() - .expect("Failed to obtain the current directory path") - .join("resource") - .join("genesis_file.txn"); - info!("Storing genesis file to {:?}", path); - let mut f = std::fs::OpenOptions::new() - .write(true) - .create(true) - .open(path.clone()) - .expect("Unable to open file"); - f.write_all(body.as_bytes()).expect("Unable to write data"); - debug!("Genesis file downloaded and saved to {:?}", path); - path.to_str() - .map(|s| s.to_string()) - .ok_or("Failed to convert genesis file path to string".to_string()) - } - None => std::env::current_dir() - .expect("Failed to obtain the current directory path") - .join("resource") - .join("indypool.txn") - .to_str() - .map(|s| s.to_string()) - .ok_or("Failed to convert genesis file path to string".to_string()), - }, - } -} - -pub async fn initialize(port: u32) -> AriesAgent { - let enterprise_seed = get_trustee_seed().await; - let genesis_path = download_genesis_file() - .await - .expect("Failed to download the genesis file"); - let dockerhost = std::env::var("DOCKERHOST").unwrap_or("localhost".to_string()); - let service_endpoint = format!("http://{}:{}/didcomm", dockerhost, port); - let init_config = InitConfig { - enterprise_seed, - pool_config: PoolInitConfig { - genesis_path, - pool_name: "pool_name".to_string(), - }, - wallet_config: WalletInitConfig { - wallet_name: format!("rust_agent_{}", uuid::Uuid::new_v4()), - wallet_key: "8dvfYSt5d1taSd6yJdpjq4emkwsPDDLYxkNFysFD2cZY".to_string(), - wallet_kdf: "RAW".to_string(), - }, - agency_config: None, - service_endpoint - }; - AriesAgent::initialize(init_config).await.unwrap() -}