fix: preserve X.509 chain determinism after #279#315
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 14 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
ChainSpecstable bytes for default andDaysAgo-only shapes so unchanged chain fixtures keep their existing deterministic certificate outputsDaysFromNowand intermediate CA/key-usage overridesnext_serial_number&=->|=mutant incrates/uselesskey-x509/src/chain.rsValidation
cargo test -p uselesskey-core-x509-speccargo test -p uselesskey-x509 --test x509_unitcargo test -p uselesskey-x509 --test x509_comprehensivecargo test -p uselesskey-integration-tests --features determinism-regression --test determinism_regression x509_chain_fingerprints_snapshot -- --exactcargo mutants --all-features --manifest-path crates/uselesskey-x509/Cargo.toml --re "crates/uselesskey-x509/src/chain.rs:759:14: replace &= with \|= in next_serial_number" -j 1cargo xtask gate --check