In pkcs8 dependencies, I think pkcs5 should be listed with feature getrandom instead of rand_core, related to #2297 I think.
Reproduction:
cargo new --lib testbuild
cd testbuild
cargo add pkcs8@0.11.0-rc.11 -F encryption
cargo check
error[E0599]: no function or associated item named `recommended` found for struct `pkcs5::pbes2::Parameters` in the current scope
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pkcs8-0.11.0-rc.11/src/encrypted_private_key_info.rs:72:47
|
72 | let pbes2_params = pbes2::Parameters::recommended(rng);
| ^^^^^^^^^^^ function or associated item not found in `pkcs5::pbes2::Parameters`
In pkcs8 dependencies, I think pkcs5 should be listed with feature
getrandominstead ofrand_core, related to #2297 I think.Reproduction:
cargo new --lib testbuild cd testbuild cargo add pkcs8@0.11.0-rc.11 -F encryption cargo check