From 08e18fc84b69b0c501c0ca47edf42cb5120bb818 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 16:17:54 +0000 Subject: [PATCH] chore(deps): update x509-cert requirement from 0.2.5 to 0.3.0 Updates the requirements on [x509-cert](https://github.com/RustCrypto/formats) to permit the latest version. - [Commits](https://github.com/RustCrypto/formats/compare/cms/v0.3.0-pre.0...x509-cert/v0.3.0) --- updated-dependencies: - dependency-name: x509-cert dependency-version: 0.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- crates/wx-rust-pay/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wx-rust-pay/Cargo.toml b/crates/wx-rust-pay/Cargo.toml index 32c7a97..625a9cd 100644 --- a/crates/wx-rust-pay/Cargo.toml +++ b/crates/wx-rust-pay/Cargo.toml @@ -49,7 +49,7 @@ rsa = { workspace = true } # AES-256-GCM:通知回调 ciphertext 解密/退款回调加密(Java v3/util/AesUtils:AEAD_AES_256_GCM,apiV3Key) aes-gcm = { version = "0.11.0", default-features = false, features = ["aes", "alloc"] } # X.509 证书解析:PemUtils.loadCertificate 的序列号/公钥提取(der 0.7/spki 0.7 体系,与 rsa 0.9.10 同代) -x509-cert = "0.2.5" +x509-cert = "0.3.0" # PKCS#12 容器解析:Java KeyStore.getInstance("PKCS12") 的 Rust 等价(纯 Rust;见 WxPayConfig.p12ToPem) p12 = "0.6.3" # rsa 0.9 的 RNG(rand_core 0.6 系;workspace 的 rand 0.10 与其不兼容),OsRng 用于 RSA 签名盲化/OAEP 加密