Skip to content

Conversation

alfrunes
Copy link
Contributor

The generated OTP secret can loose entropy due to incomplete reads from the underlying random generator.
Use io.ReadFull to ensure the entire secret buffer is replaced.

The generated OTP secret can loose entropy due to incomplete reads from
the underlying random generator.
Use `io.ReadFull` to ensure the entire secret buffer is replaced.
@pquerna pquerna merged commit 5971b1e into pquerna:master Dec 31, 2024
@rhnvrm
Copy link

rhnvrm commented May 15, 2025

Hi @pquerna,

The latest release is v1.4.0 (from Dec 2022). Would you be open to cutting a new release to include this security fix?

@pquerna
Copy link
Owner

pquerna commented May 16, 2025

v1.5.0 is tagged and includes this change.

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