Repository navigation
Conversation
The RustCrypto backend only accepts unencrypted PKCS#8 and PKCS#1 RSA private keys, so rsa's pkcs5 feature is unused. Removing it drops pkcs5, scrypt, salsa20, cbc, pbkdf2, and block-padding from the dependency graph. Part of #1069.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rsa,p256, andaes-gcmfeatures toreqsign-crypto-rustcrypto, all enabled by default. MD5, SHA-1, SHA-256, HMAC-SHA-1/256/512, and HMAC-SHA512 stay unconditional.ConfigInvalidnaming the missing feature, including secure randomness. RSA, AES-GCM, and randomness remain unsupported onwasm32-unknown-unknownwhen enabled; P-256 stays available.default-cryptodepends on the backend withdefault-features = false; service features weakly select only what they need:aws-v4a->p256;azure,google,oracle, andhttp-message-signatures->rsa. A service feature alone does not pull the backend.google-credential-access-boundary-client-sidefeature. Client-side CAB is now opt-in throughreqsign-google/credential-access-boundary-client-sidewith a provider supporting AES-GCM and secure randomness, plus anHttpSendtransport for STS. If a graph also enables facadegoogle, Cargo feature unification can expose the type through facade re-exports; that is not a facade feature.Arc<T>forwarding forCryptoProvider(Implement CryptoProvider for Arc<T> in reqsign-core #1068).Google client-side CAB migration
Granter::grant(None)path. Only theaes-gcmbackend feature is required; the example uses a public test vector, not credentials.HttpSendrequirements.CI coverage
fullaggregate are built and behavior-tested in isolated downstream Cargo invocations. Probes exercise actual RSA, P-256, AES-GCM, randomness, hash, and HMAC operations, and verify a service feature alone does not pull the backend.fullis validated by resolved feature expansion; deletingvercelfromfullfails withfull does not enable service features: ['vercel'].Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --no-fail-fastcargo test --doc --all-features --workspacecargo test -p reqsign-google --features credential-access-boundary-client-side --lib --testspython3 .github/scripts/check_crypto_features.pypython3 .github/scripts/test_facade_features.pynode website/scripts/validate-providers.mjsreqsign-crypto-boringpackaging: 12 files, 4 staged local dependencies normalized without paths.Part of #1069.
Downstream follow-up
SMB lock resolution is downstream and is not claimed here. After the actual 0.21 release, the maintainers will open and then notify the dedicated OpenDAL issue for the SMB lockfile path. This PR does not edit OpenDAL or notify it.