From 2e6daae045d80f1ce640c192a2cf651f86ac3dc3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 16:12:44 +0000 Subject: [PATCH 1/3] verify: honour library paths and prover arguments `echidna verify` built a ProverConfig with the library paths and then the Agda, Coq and Lean verify paths ignored them, and there was no way to pass prover flags at all. A file that needs --safe, an include path or a -Q mapping could not be checked as its project checks it. - CLI: `verify --prover-arg=` (repeatable) fills ProverConfig.args. - Agda: pass the configured args, then `-i ` per library path. Library paths are made absolute because agda runs from the file's directory. A bare file name no longer sets current_dir(""), which failed to spawn with "No such file or directory". - Coq: pass the configured args to coqc (for -Q, -R and friends). - Lean: pass the configured args; put library paths on LEAN_PATH, since Lean 4 has no -I flag; check with `lean FILE`, not `lean --run FILE`, which also tries to execute `main`. Checked by hand: with `--prover-arg=--safe`, an Agda file holding a postulate is now rejected, where before it was reported valid. A multi-file Rocq development and a Lean development with prebuilt oleans now verify; the unpatched binary rejects both. Note: verify still reports success on any file that compiles, so a Coq file that states an Axiom passes. That is unchanged here. --- src/rust/cli/args.rs | 7 +++++++ src/rust/cli/verify.rs | 4 +++- src/rust/main.rs | 10 +++++++++- src/rust/provers/agda.rs | 19 ++++++++++++++++++- src/rust/provers/coq.rs | 3 +++ src/rust/provers/lean.rs | 30 ++++++++++++++++++------------ 6 files changed, 58 insertions(+), 15 deletions(-) diff --git a/src/rust/cli/args.rs b/src/rust/cli/args.rs index 384622df..d06ba255 100644 --- a/src/rust/cli/args.rs +++ b/src/rust/cli/args.rs @@ -110,6 +110,13 @@ pub(crate) enum Commands { #[arg(long)] library: Vec, + /// Extra argument passed to the prover as given, before the file. + /// Repeat it for several, e.g. `--prover-arg=--safe` or + /// `--prover-arg=-Q --prover-arg=theories --prover-arg=MyLib`. + /// Honoured by the Agda, Coq and Lean verify paths. + #[arg(long = "prover-arg", allow_hyphen_values = true)] + prover_args: Vec, + /// On failure, run diagnostics and explain why the proof failed #[arg(long)] diagnose: bool, diff --git a/src/rust/cli/verify.rs b/src/rust/cli/verify.rs index 5712bf93..29a06f54 100644 --- a/src/rust/cli/verify.rs +++ b/src/rust/cli/verify.rs @@ -17,13 +17,15 @@ pub(crate) async fn verify_command( timeout: u64, executable: Option, library: Vec, + prover_args: Vec, diagnose: bool, formatter: &OutputFormatter, ) -> Result<()> { info!("Verifying proof: {}", file.display()); let kind = detect_prover(prover_kind, &file)?; - let config = create_config(kind, timeout, true, executable, library, None, "none")?; + let mut config = create_config(kind, timeout, true, executable, library, None, "none")?; + config.args = prover_args; let prover = echidna::provers::ProverFactory::create(kind, config) .context("Failed to create prover backend")?; diff --git a/src/rust/main.rs b/src/rust/main.rs index 7508555c..547b991f 100644 --- a/src/rust/main.rs +++ b/src/rust/main.rs @@ -104,10 +104,18 @@ async fn main() -> Result<()> { timeout, executable, library, + prover_args, diagnose, } => { verify_command( - file, prover, timeout, executable, library, diagnose, &formatter, + file, + prover, + timeout, + executable, + library, + prover_args, + diagnose, + &formatter, ) .await?; }, diff --git a/src/rust/provers/agda.rs b/src/rust/provers/agda.rs index 55af5691..156d7ed4 100644 --- a/src/rust/provers/agda.rs +++ b/src/rust/provers/agda.rs @@ -57,6 +57,19 @@ enum AgdaTerm { } impl AgdaBackend { + /// Flags for a verify run: the configured `args`, then one `-i` per + /// library path. Library paths are made absolute, because the process + /// runs from the file's own directory. + fn verify_flags(&self) -> Vec { + let mut flags: Vec = self.config.args.iter().map(Into::into).collect(); + for lib in &self.config.library_paths { + let abs = std::path::absolute(lib).unwrap_or_else(|_| lib.clone()); + flags.push("-i".into()); + flags.push(abs.into_os_string()); + } + flags + } + pub fn new(config: ProverConfig) -> Self { AgdaBackend { config, @@ -372,10 +385,13 @@ impl ProverBackend for AgdaBackend { if let Some(path) = state.metadata.get("source_path").and_then(|v| v.as_str()) { let p = std::path::Path::new(path); let mut cmd = Command::new(&self.config.executable); - if let Some(parent) = p.parent() { + // A bare file name has an empty parent; keep the current + // directory then, since `current_dir("")` fails to spawn. + if let Some(parent) = p.parent().filter(|d| !d.as_os_str().is_empty()) { cmd.current_dir(parent); } let output = cmd + .args(self.verify_flags()) .arg(p.file_name().map(std::path::Path::new).unwrap_or(p)) .output() .await?; @@ -392,6 +408,7 @@ impl ProverBackend for AgdaBackend { cmd.current_dir(parent); } let output = cmd + .args(self.verify_flags()) .arg( temp_file .file_name() diff --git a/src/rust/provers/coq.rs b/src/rust/provers/coq.rs index 4eaa6784..0988e72c 100644 --- a/src/rust/provers/coq.rs +++ b/src/rust/provers/coq.rs @@ -938,6 +938,7 @@ impl ProverBackend for CoqBackend { // beyond trivial syntax). if let Some(path) = state.metadata.get("source_path").and_then(|v| v.as_str()) { let output = Command::new("coqc") + .args(&self.config.args) .arg(path) .output() .await @@ -951,6 +952,7 @@ impl ProverBackend for CoqBackend { .await .context("Failed to write temp file")?; let output = Command::new("coqc") + .args(&self.config.args) .arg(&temp_file) .output() .await @@ -968,6 +970,7 @@ impl ProverBackend for CoqBackend { .context("Failed to write temp file")?; let output = Command::new("coqc") + .args(&self.config.args) .arg(&temp_file) .output() .await diff --git a/src/rust/provers/lean.rs b/src/rust/provers/lean.rs index b08bd580..23182c3a 100644 --- a/src/rust/provers/lean.rs +++ b/src/rust/provers/lean.rs @@ -171,11 +171,21 @@ impl LeanBackend { /// Run Lean on a file and capture output async fn run_lean(&self, args: &[&str]) -> Result { let mut cmd = Command::new(self.lean_executable()); - cmd.args(args).stdout(Stdio::piped()).stderr(Stdio::piped()); - - // Add library paths - for path in &self.config.library_paths { - cmd.arg("-I").arg(path); + cmd.args(&self.config.args) + .args(args) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()); + + // Lean 4 has no `-I` flag: it finds imported `.olean` files on + // LEAN_PATH. Library paths go in front of any inherited value. + if !self.config.library_paths.is_empty() { + let mut paths: Vec = self.config.library_paths.clone(); + if let Some(existing) = std::env::var_os("LEAN_PATH") { + paths.extend(std::env::split_paths(&existing)); + } + if let Ok(joined) = std::env::join_paths(paths) { + cmd.env("LEAN_PATH", joined); + } } let output = tokio::time::timeout( @@ -1326,7 +1336,7 @@ impl ProverBackend for LeanBackend { // Prefer the original .lean file — the Term IR round-trip loses // tactic structure that Lean's elaborator depends on. if let Some(path) = state.metadata.get("source_path").and_then(|v| v.as_str()) { - let result = self.run_lean(&["--run", path]).await; + let result = self.run_lean(&[path]).await; return match result { Ok(_) => Ok(true), Err(_) => Ok(false), @@ -1340,9 +1350,7 @@ impl ProverBackend for LeanBackend { tokio::fs::write(&temp_file, source) .await .context("Failed to write temporary file")?; - let result = self - .run_lean(&["--run", &temp_file.to_string_lossy()]) - .await; + let result = self.run_lean(&[&temp_file.to_string_lossy()]).await; let _ = tokio::fs::remove_file(&temp_file).await; return match result { Ok(_) => Ok(true), @@ -1365,9 +1373,7 @@ impl ProverBackend for LeanBackend { .await .context("Failed to write temporary file")?; - let result = self - .run_lean(&["--run", &temp_file.to_string_lossy()]) - .await; + let result = self.run_lean(&[&temp_file.to_string_lossy()]).await; // Clean up let _ = tokio::fs::remove_file(&temp_file).await; From 8fbfedb449f2c174ebc02557cab972c867886e06 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 16:38:46 +0000 Subject: [PATCH 2/3] Lean verify: no pass for source-free goals; fail on bad LEAN_PATH Without Lean source, the remaining goals export only as comments, so plain Lean accepted the file. Report such states as unverified. A library path that cannot be joined into LEAN_PATH is now an error instead of silently dropping every configured root. --- src/rust/provers/lean.rs | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/src/rust/provers/lean.rs b/src/rust/provers/lean.rs index 23182c3a..4be36ca5 100644 --- a/src/rust/provers/lean.rs +++ b/src/rust/provers/lean.rs @@ -183,9 +183,9 @@ impl LeanBackend { if let Some(existing) = std::env::var_os("LEAN_PATH") { paths.extend(std::env::split_paths(&existing)); } - if let Ok(joined) = std::env::join_paths(paths) { - cmd.env("LEAN_PATH", joined); - } + let joined = std::env::join_paths(paths) + .context("A Lean library path cannot be joined into LEAN_PATH")?; + cmd.env("LEAN_PATH", joined); } let output = tokio::time::timeout( @@ -1362,27 +1362,11 @@ impl ProverBackend for LeanBackend { return Ok(true); } - // Generate Lean code from the proof state - let lean_code = self.export(state).await?; - - // Write to temp file and check with Lean - let temp_dir = std::env::temp_dir(); - let temp_file = temp_dir.join(format!("echidna_verify_{}.lean", crate::ids::temp_token())); - - tokio::fs::write(&temp_file, &lean_code) - .await - .context("Failed to write temporary file")?; - - let result = self.run_lean(&[&temp_file.to_string_lossy()]).await; - - // Clean up - let _ = tokio::fs::remove_file(&temp_file).await; - - // Check if verification succeeded - match result { - Ok(_) => Ok(true), - Err(_) => Ok(false), - } + // Without Lean source, the remaining goals can only be exported as + // comments next to sorry-stubbed theorems. Lean would accept that + // file without checking any goal, so it is not evidence: report + // the state as unverified. + Ok(false) } async fn export(&self, state: &ProofState) -> Result { From 4c098d681668014f76657d87ba63d8c580cf09fb Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Sat, 5 Dec 2026 18:00:49 +0000 Subject: [PATCH 3/3] chore(deps): upgrade ed25519-dalek to v3 with alloc and refresh both Cargo lockfiles --- Cargo.lock | 83 ++++++++++-------------- Cargo.toml | 2 +- fuzz/Cargo.lock | 166 ++++++++++++------------------------------------ 3 files changed, 76 insertions(+), 175 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f8b6c37..a9276b3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -640,7 +640,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -664,12 +664,6 @@ dependencies = [ "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" @@ -802,14 +796,14 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.3" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +checksum = "94c1aa5a9b7626ed65ac0cf5ea9d4f1547af89017fbac20bd4de40022fff516f" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures 0.3.0", "curve25519-dalek-derive", - "digest 0.10.7", + "digest 0.11.3", "fiat-crypto", "rustc_version", "subtle", @@ -938,11 +932,11 @@ checksum = "a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8" [[package]] name = "der" -version = "0.7.10" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004" dependencies = [ - "const-oid 0.9.6", + "const-oid", "zeroize", ] @@ -1000,7 +994,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" dependencies = [ "block-buffer 0.12.0", - "const-oid 0.10.2", + "const-oid", "crypto-common 0.2.2", ] @@ -1178,9 +1172,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.3" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" dependencies = [ "pkcs8", "signature", @@ -1188,14 +1182,15 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.2.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" dependencies = [ "curve25519-dalek", "ed25519", "serde", - "sha2 0.10.9", + "sha2 0.11.0", + "signature", "subtle", "zeroize", ] @@ -1246,7 +1241,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -1272,9 +1267,9 @@ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "fiat-crypto" -version = "0.2.9" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" [[package]] name = "find-msvc-tools" @@ -1302,9 +1297,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -2320,9 +2315,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkcs8" -version = "0.10.2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" dependencies = [ "der", "spki", @@ -2592,7 +2587,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2657,15 +2652,6 @@ dependencies = [ "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" -dependencies = [ - "getrandom 0.2.17", -] - [[package]] name = "rand_core" version = "0.9.5" @@ -2912,7 +2898,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -3215,12 +3201,9 @@ dependencies = [ [[package]] name = "signature" -version = "2.2.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "rand_core 0.6.4", -] +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" [[package]] name = "simba" @@ -3264,9 +3247,9 @@ checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" [[package]] name = "spki" -version = "0.7.3" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" dependencies = [ "base64ct", "der", @@ -3393,10 +3376,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -3907,9 +3890,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -4200,7 +4183,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index b4c1f0e5..35c13eab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,7 +97,7 @@ nalgebra = "0.35" sha2 = "0.11" # Ed25519 signature verification (Apache-2.0 / MIT, MPL-2.0 compat). -ed25519-dalek = { version = "2", default-features = false, features = ["std"] } +ed25519-dalek = { version = "3", default-features = false, features = ["alloc"] } # DSP coprocessor — FFT/IFFT (Apache-2.0 / MIT). rustfft = "6" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 9d2d44b6..4b4b5a97 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -278,16 +278,7 @@ dependencies = [ "cc", "cfg-if", "constant_time_eq", - "cpufeatures 0.3.0", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", + "cpufeatures", ] [[package]] @@ -348,8 +339,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", - "rand_core 0.10.1", + "cpufeatures", + "rand_core", ] [[package]] @@ -427,7 +418,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -442,12 +433,6 @@ dependencies = [ "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" @@ -466,15 +451,6 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" -[[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" @@ -505,16 +481,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" -[[package]] -name = "crypto-common" -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" @@ -526,14 +492,14 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.3" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +checksum = "94c1aa5a9b7626ed65ac0cf5ea9d4f1547af89017fbac20bd4de40022fff516f" dependencies = [ "cfg-if", - "cpufeatures 0.2.17", + "cpufeatures", "curve25519-dalek-derive", - "digest 0.10.7", + "digest", "fiat-crypto", "rustc_version", "subtle", @@ -553,11 +519,11 @@ dependencies = [ [[package]] name = "der" -version = "0.7.10" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004" dependencies = [ - "const-oid 0.9.6", + "const-oid", "zeroize", ] @@ -572,25 +538,15 @@ dependencies = [ "syn", ] -[[package]] -name = "digest" -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 = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" dependencies = [ - "block-buffer 0.12.1", - "const-oid 0.10.2", - "crypto-common 0.2.2", + "block-buffer", + "const-oid", + "crypto-common", ] [[package]] @@ -633,7 +589,7 @@ dependencies = [ "serde", "serde_json", "serde_json_canonicalizer", - "sha2 0.11.0", + "sha2", "strum", "tempfile", "thiserror", @@ -679,9 +635,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.3" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" dependencies = [ "pkcs8", "signature", @@ -689,14 +645,15 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.2.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" dependencies = [ "curve25519-dalek", "ed25519", "serde", - "sha2 0.10.9", + "sha2", + "signature", "subtle", "zeroize", ] @@ -726,7 +683,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -743,9 +700,9 @@ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "fiat-crypto" -version = "0.2.9" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" [[package]] name = "find-msvc-tools" @@ -761,9 +718,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -856,16 +813,6 @@ dependencies = [ "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.17" @@ -901,7 +848,7 @@ dependencies = [ "js-sys", "libc", "r-efi 6.0.0", - "rand_core 0.10.1", + "rand_core", "wasip2", "wasip3", "wasm-bindgen", @@ -1569,9 +1516,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkcs8" -version = "0.10.2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" dependencies = [ "der", "spki", @@ -1673,7 +1620,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -1715,16 +1662,7 @@ checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" dependencies = [ "chacha20", "getrandom 0.4.2", - "rand_core 0.10.1", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", + "rand_core", ] [[package]] @@ -1739,7 +1677,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" dependencies = [ - "rand_core 0.10.1", + "rand_core", ] [[package]] @@ -1865,7 +1803,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2049,17 +1987,6 @@ dependencies = [ "serde", ] -[[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" @@ -2067,8 +1994,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" dependencies = [ "cfg-if", - "cpufeatures 0.3.0", - "digest 0.11.3", + "cpufeatures", + "digest", ] [[package]] @@ -2098,12 +2025,9 @@ dependencies = [ [[package]] name = "signature" -version = "2.2.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "rand_core 0.6.4", -] +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" [[package]] name = "simba" @@ -2141,9 +2065,9 @@ dependencies = [ [[package]] name = "spki" -version = "0.7.3" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" dependencies = [ "base64ct", "der", @@ -2235,7 +2159,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2583,9 +2507,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -2623,12 +2547,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - [[package]] name = "want" version = "0.3.1"