Skip to content

v0.7.6 - #1365

Merged
tarcieri merged 1 commit into
masterfrom
v0.7.6
Oct 23, 2026
Merged

v0.7.6#1365
tarcieri merged 1 commit into
masterfrom
v0.7.6

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Added

  • Implement Zeroize for EncodedUint (#1342)

Changed

  • Faster floor_sqrt, checked_sqrt implementation (#1312)
  • Bump ctutils to v0.4.4; MSRV 1.87 (#1350, #1359)

Fixed

  • BoxedUint GCD with mixed-precision zero operands (#1291)
  • Carry result from Karatsuba wrapping_square for larger integers (#1309)
  • Exact division edge cases (#1310)
  • Only use classic binary GCD in Jacobi symbol calculation (#1313)
  • Montgomery reduction in repeated squaring (#1344)
  • safegcd iteration count overflow at precisions of 93558 bits and above (#1346)
  • Carry returned by Uint::try_sub_with_carry (#1354)

Security

  • Make UintRef::PartialEq constant-time and implement PartialOrd/Ord (#1311)
  • Avoid branching on invertibility in BoxedMontyForm::invert (#1355)
  • borrowing_sub constant-timeness; use cargo checkct (#1358)
  • CT leaks in CTZ, div_rem, nlimbs, and Montgomery mul (#1360)

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.32%. Comparing base (8032da9) to head (4d9c49a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1365   +/-   ##
=======================================
  Coverage   91.32%   91.32%           
=======================================
  Files         190      190           
  Lines       22982    22982           
=======================================
  Hits        20989    20989           
  Misses       1993     1993           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri
tarcieri merged commit c34044b into master Oct 23, 2026
34 checks passed
@tarcieri
tarcieri deleted the v0.7.6 branch October 23, 2026 12:23
tarcieri added a commit to rustsec/advisory-db that referenced this pull request Oct 23, 2026
tarcieri added a commit to rustsec/advisory-db that referenced this pull request Oct 24, 2026
jeffkit pushed a commit to jeffkit/recursive that referenced this pull request Oct 24, 2026
…0.5.5 时序可变性族(无范围内补丁)

supply-chain job 红(run 于 e0c57e6 push):crypto-bigint 0.5.5 非常数时间运算时序可变性(2026-10-24 新公告,RustCrypto/crypto-bigint#1365),解法=升 >=0.7.6 跨大版本,而依赖方 aws-sigv4 1.5.1 / elliptic-curve 0.13.8 均 pin ^0.5——**升级通道不可用,进豁免清单**(audit.toml 头部原则:能 update 的不进清单;本条属「无 patched 可锁」场景,与 zip 0367-0369 同类)。暴露面:纯传递依赖零直接调用,AWS SigV4/P-256 均在成熟库内部,无自建常数时间面。解禁条件=依赖方发布支持 0.7 的版本并升级。与落地内容(e0c57e6 纯 docs)无关,纯 advisory-db 漂移。Policy-ack: jeffkit 2026-10-19
Aelieth added a commit to Aelieth/kerber-rust that referenced this pull request Oct 24, 2026
crypto-bigint 0.7.5 carries RUSTSEC-2026-0387: timing variability in
operations meant to be constant-time (RustCrypto/crypto-bigint#1365), on
the paths that rely on it for constant-time arithmetic -- PKINIT's
Diffie-Hellman, RSA and ECDSA, and SPAKE's curves. Update it to 0.7.6,
which fixes them, in the root and fuzz lockfiles; the transitive ctutils
constant-time helper moves 0.4.4 -> 0.4.5 with it. The dependency
requirement stays "0.7", so there is no manifest, API or MSRV change.

Move the cargo-vet exemptions for both crates to the new versions; they
stay exempted pending the 1.2 supply-chain audit. Record a Security
CHANGELOG bullet.
This was referenced Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants