Skip to content

rand_jitter: Discourage use for cryptographic purposes - #814

Merged
dhardy merged 1 commit into
rust-random:masterfrom
vks:warn-jitter
Jun 3, 2019
Merged

dhardy merged 1 commit into
rust-random:masterfrom
vks:warn-jitter

Conversation

@vks

@vks vks commented Jun 3, 2019

Copy link
Copy Markdown
Contributor

This is a breaking change, because JitterRng no longer implements CryptoRng.

Fixes #699.

This is a breaking change, because `JitterRng` no longer implements
`CryptoRng`.

Fixes rust-random#699.
@dhardy

dhardy commented Jun 3, 2019

Copy link
Copy Markdown
Member

I checked the book, and there doesn't seem to be anything recommending use of JitterRng for cryptography (though there is plenty that is outdated). The only other mention I see is in rand::rngs module doc but that already mentions security issues. Thus I think this is enough to fix #699.

@dhardy
dhardy merged commit cb10a2c into rust-random:master Jun 3, 2019
@tarcieri

tarcieri commented Jun 3, 2019

Copy link
Copy Markdown
Contributor

@dhardy thank you!

@dhardy

dhardy commented Jun 3, 2019

Copy link
Copy Markdown
Member

Thank @vks, he actually implemented this!

@tarcieri

tarcieri commented Jun 3, 2019

Copy link
Copy Markdown
Contributor

Thanks @vks! 😄

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.

JitterRng security

3 participants