Article 6MM9C Secure Randomness in Go 1.22 (Go Blog)

Secure Randomness in Go 1.22 (Go Blog)

by
corbet
from LWN.net on (#6MM9C)
The Go Blog has a detailedarticle on the new, more secure random-number generator implemented forthe 1.22 release.

For example, when Go 1.20 deprecated math/rand's Read, we heardfrom developers who discovered (thanks to tooling pointing out useof deprecated functionality) they had been using it in places wherecrypto/rand's Read was definitely needed, like generating keymaterial. Using Go 1.20, that mistake is a serious security problemthat merits a detailed investigation to understand thedamage. Where were the keys used? How were the keys exposed? Wereother random outputs exposed that might allow an attacker to derivethe keys? And so on. Using Go 1.22, that mistake is just a mistake.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments