Skip to content

Conversation

@baloo
Copy link
Member

@baloo baloo commented Dec 9, 2025

The new API force the output to be a straight array, but there is a
custom drop implementation where we can put the Zeroize of the output.

This bumps the rand_core dependency to 0.10.0-rc-3

@baloo
Copy link
Member Author

baloo commented Dec 9, 2025

upstream PR that introduces the generator API: rust-random/rand_core#26

I've tried to adjust the upstream API to see if I could bring back the support for Zeroize, but all I ended up with was essentially a straight revert of the API.

Copy link
Contributor

@dhardy dhardy left a comment

Choose a reason for hiding this comment

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

@baloo baloo marked this pull request as draft December 9, 2025 19:45
@baloo baloo force-pushed the baloo/push-sxqszypxlxnt branch from f57179d to 01043e2 Compare December 9, 2025 19:48
@baloo baloo marked this pull request as ready for review December 11, 2025 03:24
@baloo baloo force-pushed the baloo/push-sxqszypxlxnt branch 2 times, most recently from 8dd5dfd to 078bf89 Compare December 11, 2025 03:26
@baloo baloo force-pushed the baloo/push-sxqszypxlxnt branch from 078bf89 to 89a1551 Compare December 17, 2025 19:01
@dhardy
Copy link
Contributor

dhardy commented Dec 22, 2025

Can you update this to use https://crates.io/crates/rand_core/0.10.0-rc-3 please?

See also: https://github.com/rust-random/rngs/pull/82/changes#diff-fd713d05cafb058540808aeb61e4fb7ac7817c7e1fde91e422153ec5fc0b61df

The new API force the output to be a straight array, but there is a
custom drop implementation where we can put the Zeroize of the output.

This bumps the `rand_core` dependency to `0.10.0-rc-3`
@newpavlov newpavlov merged commit b1ce66e into RustCrypto:master Dec 23, 2025
55 checks passed
@baloo baloo deleted the baloo/push-sxqszypxlxnt branch December 23, 2025 07:16
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.

3 participants