From 0fcebc0b9fa947d51fbaacef9577cec517adedee Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 24 Apr 2026 14:45:16 -0700 Subject: [PATCH 1/6] Add rekor storage backend --- Cargo.lock | 1824 ++++++++++++++++++++------------ Cargo.toml | 9 +- README.md | 3 +- docs/EXAMPLES.md | 42 + docs/USER_GUIDE.md | 52 +- src/cli/commands.rs | 76 ++ src/cli/handlers.rs | 134 ++- src/in_toto/dsse.rs | 65 +- src/main.rs | 8 +- src/storage/database.rs | 9 - src/storage/rekor.rs | 265 ++++- src/tests/mod.rs | 1 + src/tests/rekor_integration.rs | 193 ++++ 13 files changed, 1932 insertions(+), 749 deletions(-) create mode 100644 src/tests/rekor_integration.rs diff --git a/Cargo.lock b/Cargo.lock index c0e957e..7b9e0c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,37 +2,42 @@ # It is not intended for manual editing. version = 4 +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] [[package]] -name = "android_system_properties" -version = "0.1.5" +name = "ambient-id" +version = "0.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +checksum = "c1daa54020e05aa0b163ee10434fff35a0f18d28a1cafa142bd1290e1abe630e" dependencies = [ - "libc", + "astral-reqwest-middleware", + "reqwest 0.13.3", + "secrecy", + "serde", + "serde_json", + "thiserror 2.0.18", ] [[package]] -name = "anstream" -version = "0.6.18" +name = "android_system_properties" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" dependencies = [ - "anstyle", - "anstyle-parse 0.2.6", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", + "libc", ] [[package]] @@ -42,7 +47,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" dependencies = [ "anstyle", - "anstyle-parse 1.0.0", + "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", @@ -56,15 +61,6 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" -[[package]] -name = "anstyle-parse" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" -dependencies = [ - "utf8parse", -] - [[package]] name = "anstyle-parse" version = "1.0.0" @@ -76,29 +72,67 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.7" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "once_cell", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" + +[[package]] +name = "astral-reqwest-middleware" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98e1c6be25cfbf1bb4fea1a9da51bc05d3259a9062df4e53f54e5607895e33c9" +dependencies = [ + "anyhow", + "async-trait", + "http", + "reqwest 0.13.3", + "serde", + "thiserror 2.0.18", + "tower-service", +] + +[[package]] +name = "async-compression" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac" +dependencies = [ + "compression-codecs", + "compression-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] name = "atlas-c2pa-lib" @@ -140,13 +174,18 @@ dependencies = [ "openssl", "protobuf", "protobuf-json-mapping", - "reqwest 0.13.2", + "reqwest 0.13.3", "serde", "serde_cbor", "serde_json", "serde_with", "serde_yaml", - "sha2", + "sha2 0.11.0", + "sigstore-crypto", + "sigstore-fulcio", + "sigstore-oidc", + "sigstore-rekor", + "sigstore-types", "subtle", "tdx_workload_attestation", "tempfile", @@ -166,25 +205,26 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "aws-lc-rs" -version = "1.15.2" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a88aab2464f1f25453baa7a07c84c5b7684e274054ba06817f382357f77a288" +checksum = "5ec2f1fc3ec205783a5da9a7e6c1509cc69dedf09a1949e412c1e18469326d00" dependencies = [ "aws-lc-sys", + "untrusted 0.7.1", "zeroize", ] [[package]] name = "aws-lc-sys" -version = "0.35.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45afffdee1e7c9126814751f88dddc747f41d91da16c9551a0f1e8a11e788a1" +checksum = "1a2f9779ce85b93ab6170dd940ad0169b5766ff848247aff13bb788b832fe3f4" dependencies = [ "cc", "cmake", @@ -198,6 +238,12 @@ version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + [[package]] name = "bitflags" version = "1.3.2" @@ -206,9 +252,18 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.0" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" + +[[package]] +name = "block-buffer" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] [[package]] name = "block-buffer" @@ -219,23 +274,32 @@ dependencies = [ "hybrid-array", ] +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" [[package]] name = "bytes" -version = "1.10.1" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" [[package]] name = "cc" -version = "1.2.51" +version = "1.2.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a0aeaff4ff1a90589618835a598e545176939b97874f7abc7851caa0618f203" +checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98" dependencies = [ "find-msvc-tools", "jobserver", @@ -243,17 +307,11 @@ dependencies = [ "shlex", ] -[[package]] -name = "cesu8" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" - [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -261,6 +319,17 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +[[package]] +name = "chacha20" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "rand_core 0.10.1", +] + [[package]] name = "chrono" version = "0.4.44" @@ -272,7 +341,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-link 0.2.0", + "windows-link", ] [[package]] @@ -299,14 +368,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", - "half 2.6.0", + "half 2.7.1", ] [[package]] name = "clap" -version = "4.6.0" +version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351" +checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" dependencies = [ "clap_builder", "clap_derive", @@ -318,7 +387,7 @@ version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" dependencies = [ - "anstream 1.0.0", + "anstream", "anstyle", "clap_lex", "strsim", @@ -326,9 +395,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.6.0" +version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a" +checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" dependencies = [ "heck", "proc-macro2", @@ -338,24 +407,24 @@ dependencies = [ [[package]] name = "clap_lex" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831" +checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" [[package]] name = "cmake" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" dependencies = [ "cc", ] [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "combine" @@ -367,19 +436,41 @@ dependencies = [ "memchr", ] +[[package]] +name = "compression-codecs" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf" +dependencies = [ + "compression-core", + "flate2", + "memchr", +] + +[[package]] +name = "compression-core" +version = "0.4.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789" + [[package]] name = "console" -version = "0.16.0" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e09ced7ebbccb63b4c65413d821f2e00ce54c5ca4514ddc6b3c892fdbcbc69d" +checksum = "d64e8af5551369d19cf50138de61f1c42074ab970f74e99be916646777f8fc87" dependencies = [ "encode_unicode", "libc", - "once_cell", "unicode-width", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "const-oid" version = "0.10.2" @@ -422,6 +513,15 @@ dependencies = [ "ciborium-io", ] +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + [[package]] name = "cpufeatures" version = "0.3.0" @@ -431,17 +531,36 @@ dependencies = [ "libc", ] +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + [[package]] name = "crunchy" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-common" -version = "0.2.1" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" dependencies = [ "hybrid-array", ] @@ -480,25 +599,59 @@ dependencies = [ "syn", ] +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "der_derive", + "flagset", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der_derive" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "deranged" -version = "0.5.3" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] name = "digest" -version = "0.11.2" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" dependencies = [ - "block-buffer", - "const-oid", - "crypto-common", + "block-buffer 0.12.0", + "const-oid 0.10.2", + "crypto-common 0.2.2", ] [[package]] @@ -520,15 +673,15 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clone" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "either" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" [[package]] name = "encode_unicode" @@ -547,9 +700,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a1c3cc8e57274ec99de65301228b537f1e4eedc1b8e0f9411c6caac8ae7308f" +checksum = "32e90c2accc4b07a8456ea0debdc2e7587bdd890680d71173a15d4ae604f6eef" dependencies = [ "log", "regex", @@ -557,11 +710,11 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.9" +version = "0.11.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2daee4ea451f429a58296525ddf28b45a3b64f1acf6587e2067437bb11e218d" +checksum = "0621c04f2196ac3f488dd583365b9c09be011a4ab8b9f37248ffcc8f6198b56a" dependencies = [ - "anstream 0.6.18", + "anstream", "anstyle", "env_filter", "jiff", @@ -576,25 +729,41 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.11" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "fastrand" -version = "2.3.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "find-msvc-tools" -version = "0.1.6" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "flagset" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe" + +[[package]] +name = "flate2" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff" +checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +dependencies = [ + "crc32fast", + "miniz_oxide", +] [[package]] name = "fnv" @@ -625,9 +794,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -640,9 +809,9 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "futures-channel" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" dependencies = [ "futures-core", "futures-sink", @@ -650,33 +819,33 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" [[package]] name = "futures-io" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" [[package]] name = "futures-sink" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" [[package]] name = "futures-task" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" [[package]] name = "futures-util" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" dependencies = [ "futures-core", "futures-io", @@ -684,55 +853,65 @@ dependencies = [ "futures-task", "memchr", "pin-project-lite", - "pin-utils", "slab", ] +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + [[package]] name = "getrandom" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] [[package]] name = "getrandom" -version = "0.3.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "js-sys", "libc", - "r-efi", - "wasi 0.14.2+wasi-0.2.4", + "r-efi 5.3.0", + "wasip2", "wasm-bindgen", ] [[package]] name = "getrandom" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" dependencies = [ "cfg-if", "libc", - "r-efi", + "r-efi 6.0.0", + "rand_core 0.10.1", "wasip2", "wasip3", ] [[package]] name = "h2" -version = "0.4.9" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75249d144030531f8dee69fe9cea04d3edf809a017ae445e2abdff6629e86633" +checksum = "171fefbc92fe4a4de27e0698d6a5b392d6a0e333506bc49133760b3bcf948733" dependencies = [ "atomic-waker", "bytes", @@ -740,7 +919,7 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap 2.9.0", + "indexmap 2.14.0", "slab", "tokio", "tokio-util", @@ -755,12 +934,13 @@ checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" [[package]] name = "half" -version = "2.6.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" dependencies = [ "cfg-if", "crunchy", + "zerocopy", ] [[package]] @@ -771,13 +951,19 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.15.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "foldhash", ] +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + [[package]] name = "heck" version = "0.5.0" @@ -792,21 +978,20 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "home" -version = "0.5.11" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "http" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", - "fnv", "itoa", ] @@ -841,22 +1026,23 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hybrid-array" -version = "0.4.8" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8655f91cd07f2b9d0c24137bd650fe69617773435ee5ec83022377777ce65ef1" +checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da" dependencies = [ "typenum", ] [[package]] name = "hyper" -version = "1.6.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "h2", "http", "http-body", @@ -870,16 +1056,14 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.5" +version = "0.27.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" +checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", "rustls", - "rustls-pki-types", "tokio", "tokio-rustls", "tower-service", @@ -903,14 +1087,13 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.14" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc2fdfdbff08affe55bb779f33b053aa1fe5dd5b54c257343c17edfa55711bdb" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" dependencies = [ "base64", "bytes", "futures-channel", - "futures-core", "futures-util", "http", "http-body", @@ -919,7 +1102,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.9", + "socket2", "system-configuration", "tokio", "tower-service", @@ -929,9 +1112,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.63" +version = "0.1.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -953,21 +1136,23 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" dependencies = [ "displaydoc", + "potential_utf", + "utf8_iter", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" dependencies = [ "displaydoc", "litemap", @@ -976,99 +1161,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7" +checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2" +checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "id-arena" version = "2.3.0" @@ -1083,9 +1230,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -1094,9 +1241,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" dependencies = [ "icu_normalizer", "icu_properties", @@ -1129,13 +1276,14 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.9.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.15.3", + "hashbrown 0.17.1", "serde", + "serde_core", ] [[package]] @@ -1153,50 +1301,40 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.11.0" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" [[package]] -name = "iri-string" -version = "0.7.8" +name = "is_terminal_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "jiff" -version = "0.2.14" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a194df1107f33c79f4f93d02c80798520551949d59dfad22b6157048a88cca93" +checksum = "f00b5dbd620d61dfdcb6007c9c1f6054ebd75319f163d886a9055cec1155073d" dependencies = [ "jiff-static", "log", "portable-atomic", "portable-atomic-util", - "serde", + "serde_core", ] [[package]] name = "jiff-static" -version = "0.2.14" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6e1db7ed32c6c71b759497fae34bf7933636f75a251b9e736555da426f6442" +checksum = "e000de030ff8022ea1da3f466fbb0f3a809f5e51ed31f6dd931c35181ad8e6d7" dependencies = [ "proc-macro2", "quote", @@ -1205,25 +1343,52 @@ dependencies = [ [[package]] name = "jni" -version = "0.21.1" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" dependencies = [ - "cesu8", "cfg-if", "combine", + "jni-macros", "jni-sys", "log", - "thiserror 1.0.69", + "simd_cesu8", + "thiserror 2.0.18", "walkdir", - "windows-sys 0.45.0", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn", ] [[package]] name = "jni-sys" -version = "0.3.0" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn", +] [[package]] name = "jobserver" @@ -1231,16 +1396,18 @@ version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ - "getrandom 0.3.2", + "getrandom 0.3.4", "libc", ] [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "142bc4740e452c1e57ade0cbc129f139c9093e354346f0872ef985f4f5cf5f11" dependencies = [ + "cfg-if", + "futures-util", "once_cell", "wasm-bindgen", ] @@ -1259,9 +1426,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.182" +version = "0.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "linux-raw-sys" @@ -1277,9 +1444,18 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" [[package]] name = "litemap" -version = "0.7.5" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" + +[[package]] +name = "lock_api" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] [[package]] name = "log" @@ -1295,9 +1471,9 @@ checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" [[package]] name = "memchr" -version = "2.7.4" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "mime" @@ -1305,39 +1481,49 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + [[package]] name = "mio" -version = "1.0.3" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", + "wasi", + "windows-sys 0.61.2", ] [[package]] name = "native-tls" -version = "0.2.14" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" +checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2" dependencies = [ "libc", "log", "openssl", - "openssl-probe 0.1.6", + "openssl-probe", "openssl-sys", "schannel", - "security-framework 2.11.1", + "security-framework", "security-framework-sys", "tempfile", ] [[package]] name = "num-conv" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf97ec579c3c42f953ef76dbf8d55ac91fb219dde70e49aa4a6b7d74e9919050" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" [[package]] name = "num-traits" @@ -1350,21 +1536,26 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.21.3" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "openssl" -version = "0.10.76" +version = "0.10.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951c002c75e16ea2c65b8c7e4d3d51d5530d8dfa7d060b4776828c88cfb18ecf" +checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "cfg-if", "foreign-types", "libc", - "once_cell", "openssl-macros", "openssl-sys", ] @@ -1382,21 +1573,15 @@ dependencies = [ [[package]] name = "openssl-probe" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" - -[[package]] -name = "openssl-probe" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f50d9b3dabb09ecd771ad0aa242ca6894994c130308ca3d7684634df8037391" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" [[package]] name = "openssl-sys" -version = "0.9.112" +version = "0.9.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d55af3b3e226502be1526dfdba67ab0e9c96fc293004e79576b2b9edb0dbdb" +checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4" dependencies = [ "cc", "libc", @@ -1405,28 +1590,64 @@ dependencies = [ ] [[package]] -name = "percent-encoding" -version = "2.3.1" +name = "parking_lot" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] [[package]] -name = "pin-project-lite" -version = "0.2.16" +name = "parking_lot_core" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] [[package]] -name = "pin-utils" -version = "0.1.0" +name = "pem" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkg-config" -version = "0.3.32" +version = "0.3.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "portable-atomic" @@ -1436,13 +1657,22 @@ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" [[package]] name = "portable-atomic-util" -version = "0.2.4" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" dependencies = [ "portable-atomic", ] +[[package]] +name = "potential_utf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -1521,7 +1751,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4aeaa1f2460f1d348eeaeed86aea999ce98c1bded6f089ff8514c9d9dbdc973" dependencies = [ "anyhow", - "indexmap 2.9.0", + "indexmap 2.14.0", "log", "protobuf", "protobuf-support", @@ -1552,7 +1782,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.6.0", + "socket2", "thiserror 2.0.18", "tokio", "tracing", @@ -1567,9 +1797,9 @@ checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098" dependencies = [ "aws-lc-rs", "bytes", - "getrandom 0.3.2", + "getrandom 0.3.4", "lru-slab", - "rand", + "rand 0.9.4", "ring", "rustc-hash", "rustls", @@ -1590,7 +1820,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.6.0", + "socket2", "tracing", "windows-sys 0.60.2", ] @@ -1606,18 +1836,35 @@ dependencies = [ [[package]] name = "r-efi" -version = "5.2.0" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha", - "rand_core", + "rand_core 0.9.5", +] + +[[package]] +name = "rand" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" +dependencies = [ + "chacha20", + "getrandom 0.4.2", + "rand_core 0.10.1", ] [[package]] @@ -1627,32 +1874,53 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", ] [[package]] name = "rand_core" -version = "0.9.3" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "redox_syscall" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "getrandom 0.3.2", + "bitflags 2.11.1", ] [[package]] name = "ref-cast" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote", @@ -1661,9 +1929,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.1" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" dependencies = [ "aho-corasick", "memchr", @@ -1673,9 +1941,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" dependencies = [ "aho-corasick", "memchr", @@ -1684,9 +1952,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "reqwest" @@ -1732,9 +2000,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" +checksum = "62e0021ea2c22aed41653bc7e1419abb2c97e038ff2c33d0e1309e49a97deec0" dependencies = [ "base64", "bytes", @@ -1760,6 +2028,7 @@ dependencies = [ "rustls-platform-verifier", "serde", "serde_json", + "serde_urlencoded", "sync_wrapper", "tokio", "tokio-rustls", @@ -1780,17 +2049,26 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.16", + "getrandom 0.2.17", "libc", - "untrusted", + "untrusted 0.9.0", "windows-sys 0.52.0", ] [[package]] name = "rustc-hash" -version = "2.1.1" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustc_version" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] [[package]] name = "rustix" @@ -1798,7 +2076,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "errno", "libc", "linux-raw-sys 0.4.15", @@ -1811,18 +2089,18 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.28" +version = "0.23.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7160e3e10bf4535308537f3c4e1641468cd0e485175d6163087c0393c7d46643" +checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b" dependencies = [ "aws-lc-rs", "once_cell", @@ -1838,26 +2116,27 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" dependencies = [ - "openssl-probe 0.2.0", + "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.5.1", + "security-framework", ] [[package]] name = "rustls-pki-types" -version = "1.11.0" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" +checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" dependencies = [ "web-time", + "zeroize", ] [[package]] name = "rustls-platform-verifier" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" +checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0" dependencies = [ "core-foundation 0.10.1", "core-foundation-sys", @@ -1868,10 +2147,10 @@ dependencies = [ "rustls-native-certs", "rustls-platform-verifier-android", "rustls-webpki", - "security-framework 3.5.1", + "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -1882,27 +2161,27 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.3" +version = "0.103.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" +checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" dependencies = [ "aws-lc-rs", "ring", "rustls-pki-types", - "untrusted", + "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.20" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" [[package]] name = "same-file" @@ -1915,11 +2194,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -1936,9 +2215,9 @@ dependencies = [ [[package]] name = "schemars" -version = "1.0.4" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0" +checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc" dependencies = [ "dyn-clone", "ref-cast", @@ -1947,25 +2226,27 @@ dependencies = [ ] [[package]] -name = "security-framework" -version = "2.11.1" +name = "scopeguard" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "secrecy" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" dependencies = [ - "bitflags 2.9.0", - "core-foundation 0.9.4", - "core-foundation-sys", - "libc", - "security-framework-sys", + "zeroize", ] [[package]] name = "security-framework" -version = "3.5.1" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "core-foundation 0.10.1", "core-foundation-sys", "libc", @@ -1974,9 +2255,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.15.0" +version = "2.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" dependencies = [ "core-foundation-sys", "libc", @@ -1984,9 +2265,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" [[package]] name = "serde" @@ -2027,142 +2308,295 @@ dependencies = [ ] [[package]] -name = "serde_derive" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.150" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "3.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e72c1c2cb7b223fafb600a619537a871c2818583d619401b785e7c0b746ccde2" +dependencies = [ + "base64", + "bs58", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.14.0", + "schemars 0.9.0", + "schemars 1.2.1", + "serde_core", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b90c488738ecb4fb0262f41f43bc40efc5868d9fb744319ddf5f5317f417bfac" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_yaml" +version = "0.9.34+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" +dependencies = [ + "indexmap 2.14.0", + "itoa", + "ryu", + "serde", + "unsafe-libyaml", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "sigstore-crypto" +version = "0.6.5" +dependencies = [ + "aws-lc-rs", + "base64", + "const-oid 0.9.6", + "der", + "digest 0.10.7", + "pem", + "rand_core 0.10.1", + "sha2 0.10.9", + "signature", + "sigstore-types", + "spki", + "thiserror 2.0.18", + "tracing", + "x509-cert", +] + +[[package]] +name = "sigstore-fulcio" +version = "0.6.5" dependencies = [ - "proc-macro2", - "quote", - "syn", + "base64", + "reqwest 0.13.3", + "serde", + "serde_json", + "sigstore-crypto", + "sigstore-oidc", + "sigstore-types", + "thiserror 2.0.18", + "url", ] [[package]] -name = "serde_json" -version = "1.0.149" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +name = "sigstore-merkle" +version = "0.6.5" dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", + "base64", + "hex", + "sigstore-crypto", + "sigstore-types", + "thiserror 2.0.18", ] [[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +name = "sigstore-oidc" +version = "0.6.5" dependencies = [ - "form_urlencoded", - "itoa", - "ryu", + "ambient-id", + "base64", + "rand 0.10.1", + "reqwest 0.13.3", "serde", + "serde_json", + "sigstore-crypto", + "sigstore-types", + "thiserror 2.0.18", + "tokio", + "url", ] [[package]] -name = "serde_with" -version = "3.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f" +name = "sigstore-rekor" +version = "0.6.5" dependencies = [ "base64", - "chrono", "hex", - "indexmap 1.9.3", - "indexmap 2.9.0", - "schemars 0.9.0", - "schemars 1.0.4", - "serde_core", + "reqwest 0.13.3", + "serde", "serde_json", - "serde_with_macros", - "time", + "sigstore-crypto", + "sigstore-merkle", + "sigstore-types", + "thiserror 2.0.18", + "url", ] [[package]] -name = "serde_with_macros" -version = "3.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65" +name = "sigstore-types" +version = "0.6.5" dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", + "base64", + "chrono", + "hex", + "pem", + "serde", + "serde_json", + "thiserror 2.0.18", ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" +name = "simd-adler32" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" -dependencies = [ - "indexmap 2.9.0", - "itoa", - "ryu", - "serde", - "unsafe-libyaml", -] +checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" [[package]] -name = "sha2" -version = "0.11.0" +name = "simd_cesu8" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +checksum = "94f90157bb87cddf702797c5dadfa0be7d266cdf49e22da2fcaa32eff75b2c33" dependencies = [ - "cfg-if", - "cpufeatures", - "digest", + "rustc_version", + "simdutf8", ] [[package]] -name = "shlex" -version = "1.3.0" +name = "simdutf8" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "slab" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "smallvec" -version = "1.15.0" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.9" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] -name = "socket2" -version = "0.6.0" +name = "spki" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ - "libc", - "windows-sys 0.59.0", + "base64ct", + "der", ] [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "strsim" @@ -2209,11 +2643,11 @@ dependencies = [ [[package]] name = "system-configuration" -version = "0.6.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "core-foundation 0.9.4", "system-configuration-sys", ] @@ -2253,10 +2687,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.1", + "getrandom 0.4.2", "once_cell", "rustix 1.1.4", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -2332,9 +2766,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" dependencies = [ "displaydoc", "zerovec", @@ -2342,9 +2776,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" +checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" dependencies = [ "tinyvec_macros", ] @@ -2355,18 +2789,53 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +[[package]] +name = "tls_codec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de2e01245e2bb89d6f05801c564fa27624dbd7b1846859876c7dad82e90bf6b" +dependencies = [ + "tls_codec_derive", + "zeroize", +] + +[[package]] +name = "tls_codec_derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d2e76690929402faae40aebdda620a2c0e25dd6d3b9afe48867dfd95991f4bd" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio" -version = "1.50.0" +version = "1.52.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d" +checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe" dependencies = [ "bytes", "libc", "mio", + "parking_lot", "pin-project-lite", - "socket2 0.6.0", - "windows-sys 0.61.1", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2381,9 +2850,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -2391,9 +2860,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" dependencies = [ "bytes", "futures-core", @@ -2404,9 +2873,9 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" dependencies = [ "futures-core", "futures-util", @@ -2419,20 +2888,25 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.8" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" dependencies = [ - "bitflags 2.9.0", + "async-compression", + "bitflags 2.11.1", "bytes", + "futures-core", "futures-util", "http", "http-body", - "iri-string", + "http-body-util", "pin-project-lite", + "tokio", + "tokio-util", "tower", "tower-layer", "tower-service", + "url", ] [[package]] @@ -2449,19 +2923,31 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ "pin-project-lite", + "tracing-attributes", "tracing-core", ] +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" dependencies = [ "once_cell", ] @@ -2474,21 +2960,21 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typenum" -version = "1.18.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "unicode-width" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "unicode-xid" @@ -2498,9 +2984,9 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "unit-prefix" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "323402cff2dd658f39ca17c789b502021b3f18707c91cdf22e3838e1b4023817" +checksum = "81e544489bf3d8ef66c953931f56617f423cd4b5494be343d9b9d3dda037b9a3" [[package]] name = "unsafe-libyaml" @@ -2508,6 +2994,12 @@ version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + [[package]] name = "untrusted" version = "0.9.0" @@ -2516,22 +3008,17 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" dependencies = [ "form_urlencoded", "idna", "percent-encoding", "serde", + "serde_derive", ] -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -2546,11 +3033,11 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.23.0" +version = "1.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" +checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" dependencies = [ - "getrandom 0.4.1", + "getrandom 0.4.2", "js-sys", "wasm-bindgen", ] @@ -2561,6 +3048,12 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + [[package]] name = "vmm-sys-util" version = "0.14.0" @@ -2592,26 +3085,17 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasi" -version = "0.14.2+wasi-0.2.4" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" -dependencies = [ - "wit-bindgen-rt", -] +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasip2" -version = "1.0.2+wasi-0.2.9" +version = "1.0.3+wasi-0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.57.1", ] [[package]] @@ -2620,53 +3104,37 @@ version = "0.4.0+wasi-0.3.0-rc-2026-01-06" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.51.0", ] [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "3ed04576f974d2b2fba0f38c51dbc5518011e38c36bf1143164be765528fd409" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "9473dbd2991ae90b6291c3c32c30c6187ac49aa32f9905d1cce280ec1e110b0f" dependencies = [ - "cfg-if", "js-sys", - "once_cell", "wasm-bindgen", - "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "916151b09da36bd82f6615cbf3a419e2f0ba23a03c6160e8e92eb6bd4aa1dec6" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2674,22 +3142,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "299047362ccbfce148b67ab7e73349f77748e00c8296f9542adfad2ad82c5c5e" dependencies = [ + "bumpalo", "proc-macro2", "quote", "syn", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "9a929b2c61f11ba3e9bc35b50c1f25cb38e0e892c0c231ae2b8cf78d5dad4437" dependencies = [ "unicode-ident", ] @@ -2711,7 +3179,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" dependencies = [ "anyhow", - "indexmap 2.9.0", + "indexmap 2.14.0", "wasm-encoder", "wasmparser", ] @@ -2722,17 +3190,17 @@ version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" dependencies = [ - "bitflags 2.9.0", - "hashbrown 0.15.3", - "indexmap 2.9.0", + "bitflags 2.11.1", + "hashbrown 0.15.5", + "indexmap 2.14.0", "semver", ] [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "6d621441cfc37b84979402712047321980c178f299193a3589d05b99e8763436" dependencies = [ "js-sys", "wasm-bindgen", @@ -2750,9 +3218,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.4" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3e3b5f5e80bc89f30ce8d0343bf4e5f12341c51f3e26cbeecbc7c85443e85b" +checksum = "f31141ce3fc3e300ae89b78c0dd67f9708061d1d2eda54b8209346fd6be9a92c" dependencies = [ "rustls-pki-types", ] @@ -2771,31 +3239,31 @@ dependencies = [ [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "windows-core" -version = "0.61.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", - "windows-link 0.1.1", + "windows-link", "windows-result", "windows-strings", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -2804,9 +3272,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -2815,52 +3283,37 @@ dependencies = [ [[package]] name = "windows-link" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" - -[[package]] -name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-registry" -version = "0.5.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3bab093bdd303a1240bb99b8aba8ea8a69ee19d34c9e2ef9594e708a4878820" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" dependencies = [ - "windows-link 0.1.1", + "windows-link", "windows-result", "windows-strings", ] [[package]] name = "windows-result" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-link 0.1.1", + "windows-link", ] [[package]] name = "windows-strings" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" -dependencies = [ - "windows-link 0.1.1", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.42.2", + "windows-link", ] [[package]] @@ -2887,31 +3340,16 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.2", + "windows-targets 0.53.5", ] [[package]] name = "windows-sys" -version = "0.61.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f" -dependencies = [ - "windows-link 0.2.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-link", ] [[package]] @@ -2932,26 +3370,21 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.2" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" @@ -2960,15 +3393,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" @@ -2978,15 +3405,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" @@ -2996,9 +3417,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" @@ -3008,15 +3429,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" @@ -3026,15 +3441,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_i686_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" @@ -3044,15 +3453,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" @@ -3062,15 +3465,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" @@ -3080,9 +3477,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "wit-bindgen" @@ -3093,6 +3490,12 @@ dependencies = [ "wit-bindgen-rust-macro", ] +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + [[package]] name = "wit-bindgen-core" version = "0.51.0" @@ -3104,15 +3507,6 @@ dependencies = [ "wit-parser", ] -[[package]] -name = "wit-bindgen-rt" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" -dependencies = [ - "bitflags 2.9.0", -] - [[package]] name = "wit-bindgen-rust" version = "0.51.0" @@ -3121,7 +3515,7 @@ checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" dependencies = [ "anyhow", "heck", - "indexmap 2.9.0", + "indexmap 2.14.0", "prettyplease", "syn", "wasm-metadata", @@ -3151,8 +3545,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" dependencies = [ "anyhow", - "bitflags 2.9.0", - "indexmap 2.9.0", + "bitflags 2.11.1", + "indexmap 2.14.0", "log", "serde", "serde_derive", @@ -3171,7 +3565,7 @@ checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" dependencies = [ "anyhow", "id-arena", - "indexmap 2.9.0", + "indexmap 2.14.0", "log", "semver", "serde", @@ -3182,24 +3576,31 @@ dependencies = [ ] [[package]] -name = "write16" -version = "1.0.0" +name = "writeable" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" [[package]] -name = "writeable" -version = "0.5.5" +name = "x509-cert" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94" +dependencies = [ + "const-oid 0.9.6", + "der", + "sha1", + "signature", + "spki", + "tls_codec", +] [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -3207,9 +3608,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" dependencies = [ "proc-macro2", "quote", @@ -3219,18 +3620,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.31" +version = "0.8.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.31" +version = "0.8.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" dependencies = [ "proc-macro2", "quote", @@ -3239,18 +3640,18 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" dependencies = [ "proc-macro2", "quote", @@ -3269,20 +3670,31 @@ dependencies = [ [[package]] name = "zeroize_derive" -version = "1.4.2" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "zerotrie" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" dependencies = [ "yoke", "zerofrom", @@ -3291,9 +3703,9 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" dependencies = [ "proc-macro2", "quote", @@ -3302,6 +3714,6 @@ dependencies = [ [[package]] name = "zmij" -version = "1.0.2" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4a4e8e9dc5c62d159f04fcdbe07f4c3fb710415aab4754bf11505501e3251d" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/Cargo.toml b/Cargo.toml index 3fef89b..32cb694 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ zeroize = { version = "1.8", features = ["derive"] } # CLI and async/runtime clap = { version = "4.6", features = ["derive"] } -tokio = "1.50.0" +tokio = { version = "1.50.0", features = ["rt-multi-thread"] } # Serialization serde = { version = "1.0", features = ["derive"] } @@ -72,6 +72,13 @@ protobuf-json-mapping = "3.7.2" reqwest = { version = "0.13.2", features = ["blocking", "json"] } subtle = "2.6.1" +# Sigstore +sigstore-types = { path = "../sigstore-rust/crates/sigstore-types" } +sigstore-rekor = { path = "../sigstore-rust/crates/sigstore-rekor", default-features = false, features = ["rustls"] } +sigstore-fulcio = { path = "../sigstore-rust/crates/sigstore-fulcio", default-features = false, features = ["rustls"] } +sigstore-oidc = { path = "../sigstore-rust/crates/sigstore-oidc", default-features = false, features = ["rustls"] } +sigstore-crypto = { path = "../sigstore-rust/crates/sigstore-crypto" } + [dev-dependencies] tempfile = "3.27.0" diff --git a/README.md b/README.md index 5a3f454..94cb509 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ A command-line interface tool for creating, managing, and verifying Content Prov - **Model & Dataset Manifests**: Create C2PA-compliant manifests for ML models and datasets - **Cryptographic Signing**: Sign manifests with cryptographic keys for authenticity verification, incl. support for the [OpenSSF Model Signing] (OMS) specification. - **Provenance Linking**: Create verifiable links between models, datasets, and ML assets -- **Multiple Storage Types**: Store manifests in [Atlas Transparency Log](https://github.com/IntelLabs/atlas-transparency-log), Rekor log, or filesystem backends +- **Multiple Storage Types**: Store manifests in [Atlas Transparency Log](https://github.com/IntelLabs/atlas-transparency-log), [Sigstore Rekor](https://docs.sigstore.dev/logging/overview/) transparency log, or filesystem backends +- **Rekor Verification**: Verify manifests against Rekor entries (payload hash + DSSE signature) - **Format Support**: Work with models in ONNX, TensorFlow, PyTorch, and Keras formats - **TEE Attestation**: Optional support for Trusted Execution Environment (TDX) integration diff --git a/docs/EXAMPLES.md b/docs/EXAMPLES.md index e1270ac..2d07838 100644 --- a/docs/EXAMPLES.md +++ b/docs/EXAMPLES.md @@ -295,6 +295,48 @@ atlas-cli software link-model \ --model-id=$MODEL_ID ``` +## Rekor Transparency Log Examples + +### Storing a Manifest in Rekor + +```bash +# Store a model manifest in the public Rekor log +atlas-cli model create \ + --paths=model.onnx \ + --ingredient-names="Model" \ + --name="My Model" \ + --key=private.pem \ + --cert=cert.pem \ + --storage-type=rekor \ + --storage-url=https://rekor.sigstore.dev +# Output: Rekor entry UUID +# Save the UUID and keep the manifest JSON for later verification +``` + +### Verifying a Manifest Against Rekor + +```bash +# Verify that a local manifest matches the Rekor entry +atlas-cli rekor verify \ + --uuid \ + --manifest manifest.json + +# Example output: +# Rekor Verification Result: +# Log index: 1367633236 +# Integrated time: 1777010403 +# Payload hash: MATCH +# Signature: VALID +# +# Verification PASSED: manifest matches Rekor entry. +``` + +### Looking Up a Rekor Entry + +```bash +atlas-cli rekor get --uuid +``` + ## Output Format Examples ### JSON Output Format diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md index 1745baa..67d08f8 100644 --- a/docs/USER_GUIDE.md +++ b/docs/USER_GUIDE.md @@ -107,6 +107,16 @@ Subcommands: - `link-model` - Link software to a model - `link-dataset` - Link software to a dataset +### Rekor Commands + +``` +atlas-cli rekor [SUBCOMMAND] +``` + +Subcommands: +- `verify` - Verify a local manifest against a Rekor transparency log entry +- `get` - Look up a Rekor entry by UUID + ## Configuration Options ### Keys for Signing @@ -169,15 +179,51 @@ atlas-cli model create \ ### Rekor Storage -Stores manifests in a Rekor transparency log: +Stores manifests as DSSE envelopes in a [Sigstore Rekor](https://docs.sigstore.dev/logging/overview/) transparency log. Rekor records the payload hash, signature, and certificate — not the full manifest content. You must keep the manifest file locally for later verification. + +Requires a signing key (`--key`) and either a certificate (`--cert`) or Fulcio OIDC flow (`--fulcio --oidc-token`): ```bash -export REKOR_URL=https://rekor.example.com +# Store with a certificate file atlas-cli model create \ + --paths=model.onnx \ + --ingredient-names="Model" \ + --name="My Model" \ + --key=private.pem \ + --cert=cert.pem \ --storage-type=rekor \ - ... + --storage-url=https://rekor.sigstore.dev +# Output: Rekor entry UUID + +# Store with Fulcio (OIDC-based certificate) +atlas-cli model create \ + --paths=model.onnx \ + --ingredient-names="Model" \ + --name="My Model" \ + --fulcio \ + --oidc-token= \ + --storage-type=rekor \ + --storage-url=https://rekor.sigstore.dev ``` +### Rekor Commands + +Look up and verify Rekor entries directly: + +```bash +# Verify a local manifest against a Rekor entry +atlas-cli rekor verify \ + --uuid \ + --manifest manifest.json + +# Look up a Rekor entry +atlas-cli rekor get --uuid +``` + +Verification checks: +1. **Payload hash** — SHA-256 of the local manifest matches the hash recorded in Rekor +2. **Signature** — the DSSE signature is valid against the certificate stored in the entry + ## TDX Attestation When built with the `with-tdx` feature, you can both create attested manifests and verify diff --git a/src/cli/commands.rs b/src/cli/commands.rs index de07682..5623a0c 100644 --- a/src/cli/commands.rs +++ b/src/cli/commands.rs @@ -53,6 +53,18 @@ pub enum DatasetCommands { #[arg(long = "key")] key: Option, + /// Path to X.509 certificate file (PEM format, required for Rekor storage) + #[arg(long = "cert")] + cert: Option, + + /// Use Fulcio to obtain a certificate via OIDC (alternative to --cert) + #[arg(long = "fulcio", default_value = "false")] + fulcio: bool, + + /// OIDC identity token for Fulcio (required when --fulcio is set) + #[arg(long = "oidc-token")] + oidc_token: Option, + /// Hash algorithm to use for signing (default: sha384) #[arg(long = "hash-alg", value_enum, default_value = "sha384")] hash_alg: HashAlgorithmChoice, @@ -137,6 +149,18 @@ pub enum ModelCommands { #[arg(long = "key")] key: Option, + /// Path to X.509 certificate file (PEM format, required for Rekor storage) + #[arg(long = "cert")] + cert: Option, + + /// Use Fulcio to obtain a certificate via OIDC (alternative to --cert) + #[arg(long = "fulcio", default_value = "false")] + fulcio: bool, + + /// OIDC identity token for Fulcio (required when --fulcio is set) + #[arg(long = "oidc-token")] + oidc_token: Option, + /// Hash algorithm to use for signing (default: sha384) #[arg(long = "hash-alg", value_enum, default_value = "sha384")] hash_alg: HashAlgorithmChoice, @@ -343,6 +367,18 @@ pub enum EvaluationCommands { #[arg(long = "key")] key: Option, + /// Path to X.509 certificate file (PEM format, required for Rekor storage) + #[arg(long = "cert")] + cert: Option, + + /// Use Fulcio to obtain a certificate via OIDC (alternative to --cert) + #[arg(long = "fulcio", default_value = "false")] + fulcio: bool, + + /// OIDC identity token for Fulcio (required when --fulcio is set) + #[arg(long = "oidc-token")] + oidc_token: Option, + /// Hash algorithm to use for signing (default: sha384) #[arg(long = "hash-alg", value_enum, default_value = "sha384")] hash_alg: HashAlgorithmChoice, @@ -450,6 +486,18 @@ pub enum SoftwareCommands { #[arg(long = "key")] key: Option, + /// Path to X.509 certificate file (PEM format, required for Rekor storage) + #[arg(long = "cert")] + cert: Option, + + /// Use Fulcio to obtain a certificate via OIDC (alternative to --cert) + #[arg(long = "fulcio", default_value = "false")] + fulcio: bool, + + /// OIDC identity token for Fulcio (required when --fulcio is set) + #[arg(long = "oidc-token")] + oidc_token: Option, + /// Hash algorithm to use for signing (default: sha384) #[arg(long = "hash-alg", value_enum, default_value = "sha384")] hash_alg: HashAlgorithmChoice, @@ -535,6 +583,34 @@ pub enum SoftwareCommands { }, } +#[derive(Debug, Subcommand)] +pub enum RekorCommands { + /// Verify a local manifest against a Rekor transparency log entry + Verify { + /// Rekor entry UUID + #[arg(long = "uuid")] + uuid: String, + + /// Path to the local manifest JSON file + #[arg(long = "manifest")] + manifest: PathBuf, + + /// Rekor server URL + #[arg(long = "rekor-url", default_value = "https://rekor.sigstore.dev")] + rekor_url: String, + }, + /// Look up a Rekor entry by UUID + Get { + /// Rekor entry UUID + #[arg(long = "uuid")] + uuid: String, + + /// Rekor server URL + #[arg(long = "rekor-url", default_value = "https://rekor.sigstore.dev")] + rekor_url: String, + }, +} + #[derive(Debug, Subcommand)] pub enum PipelineCommands { /// Generate SLSA Build Provenance v1 for the given pipeline diff --git a/src/cli/handlers.rs b/src/cli/handlers.rs index 10b3231..f018b9a 100644 --- a/src/cli/handlers.rs +++ b/src/cli/handlers.rs @@ -2,7 +2,7 @@ use crate::error::{Error, Result}; use super::commands::{ CCAttestationCommands, DatasetCommands, EvaluationCommands, ManifestCommands, ModelCommands, - PipelineCommands, SoftwareCommands, + PipelineCommands, RekorCommands, SoftwareCommands, }; use crate::cc_attestation; use crate::manifest; @@ -14,6 +14,26 @@ use crate::storage::filesystem::FilesystemStorage; use crate::storage::rekor::RekorStorage; use crate::StorageBackend; +use std::path::PathBuf; + +fn build_rekor_storage( + url: String, + key: &Option, + cert: &Option, + fulcio: bool, + oidc_token: &Option, +) -> Result { + let mut storage = RekorStorage::new_with_url(url)?.with_key(key.clone()); + if fulcio { + let token = oidc_token.as_ref().ok_or_else(|| { + Error::Validation("--oidc-token is required when --fulcio is set".to_string()) + })?; + storage = storage.with_fulcio(token.clone()); + } else { + storage = storage.with_cert(cert.clone()); + } + Ok(storage) +} pub fn handle_dataset_command(cmd: DatasetCommands) -> Result<()> { let _storage = RekorStorage::new()?; @@ -31,6 +51,9 @@ pub fn handle_dataset_command(cmd: DatasetCommands) -> Result<()> { print, encoding, key, + cert, + fulcio, + oidc_token, hash_alg, with_tdx, } => { @@ -40,7 +63,13 @@ pub fn handle_dataset_command(cmd: DatasetCommands) -> Result<()> { Some(Box::leak(db_storage)) } "rekor" => { - let rekor_storage = Box::new(RekorStorage::new_with_url(*storage_url.clone())?); + let rekor_storage = Box::new(build_rekor_storage( + *storage_url.clone(), + &key, + &cert, + fulcio, + &oidc_token, + )?); Some(Box::leak(rekor_storage)) } "local-fs" => { @@ -118,6 +147,9 @@ pub fn handle_model_command(cmd: ModelCommands) -> Result<()> { encoding, format, key, + cert, + fulcio, + oidc_token, hash_alg, with_tdx, } => { @@ -127,7 +159,13 @@ pub fn handle_model_command(cmd: ModelCommands) -> Result<()> { Some(Box::leak(db_storage)) } "rekor" => { - let rekor_storage = Box::new(RekorStorage::new_with_url(*storage_url.clone())?); + let rekor_storage = Box::new(build_rekor_storage( + *storage_url.clone(), + &key, + &cert, + fulcio, + &oidc_token, + )?); Some(Box::leak(rekor_storage)) } "local-fs" => { @@ -325,6 +363,9 @@ pub fn handle_evaluation_command(cmd: EvaluationCommands) -> Result<()> { print, encoding, key, + cert, + fulcio, + oidc_token, hash_alg, } => { let storage: Option<&'static dyn StorageBackend> = match storage_type.as_str() { @@ -333,7 +374,13 @@ pub fn handle_evaluation_command(cmd: EvaluationCommands) -> Result<()> { Some(Box::leak(db_storage)) } "rekor" => { - let rekor_storage = Box::new(RekorStorage::new_with_url(*storage_url.clone())?); + let rekor_storage = Box::new(build_rekor_storage( + *storage_url.clone(), + &key, + &cert, + fulcio, + &oidc_token, + )?); Some(Box::leak(rekor_storage)) } "local-fs" => { @@ -350,7 +397,7 @@ pub fn handle_evaluation_command(cmd: EvaluationCommands) -> Result<()> { author_org, author_name, description, - linked_manifests: None, // Will be populated by create_manifest + linked_manifests: None, storage, print, output_encoding: encoding, @@ -359,7 +406,7 @@ pub fn handle_evaluation_command(cmd: EvaluationCommands) -> Result<()> { with_cc: false, software_type: None, version: None, - custom_fields: None, // Will be populated by create_manifest + custom_fields: None, }; manifest::evaluation::create_manifest(config, model_id, dataset_id, metrics) @@ -440,6 +487,9 @@ pub fn handle_software_command(cmd: SoftwareCommands) -> Result<()> { print, encoding, key, + cert, + fulcio, + oidc_token, hash_alg, with_tdx, } => { @@ -449,7 +499,13 @@ pub fn handle_software_command(cmd: SoftwareCommands) -> Result<()> { Some(Box::leak(db_storage)) } "rekor" => { - let rekor_storage = Box::new(RekorStorage::new_with_url(*storage_url.clone())?); + let rekor_storage = Box::new(build_rekor_storage( + *storage_url.clone(), + &key, + &cert, + fulcio, + &oidc_token, + )?); Some(Box::leak(rekor_storage)) } "local-fs" => { @@ -542,6 +598,70 @@ pub fn handle_software_command(cmd: SoftwareCommands) -> Result<()> { } } +pub fn handle_rekor_command(cmd: RekorCommands) -> Result<()> { + match cmd { + RekorCommands::Verify { + uuid, + manifest, + rekor_url, + } => { + let manifest_bytes = std::fs::read(&manifest).map_err(|e| { + Error::Storage(format!( + "Failed to read manifest file {}: {e}", + manifest.display() + )) + })?; + + let storage = RekorStorage::new_with_url(rekor_url)?; + let result = storage.verify_manifest(&manifest_bytes, &uuid)?; + + println!("Rekor Verification Result:"); + println!(" Log index: {}", result.log_index); + println!(" Integrated time: {}", result.integrated_time); + if let Some(identity) = &result.signer_identity { + println!(" Signer identity: {identity}"); + } + println!( + " Payload hash: {}", + if result.payload_hash_match { + "MATCH" + } else { + "MISMATCH" + } + ); + println!( + " Signature: {}", + if result.signature_valid { + "VALID" + } else { + "INVALID" + } + ); + + if result.payload_hash_match && result.signature_valid { + println!("\nVerification PASSED: manifest matches Rekor entry."); + Ok(()) + } else { + Err(Error::Validation( + "Verification FAILED: manifest does not match Rekor entry.".to_string(), + )) + } + } + RekorCommands::Get { uuid, rekor_url } => { + let storage = RekorStorage::new_with_url(rekor_url)?; + let entry = storage.get_rekor_entry(&uuid)?; + + println!("Rekor Entry:"); + println!(" UUID: {}", entry.uuid); + println!(" Log index: {}", entry.log_index); + println!(" Integrated time: {}", entry.integrated_time); + println!(" Log ID: {}", entry.log_id); + + Ok(()) + } + } +} + pub fn handle_pipeline_command(cmd: PipelineCommands) -> Result<()> { match cmd { PipelineCommands::GenerateProvenance { diff --git a/src/in_toto/dsse.rs b/src/in_toto/dsse.rs index bbacc9b..c0b38e2 100644 --- a/src/in_toto/dsse.rs +++ b/src/in_toto/dsse.rs @@ -77,6 +77,19 @@ use std::path::PathBuf; use serde::{Deserialize, Serialize}; use serde_with::serde_as; +/// Compute Pre-Authentication Encoding (PAE) per the DSSE specification. +/// Format: `DSSEv1 {len(type)} {type} {len(body)} {body}` +pub fn pae(payload_type: &str, payload: &[u8]) -> Vec { + let mut result = Vec::new(); + result.extend_from_slice(b"DSSEv1 "); + result.extend_from_slice(format!("{} ", payload_type.len()).as_bytes()); + result.extend_from_slice(payload_type.as_bytes()); + result.push(b' '); + result.extend_from_slice(format!("{} ", payload.len()).as_bytes()); + result.extend_from_slice(payload); + result +} + /// A cryptographic signature with optional key identifier for DSSE envelopes. /// /// This struct represents a single signature within a DSSE (Dead Simple Signing Envelope). @@ -377,6 +390,21 @@ impl Envelope { pub fn signatures(&self) -> &[Signature] { &self.signatures } + + /// Convert to a `sigstore_types::DsseEnvelope` for Rekor submission. + pub fn to_sigstore_dsse(&self) -> sigstore_types::DsseEnvelope { + sigstore_types::DsseEnvelope::new( + self.payload_type.clone(), + sigstore_types::PayloadBytes::from_bytes(&self.payload), + self.signatures + .iter() + .map(|s| sigstore_types::DsseSignature { + sig: sigstore_types::SignatureBytes::from_bytes(s.sig()), + keyid: sigstore_types::KeyId::new(s.keyid().to_string()), + }) + .collect(), + ) + } } /// Implementation of the `Signable` trait for DSSE envelopes. @@ -424,18 +452,11 @@ impl Signable for Envelope { fn sign(&mut self, key_path: PathBuf, hash_alg: HashAlgorithm) -> Result<()> { let private_key = signing::load_private_key(&key_path)?; - // DSSE requires that payload_type and payload be signed - // We assume the payload is public - let mut data_to_sign: Vec = Vec::new(); - data_to_sign.extend_from_slice(&self.payload_type.clone().into_bytes()); - - // DSSE requires payload to be JSON bytes - data_to_sign.extend_from_slice(&self.payload); + let data_to_sign = pae(&self.payload_type, &self.payload); - // Use the signing module with the specified algorithm let signature = signing::sign_data_with_algorithm(&data_to_sign, &private_key, &hash_alg)?; - self.add_signature(signature, "".to_string()) // keyid is optional + self.add_signature(signature, "".to_string()) } } @@ -446,6 +467,32 @@ mod tests { use base64::prelude::BASE64_STANDARD; use serde_json::{from_slice, from_str, json, to_string, to_vec}; + #[test] + fn test_pae_spec_vector() { + let result = pae("application/example", b"hello world"); + assert_eq!(result, b"DSSEv1 19 application/example 11 hello world"); + } + + #[test] + fn test_pae_empty_payload() { + let result = pae("application/json", b""); + assert_eq!(result, b"DSSEv1 16 application/json 0 "); + } + + #[test] + fn test_to_sigstore_dsse() { + let mut envelope = Envelope::new(&vec![1, 2, 3], "test/type".to_string()); + envelope + .add_signature(vec![0xab, 0xcd], "key1".to_string()) + .unwrap(); + + let sigstore_dsse = envelope.to_sigstore_dsse(); + assert_eq!(sigstore_dsse.payload_type, "test/type"); + assert_eq!(sigstore_dsse.payload.as_bytes(), &[1, 2, 3]); + assert_eq!(sigstore_dsse.signatures.len(), 1); + assert_eq!(sigstore_dsse.signatures[0].sig.as_bytes(), &[0xab, 0xcd]); + } + #[test] fn test_signature_new() { let sig_bytes = vec![0xde, 0xad, 0xbe, 0xef]; diff --git a/src/main.rs b/src/main.rs index a0db6c9..97adea5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,7 @@ use atlas_cli::{ self, commands::{ CCAttestationCommands, DatasetCommands, EvaluationCommands, ManifestCommands, - ModelCommands, PipelineCommands, SoftwareCommands, + ModelCommands, PipelineCommands, RekorCommands, SoftwareCommands, }, }, error::Result, @@ -49,6 +49,11 @@ enum Commands { #[command(subcommand)] command: PipelineCommands, }, + /// Rekor transparency log commands + Rekor { + #[command(subcommand)] + command: RekorCommands, + }, /// CC Attestation-related commands CCAttestation { #[command(subcommand)] @@ -72,6 +77,7 @@ fn main() -> Result<()> { Commands::Manifest { command } => cli::handlers::handle_manifest_command(command), Commands::Evaluation { command } => cli::handlers::handle_evaluation_command(command), Commands::Pipeline { command } => cli::handlers::handle_pipeline_command(command), + Commands::Rekor { command } => cli::handlers::handle_rekor_command(command), Commands::CCAttestation { command } => { cli::handlers::handle_cc_attestation_command(command) } diff --git a/src/storage/database.rs b/src/storage/database.rs index 96504b7..635366b 100644 --- a/src/storage/database.rs +++ b/src/storage/database.rs @@ -43,15 +43,6 @@ struct StoredManifest { created_at: String, } -#[derive(Debug, Serialize, Deserialize)] -struct ManifestWrapper { - manifest_id: String, - manifest_type: String, - #[serde(flatten)] - manifest: Manifest, - created_at: String, -} - impl DatabaseStorage { pub fn new(url: String) -> Result { let client = Client::builder() diff --git a/src/storage/rekor.rs b/src/storage/rekor.rs index 84f8d31..8074603 100644 --- a/src/storage/rekor.rs +++ b/src/storage/rekor.rs @@ -1,12 +1,32 @@ use crate::error::{Error, Result}; +use crate::in_toto::dsse::Envelope; +use crate::signing::signable::Signable; use crate::storage::traits::{ManifestMetadata, StorageBackend}; +use atlas_c2pa_lib::cose::HashAlgorithm; use atlas_c2pa_lib::manifest::Manifest; -use reqwest; +use sha2::{Digest, Sha256}; +use sigstore_rekor::body::RekorEntryBody; +use sigstore_rekor::{DsseEntry, LogEntry, RekorClient}; +use sigstore_types::DerCertificate; +use std::path::{Path, PathBuf}; + +const MANIFEST_PAYLOAD_TYPE: &str = "application/vnd.atlas-cli.manifest+json"; + +/// How the certificate is obtained for Rekor submissions. +pub enum CertificateSource { + /// Load from a PEM file on disk. + File(PathBuf), + /// Obtain from Fulcio using an OIDC identity token. + /// The DSSE envelope will be signed with an ephemeral ECDSA P-256 key. + Fulcio(String), +} -#[allow(dead_code)] pub struct RekorStorage { - client: reqwest::blocking::Client, + client: RekorClient, + runtime: tokio::runtime::Runtime, base_url: String, + key_path: Option, + cert_source: Option, } impl RekorStorage { @@ -15,9 +35,135 @@ impl RekorStorage { } pub fn new_with_url(url: String) -> Result { + let runtime = tokio::runtime::Runtime::new() + .map_err(|e| Error::Storage(format!("Failed to create async runtime: {e}")))?; + let client = RekorClient::new(&url); Ok(RekorStorage { - client: reqwest::blocking::Client::new(), + client, + runtime, base_url: url, + key_path: None, + cert_source: None, + }) + } + + pub fn with_key(mut self, key_path: Option) -> Self { + self.key_path = key_path; + self + } + + pub fn with_cert(mut self, cert_path: Option) -> Self { + if let Some(path) = cert_path { + self.cert_source = Some(CertificateSource::File(path)); + } + self + } + + pub fn with_fulcio(mut self, oidc_token: String) -> Self { + self.cert_source = Some(CertificateSource::Fulcio(oidc_token)); + self + } + + fn resolve_cert_and_sign_envelope( + &self, + manifest_json: &[u8], + ) -> Result<(Envelope, DerCertificate)> { + match &self.cert_source { + Some(CertificateSource::File(cert_path)) => { + let key_path = self.key_path.as_ref().ok_or_else(|| { + Error::Storage( + "Signing key required with --cert. Use --key to specify a private key." + .to_string(), + ) + })?; + let cert = load_cert_from_file(cert_path)?; + let mut envelope = + Envelope::new(&manifest_json.to_vec(), MANIFEST_PAYLOAD_TYPE.to_string()); + envelope.sign(key_path.clone(), HashAlgorithm::Sha256)?; + Ok((envelope, cert)) + } + Some(CertificateSource::Fulcio(oidc_token)) => self + .runtime + .block_on(sign_with_fulcio(manifest_json, oidc_token)), + None => Err(Error::Storage( + "Certificate required for Rekor storage. \ + Use --cert or --fulcio --oidc-token ." + .to_string(), + )), + } + } + + /// Submit a pre-built DSSE envelope to Rekor with a certificate loaded from file. + pub fn store_dsse_envelope(&self, envelope: &Envelope, cert_path: &Path) -> Result { + let cert = load_cert_from_file(cert_path)?; + let sigstore_dsse = envelope.to_sigstore_dsse(); + let entry = DsseEntry::new(&sigstore_dsse, &cert); + self.runtime + .block_on(self.client.create_dsse_entry(entry)) + .map_err(|e| Error::Storage(format!("Rekor submission failed: {e}"))) + } + + /// Retrieve a log entry from Rekor by its UUID. + pub fn get_rekor_entry(&self, uuid: &str) -> Result { + self.runtime + .block_on(self.client.get_entry_by_uuid(uuid)) + .map_err(|e| Error::Storage(format!("Rekor retrieval failed: {e}"))) + } + + /// Search Rekor entries by SHA-256 hash (hex-encoded). + pub fn search_by_hash(&self, sha256_hex: &str) -> Result> { + self.runtime + .block_on(self.client.search_by_hash(sha256_hex)) + .map_err(|e| Error::Storage(format!("Rekor search failed: {e}"))) + } + + /// Verify a local manifest against a Rekor transparency log entry. + /// + /// Checks: + /// 1. Payload hash matches the SHA-256 of the provided manifest bytes + /// 2. DSSE signature is valid against the certificate stored in the entry + pub fn verify_manifest(&self, manifest_bytes: &[u8], uuid: &str) -> Result { + let log_entry = self.get_rekor_entry(uuid)?; + let body_b64 = log_entry.body.to_base64(); + + let body = RekorEntryBody::from_base64_json(&body_b64, "dsse", "0.0.1") + .map_err(|e| Error::Storage(format!("Failed to parse Rekor entry body: {e}")))?; + + let (payload_hash_hex, signatures, cert_der) = match body { + RekorEntryBody::DsseV001(b) => { + let hash = b.spec.payload_hash.value; + let sigs = b.spec.signatures; + let cert = sigs + .first() + .ok_or_else(|| Error::Storage("No signatures in Rekor entry".to_string()))? + .to_certificate() + .map_err(|e| { + Error::Storage(format!("Failed to parse certificate from entry: {e}")) + })?; + (hash, sigs, cert) + } + _ => { + return Err(Error::Storage( + "Unsupported Rekor entry type for verification. Expected DSSE v0.0.1." + .to_string(), + )); + } + }; + + let local_hash = hex::encode(Sha256::digest(manifest_bytes)); + let payload_hash_match = local_hash == payload_hash_hex; + + let signature_valid = verify_dsse_signature(manifest_bytes, &signatures, &cert_der); + + let cert_info = sigstore_crypto::parse_certificate_info(cert_der.as_bytes()).ok(); + let signer_identity = cert_info.as_ref().and_then(|c| c.identity.clone()); + + Ok(RekorVerifyResult { + payload_hash_match, + signature_valid, + log_index: log_entry.log_index, + integrated_time: log_entry.integrated_time, + signer_identity, }) } } @@ -27,26 +173,121 @@ impl StorageBackend for RekorStorage { self.base_url.clone() } - fn store_manifest(&self, _manifest: &Manifest) -> Result { - // TODO: Implement actual storage - println!("Would store manifest at: {}", self.base_url); - Ok("dummy-manifest-id".to_string()) // Return a dummy manifest ID for now + fn store_manifest(&self, manifest: &Manifest) -> Result { + let manifest_json = serde_json::to_vec(manifest) + .map_err(|e| Error::Serialization(format!("Failed to serialize manifest: {e}")))?; + + let (envelope, cert) = self.resolve_cert_and_sign_envelope(&manifest_json)?; + let sigstore_dsse = envelope.to_sigstore_dsse(); + let entry = DsseEntry::new(&sigstore_dsse, &cert); + let log_entry = self + .runtime + .block_on(self.client.create_dsse_entry(entry)) + .map_err(|e| Error::Storage(format!("Rekor submission failed: {e}")))?; + Ok(log_entry.uuid.to_string()) } fn retrieve_manifest(&self, _id: &str) -> Result { - todo!("Implement manifest retrieval") + Err(Error::Storage( + "Rekor is a transparency log that stores hashes, not full content. \ + Use get_rekor_entry() to retrieve log entry metadata." + .to_string(), + )) } fn list_manifests(&self) -> Result> { - todo!("Implement manifest listing") + Err(Error::Storage( + "Rekor does not support listing all entries. \ + Use search_by_hash() to find entries by artifact hash." + .to_string(), + )) } + fn delete_manifest(&self, _id: &str) -> Result<()> { - // Implement deletion for Rekor if supported, or return error Err(Error::Storage( - "Delete operation not supported for Rekor storage".to_string(), + "Rekor is an immutable transparency log. Entries cannot be deleted.".to_string(), )) } + fn as_any(&self) -> &dyn std::any::Any { self } } + +pub struct RekorVerifyResult { + pub payload_hash_match: bool, + pub signature_valid: bool, + pub log_index: i64, + pub integrated_time: i64, + pub signer_identity: Option, +} + +fn verify_dsse_signature( + payload: &[u8], + signatures: &[sigstore_rekor::body::DsseV001Signature], + cert_der: &DerCertificate, +) -> bool { + use crate::in_toto::dsse::pae; + + let cert_info = match sigstore_crypto::parse_certificate_info(cert_der.as_bytes()) { + Ok(info) => info, + Err(_) => return false, + }; + + let vk = match sigstore_crypto::VerificationKey::from_spki( + &cert_info.public_key, + cert_info.signing_scheme, + ) { + Ok(vk) => vk, + Err(_) => return false, + }; + + let data_to_verify = pae(MANIFEST_PAYLOAD_TYPE, payload); + + signatures + .iter() + .any(|sig| vk.verify(&data_to_verify, &sig.signature).is_ok()) +} + +fn load_cert_from_file(cert_path: &Path) -> Result { + let pem_data = std::fs::read_to_string(cert_path) + .map_err(|e| Error::Signing(format!("Failed to read certificate file: {e}")))?; + DerCertificate::from_pem(&pem_data) + .map_err(|e| Error::Signing(format!("Failed to parse certificate PEM: {e}"))) +} + +/// Sign a DSSE envelope using an ephemeral ECDSA P-256 key and obtain a Fulcio certificate. +async fn sign_with_fulcio(payload: &[u8], oidc_token: &str) -> Result<(Envelope, DerCertificate)> { + use crate::in_toto::dsse::pae; + use sigstore_crypto::KeyPair; + use sigstore_fulcio::FulcioClient; + use sigstore_oidc::IdentityToken; + use sigstore_types::SignatureBytes; + + let token = IdentityToken::from_jwt(oidc_token) + .map_err(|e| Error::Signing(format!("Invalid OIDC token: {e}")))?; + + let key_pair = KeyPair::generate_ecdsa_p256() + .map_err(|e| Error::Signing(format!("Failed to generate ephemeral key: {e}")))?; + + let fulcio = FulcioClient::public(); + let cert_response = fulcio + .create_signing_certificate(&token, &key_pair) + .await + .map_err(|e| Error::Signing(format!("Fulcio certificate request failed: {e}")))?; + + let cert = cert_response + .leaf_certificate() + .map_err(|e| Error::Signing(format!("Failed to extract Fulcio certificate: {e}")))?; + + let payload_type = MANIFEST_PAYLOAD_TYPE.to_string(); + let data_to_sign = pae(&payload_type, payload); + let sig: SignatureBytes = key_pair + .sign(&data_to_sign) + .map_err(|e| Error::Signing(format!("Ephemeral key signing failed: {e}")))?; + + let mut envelope = Envelope::new(&payload.to_vec(), payload_type); + envelope.add_signature(sig.as_bytes().to_vec(), "".to_string())?; + + Ok((envelope, cert)) +} diff --git a/src/tests/mod.rs b/src/tests/mod.rs index a47dbc2..f697c74 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -2,4 +2,5 @@ mod cc_attestation; mod common; mod manifest; mod manifest_attestation; +mod rekor_integration; mod storage; diff --git a/src/tests/rekor_integration.rs b/src/tests/rekor_integration.rs new file mode 100644 index 0000000..b03d3e0 --- /dev/null +++ b/src/tests/rekor_integration.rs @@ -0,0 +1,193 @@ +use super::common::create_default_claim; +use crate::in_toto::dsse::Envelope; +use crate::signing; +use crate::signing::signable::Signable; +use crate::storage::rekor::RekorStorage; +use atlas_c2pa_lib::cose::HashAlgorithm; +use atlas_c2pa_lib::datetime_wrapper::OffsetDateTimeWrapper; +use atlas_c2pa_lib::manifest::Manifest; +use time::OffsetDateTime; +use uuid::Uuid; + +fn generate_temp_key_and_cert() -> ( + signing::SecurePrivateKey, + tempfile::TempDir, + std::path::PathBuf, + std::path::PathBuf, +) { + use openssl::asn1::Asn1Time; + use openssl::bn::BigNum; + use openssl::hash::MessageDigest; + use openssl::x509::{X509Builder, X509NameBuilder}; + + let (secure_key, tmp_dir) = signing::test_utils::generate_temp_key().unwrap(); + let key_path = tmp_dir.path().join("test_key.pem"); + + let mut name_builder = X509NameBuilder::new().unwrap(); + name_builder + .append_entry_by_text("CN", "atlas-cli-test") + .unwrap(); + let name = name_builder.build(); + + let mut builder = X509Builder::new().unwrap(); + builder.set_version(2).unwrap(); + let serial = BigNum::from_u32(1) + .and_then(|bn| bn.to_asn1_integer()) + .unwrap(); + builder.set_serial_number(&serial).unwrap(); + builder.set_subject_name(&name).unwrap(); + builder.set_issuer_name(&name).unwrap(); + builder.set_pubkey(secure_key.as_pkey()).unwrap(); + builder + .set_not_before(&Asn1Time::days_from_now(0).unwrap()) + .unwrap(); + builder + .set_not_after(&Asn1Time::days_from_now(1).unwrap()) + .unwrap(); + builder + .sign(secure_key.as_pkey(), MessageDigest::sha256()) + .unwrap(); + + let cert = builder.build(); + let cert_path = tmp_dir.path().join("test_cert.pem"); + let cert_pem = cert.to_pem().unwrap(); + std::fs::write(&cert_path, &cert_pem).unwrap(); + + (secure_key, tmp_dir, key_path, cert_path) +} + +#[test] +#[ignore] // Requires network access to rekor.sigstore.dev +fn test_rekor_dsse_store_and_retrieve() { + let (_secure_key, _tmp_dir, key_path, cert_path) = generate_temp_key_and_cert(); + + let payload = br#"{"_type":"https://in-toto.io/Statement/v1","subject":[{"name":"test-artifact","digest":{"sha256":"abc123"}}],"predicateType":"https://example.com/test","predicate":{}}"#; + let mut envelope = Envelope::new( + &payload.to_vec(), + "application/vnd.in-toto+json".to_string(), + ); + envelope + .sign(key_path.clone(), HashAlgorithm::Sha256) + .unwrap(); + assert!(envelope.validate()); + + let storage = RekorStorage::new().unwrap(); + let log_entry = storage.store_dsse_envelope(&envelope, &cert_path).unwrap(); + + assert!(!log_entry.uuid.to_string().is_empty()); + assert!(log_entry.log_index >= 0); + assert!(log_entry.integrated_time > 0); + println!( + "Rekor entry created: uuid={}, log_index={}", + log_entry.uuid, log_entry.log_index + ); + + let retrieved = storage + .get_rekor_entry(&log_entry.uuid.to_string()) + .unwrap(); + assert_eq!(retrieved.uuid.to_string(), log_entry.uuid.to_string()); + assert_eq!(retrieved.log_index, log_entry.log_index); + println!("Rekor entry retrieved successfully"); +} + +#[test] +#[ignore] // Requires network access to rekor.sigstore.dev +fn test_rekor_storage_backend_store_manifest() { + use crate::storage::traits::StorageBackend; + + let (_secure_key, _tmp_dir, key_path, cert_path) = generate_temp_key_and_cert(); + + let storage = RekorStorage::new() + .unwrap() + .with_key(Some(key_path)) + .with_cert(Some(cert_path)); + + let manifest = Manifest { + claim_generator: "atlas-cli-test".to_string(), + title: "Rekor Integration Test".to_string(), + instance_id: Uuid::new_v4().to_string(), + ingredients: Vec::new(), + claim: create_default_claim(), + created_at: OffsetDateTimeWrapper(OffsetDateTime::now_utc()), + cross_references: vec![], + claim_v2: None, + is_active: true, + }; + + let uuid = storage.store_manifest(&manifest).unwrap(); + assert!(!uuid.is_empty()); + println!("Manifest stored in Rekor with UUID: {uuid}"); + + let entry = storage.get_rekor_entry(&uuid).unwrap(); + assert_eq!(entry.uuid.to_string(), uuid); + println!("Verified entry exists at log_index={}", entry.log_index); + + let manifest_json = serde_json::to_vec(&manifest).unwrap(); + let result = storage.verify_manifest(&manifest_json, &uuid).unwrap(); + assert!(result.payload_hash_match, "Payload hash should match"); + assert!(result.signature_valid, "Signature should be valid"); + println!( + "Verification passed: hash_match={}, sig_valid={}", + result.payload_hash_match, result.signature_valid + ); + + let mut tampered = manifest_json.clone(); + tampered[0] = b'X'; + let bad_result = storage.verify_manifest(&tampered, &uuid).unwrap(); + assert!( + !bad_result.payload_hash_match, + "Tampered payload hash should not match" + ); + assert!( + !bad_result.signature_valid, + "Tampered signature should not be valid" + ); + println!("Tampered manifest correctly rejected"); +} + +#[test] +#[ignore] // Requires network access to rekor.sigstore.dev +fn test_rekor_store_and_verify_from_disk() { + use crate::storage::traits::StorageBackend; + + let (_secure_key, _tmp_dir, key_path, cert_path) = generate_temp_key_and_cert(); + + let storage = RekorStorage::new() + .unwrap() + .with_key(Some(key_path)) + .with_cert(Some(cert_path)); + + let manifest = Manifest { + claim_generator: "atlas-cli-test".to_string(), + title: "Rekor Disk Verification Test".to_string(), + instance_id: Uuid::new_v4().to_string(), + ingredients: Vec::new(), + claim: create_default_claim(), + created_at: OffsetDateTimeWrapper(OffsetDateTime::now_utc()), + cross_references: vec![], + claim_v2: None, + is_active: true, + }; + + let manifest_json = serde_json::to_vec(&manifest).unwrap(); + let manifest_path = std::env::current_dir() + .unwrap() + .join("test_manifest_rekor.json"); + std::fs::write(&manifest_path, &manifest_json).unwrap(); + println!("Manifest saved to: {}", manifest_path.display()); + + let uuid = storage.store_manifest(&manifest).unwrap(); + println!("Manifest stored in Rekor with UUID: {uuid}"); + + println!("\n=== To verify, run: ==="); + println!( + "cargo run -- rekor verify --uuid {uuid} --manifest {}", + manifest_path.display() + ); + println!("=======================\n"); + + let result = storage.verify_manifest(&manifest_json, &uuid).unwrap(); + assert!(result.payload_hash_match); + assert!(result.signature_valid); + println!("In-test verification passed"); +} From 29d56ce7c377b928148eca40ce2274b8cadee7c5 Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 24 Apr 2026 14:49:35 -0700 Subject: [PATCH 2/6] Fix cargo dependencies --- Cargo.lock | 12 ++++++++++++ Cargo.toml | 10 +++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b9e0c4..99910c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2449,6 +2449,8 @@ dependencies = [ [[package]] name = "sigstore-crypto" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c38e3886caf4e1a5a20806c0dc0f5acf33a0bd9c720415ece9e44ddc7a7bf1c1" dependencies = [ "aws-lc-rs", "base64", @@ -2469,6 +2471,8 @@ dependencies = [ [[package]] name = "sigstore-fulcio" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "399c813a3bb8997ebd2ed01564bf23318960dc1ca88104c72bd5719c629522c5" dependencies = [ "base64", "reqwest 0.13.3", @@ -2484,6 +2488,8 @@ dependencies = [ [[package]] name = "sigstore-merkle" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaa2a84ceb4b2a7bd42cff428555b7ac8897ce22b8c74a56558b53ac6ff10af9" dependencies = [ "base64", "hex", @@ -2495,6 +2501,8 @@ dependencies = [ [[package]] name = "sigstore-oidc" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fd4ae883c74bfb7c7d85d5a21bd054c9589d4109a28ab6db55e43ab94f417b7" dependencies = [ "ambient-id", "base64", @@ -2512,6 +2520,8 @@ dependencies = [ [[package]] name = "sigstore-rekor" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c012c1a119e2533d236d5d4244fec16e3be1243ce3fa0e0e9130cb6fc5f830c9" dependencies = [ "base64", "hex", @@ -2528,6 +2538,8 @@ dependencies = [ [[package]] name = "sigstore-types" version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cb6793ac7a0960807ed731055763f0cdf3ae356c5eccfdb21a44b9671e96d6c" dependencies = [ "base64", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 32cb694..317bd74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,11 +73,11 @@ reqwest = { version = "0.13.2", features = ["blocking", "json"] } subtle = "2.6.1" # Sigstore -sigstore-types = { path = "../sigstore-rust/crates/sigstore-types" } -sigstore-rekor = { path = "../sigstore-rust/crates/sigstore-rekor", default-features = false, features = ["rustls"] } -sigstore-fulcio = { path = "../sigstore-rust/crates/sigstore-fulcio", default-features = false, features = ["rustls"] } -sigstore-oidc = { path = "../sigstore-rust/crates/sigstore-oidc", default-features = false, features = ["rustls"] } -sigstore-crypto = { path = "../sigstore-rust/crates/sigstore-crypto" } +sigstore-types = "0.6.5" +sigstore-rekor = { version = "0.6.5", default-features = false, features = ["rustls"] } +sigstore-fulcio = { version = "0.6.5", default-features = false, features = ["rustls"] } +sigstore-oidc = { version = "0.6.5", default-features = false, features = ["rustls"] } +sigstore-crypto = "0.6.5" [dev-dependencies] tempfile = "3.27.0" From be29341f5d51d422d1dcbcc175fc8640616e3b7e Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 24 Apr 2026 15:18:13 -0700 Subject: [PATCH 3/6] Update cargo --- Cargo.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 99910c2..1622000 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2448,9 +2448,9 @@ dependencies = [ [[package]] name = "sigstore-crypto" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c38e3886caf4e1a5a20806c0dc0f5acf33a0bd9c720415ece9e44ddc7a7bf1c1" +checksum = "da90c3d9af638898a5fdc347479b18f950bb0dde11ecf2244f94cd28135da53b" dependencies = [ "aws-lc-rs", "base64", @@ -2470,9 +2470,9 @@ dependencies = [ [[package]] name = "sigstore-fulcio" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "399c813a3bb8997ebd2ed01564bf23318960dc1ca88104c72bd5719c629522c5" +checksum = "c60b95ecc87b2e279705e4a617cfb2d668bb9dfb15b3a99322524b6f44a4201b" dependencies = [ "base64", "reqwest 0.13.3", @@ -2487,9 +2487,9 @@ dependencies = [ [[package]] name = "sigstore-merkle" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaa2a84ceb4b2a7bd42cff428555b7ac8897ce22b8c74a56558b53ac6ff10af9" +checksum = "7c0d53558825c77716855c13794306fff766854c1bf92948e77d7890da3f2455" dependencies = [ "base64", "hex", @@ -2500,9 +2500,9 @@ dependencies = [ [[package]] name = "sigstore-oidc" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fd4ae883c74bfb7c7d85d5a21bd054c9589d4109a28ab6db55e43ab94f417b7" +checksum = "3cff865c405b9bcc2d8f684245307880c282c87edcd34b0039babfde9ae301ba" dependencies = [ "ambient-id", "base64", @@ -2519,9 +2519,9 @@ dependencies = [ [[package]] name = "sigstore-rekor" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c012c1a119e2533d236d5d4244fec16e3be1243ce3fa0e0e9130cb6fc5f830c9" +checksum = "641fdaaa40d0cd6e249cf1671c2240beff1a3ece578062cf43e750779e8db2b3" dependencies = [ "base64", "hex", @@ -2537,9 +2537,9 @@ dependencies = [ [[package]] name = "sigstore-types" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cb6793ac7a0960807ed731055763f0cdf3ae356c5eccfdb21a44b9671e96d6c" +checksum = "f8d870c9bcfdf83396ac2bd2d6a23c5d09ec02cc9fda50fa1cbb3dd71a9bee53" dependencies = [ "base64", "chrono", From 824b9bcd5b8e00493fa22b4f4f822641af4b6894 Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 22 May 2026 15:29:35 -0700 Subject: [PATCH 4/6] Potential fix for pull request finding 'CodeQL / Cleartext logging of sensitive information' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/cli/handlers.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cli/handlers.rs b/src/cli/handlers.rs index f018b9a..1f0cc56 100644 --- a/src/cli/handlers.rs +++ b/src/cli/handlers.rs @@ -652,7 +652,12 @@ pub fn handle_rekor_command(cmd: RekorCommands) -> Result<()> { let entry = storage.get_rekor_entry(&uuid)?; println!("Rekor Entry:"); - println!(" UUID: {}", entry.uuid); + let masked_uuid = if entry.uuid.len() > 12 { + format!("{}...{}", &entry.uuid[..8], &entry.uuid[entry.uuid.len() - 4..]) + } else { + "[REDACTED]".to_string() + }; + println!(" UUID: {}", masked_uuid); println!(" Log index: {}", entry.log_index); println!(" Integrated time: {}", entry.integrated_time); println!(" Log ID: {}", entry.log_id); From ef4df8a5ac6fe6f4a02d57ed4379b80e8a931409 Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 22 May 2026 15:39:21 -0700 Subject: [PATCH 5/6] Address comment --- docs/EXAMPLES.md | 15 +++++++++++++++ docs/USER_GUIDE.md | 2 ++ 2 files changed, 17 insertions(+) diff --git a/docs/EXAMPLES.md b/docs/EXAMPLES.md index 2d07838..5b85680 100644 --- a/docs/EXAMPLES.md +++ b/docs/EXAMPLES.md @@ -313,6 +313,21 @@ atlas-cli model create \ # Save the UUID and keep the manifest JSON for later verification ``` +### Storing a Manifest with Fulcio (OIDC) + +Instead of providing your own key and certificate, you can use Fulcio to obtain a short-lived certificate via an OIDC identity token. An ephemeral signing key is generated automatically. + +```bash +atlas-cli model create \ + --paths=model.onnx \ + --ingredient-names="Model" \ + --name="My Model" \ + --fulcio \ + --oidc-token= \ + --storage-type=rekor \ + --storage-url=https://rekor.sigstore.dev +``` + ### Verifying a Manifest Against Rekor ```bash diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md index 67d08f8..9ce361d 100644 --- a/docs/USER_GUIDE.md +++ b/docs/USER_GUIDE.md @@ -181,6 +181,8 @@ atlas-cli model create \ Stores manifests as DSSE envelopes in a [Sigstore Rekor](https://docs.sigstore.dev/logging/overview/) transparency log. Rekor records the payload hash, signature, and certificate — not the full manifest content. You must keep the manifest file locally for later verification. +**Note:** The default Rekor URL is the public Sigstore instance (`https://rekor.sigstore.dev`). Use `--storage-url` to point to a private instance. + Requires a signing key (`--key`) and either a certificate (`--cert`) or Fulcio OIDC flow (`--fulcio --oidc-token`): ```bash From df9e390eb7145055e5a12b672d64dc05874f0688 Mon Sep 17 00:00:00 2001 From: Marcin Spoczynski Date: Fri, 22 May 2026 15:58:02 -0700 Subject: [PATCH 6/6] Resolve main branch dependencies --- src/cli/handlers.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/handlers.rs b/src/cli/handlers.rs index 1f0cc56..7f824fc 100644 --- a/src/cli/handlers.rs +++ b/src/cli/handlers.rs @@ -652,8 +652,9 @@ pub fn handle_rekor_command(cmd: RekorCommands) -> Result<()> { let entry = storage.get_rekor_entry(&uuid)?; println!("Rekor Entry:"); - let masked_uuid = if entry.uuid.len() > 12 { - format!("{}...{}", &entry.uuid[..8], &entry.uuid[entry.uuid.len() - 4..]) + let uuid_str = entry.uuid.to_string(); + let masked_uuid = if uuid_str.len() > 12 { + format!("{}...{}", &uuid_str[..8], &uuid_str[uuid_str.len() - 4..]) } else { "[REDACTED]".to_string() };