Commit 5cac2ed
committed
fix(deps): migrate to stable pkcs5 / pkcs8 / ed25519 and loosen prerelease pins
Renames the rc.13 pkcs5 call site to its 0.8.0 stable name and drops the
`=` constraints introduced by 2a49916 (#697) on the RustCrypto prerelease
stack. Downstream consumers that bring in newer rsa rc.X (or 0.10.0
stable, when it lands) can now resolve russh cleanly without a
[patch.crates-io] override.
Source change in russh/src/keys/format/pkcs8.rs:
pkcs5::pbes2::Parameters::pbkdf2_sha256_aes256cbc(rounds, &salt, iv)
becomes
pkcs5::pbes2::Parameters::generate_pbkdf2_sha256_aes256cbc(rounds, &salt, iv)
Floor bumps in russh/Cargo.toml:
crypto-bigint 0.7.0-rc.28 -> 0.7.3
ecdsa 0.17.0-rc.16 -> 0.17.0-rc.18
ed25519-dalek 3.0.0-pre.6 -> 3.0.0-pre.7
elliptic-curve 0.14.0-rc.28 -> 0.14.0-rc.32
p256 / p384 / p521 0.14.0-rc.7 -> 0.14.0-rc.9
pkcs5 0.8.0-rc.13 -> 0.8 (stable)
pkcs8 0.11.0-rc.11 -> 0.11 (stable)
rsa 0.10.0-rc.16 -> 0.10.0-rc.18
spki 0.8.0-rc.4 -> 0.8 (stable)
The `=` prefix is dropped on every line above. Each floor is the first
version of the crate that compiles against the stable formats family.
The cascade is forced by rsa 0.10.0-rc.16 source failing against
pkcs8 0.11.0 stable (same `KeyMalformed` enum-variant rename that broke
ed25519-rc.4 in the #697 report) and primefield 0.14.0-rc.7 failing
against crypto-bigint 0.7.3.
Other prerelease pins (aead, aes-gcm, curve25519-dalek, ml-kem,
num-bigint fork, pkcs1) are left untouched. Each one's latest published
version matches the pinned version today, so loosening would be a no-op
for resolution.
Gates run on this branch with rustc 1.88.0 (the rust-toolchain.toml
floor):
cargo build --workspace clean
cargo build --workspace --all-features clean
cargo clippy --workspace -- -D warnings clean
cargo clippy --workspace --all-features -- -D warnings clean
cargo fmt --check clean
cargo test --workspace 76 lib tests +
all submodule
and doc-tests
pass
cargo test --workspace --all-features 77 lib tests +
all submodule
and doc-tests
pass1 parent c4ba20d commit 5cac2ed
2 files changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments