Skip to content

Update chacha20 to 0.10.2 - #5256

Merged
pcholakov merged 1 commit into
mainfrom
chacha20-0.10.2
Aug 28, 2026
Merged

pcholakov merged 1 commit into
mainfrom
chacha20-0.10.2

Conversation

@pcholakov

@pcholakov pcholakov commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor
error[yanked]: detected yanked crate (try `cargo update -p chacha20`)
124 │ chacha20 0.10.1 registry+https://github.com/rust-lang/crates.io-index

Both chacha20 0.10.0 and 0.10.1 are yanked from crates.io. 0.10.2, released 2026-08-27, fixes an SSE4.1 intrinsic used in the SSE2 backend of the RNG and legacy 64-bit-counter variants (RustCrypto/stream-ciphers#580), where a CPU without SSE4.1 could be asked to execute an instruction it does not have.

Restate reaches chacha20 transitively through rand → google-cloud-gax → google-cloud-auth → restate-service-client. Server CPUs in practice have SSE4.1, so this is a correctness fix rather than a response to an observed fault.

The change is two lines of Cargo.lock. cargo deny --all-features check now reports advisories ok, bans ok, licenses ok, sources ok, and cargo nextest run --all-features passes (1456 tests).

Note that the advisories job is continue-on-error in deps.yml, so this was never blocking a merge — it was making every dependency-touching PR report a red job.

chacha20 0.10.0 and 0.10.1 are yanked from crates.io, which fails the
cargo-deny advisories check. 0.10.2 fixes an SSE4.1 intrinsic used in
the SSE2 backend of the RNG and legacy 64-bit-counter variants, so on a
CPU without SSE4.1 the affected backends could execute an instruction
that is not available.

Restate reaches chacha20 through rand, google-cloud-gax and
google-cloud-auth. Server CPUs in practice have SSE4.1, so this is a
correctness fix rather than an observed fault.
@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Test Results

  8 files  ±0    8 suites  ±0   5m 2s ⏱️ +10s
 61 tests ±0   61 ✅ +1  0 💤 ±0  0 ❌ ±0 
268 runs  ±0  268 ✅ +1  0 💤 ±0  0 ❌ ±0 

Results for commit ddf2cd7. ± Comparison against base commit ceb0e7d.

♻️ This comment has been updated with latest results.

@pcholakov
pcholakov requested a review from tillrohrmann August 28, 2026 10:41

@MohamedBassem MohamedBassem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢🚢🚢

@tillrohrmann tillrohrmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good improvement @pcholakov. LGTM. +1 for merging.

@pcholakov
pcholakov merged commit e8b0592 into main Aug 28, 2026
31 checks passed
@pcholakov
pcholakov deleted the chacha20-0.10.2 branch August 28, 2026 13:13
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants