Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MI-08 Bad Randomness in Nonce Generation #80

Open
xoloki opened this issue May 15, 2024 · 0 comments
Open

MI-08 Bad Randomness in Nonce Generation #80

xoloki opened this issue May 15, 2024 · 0 comments
Assignees
Labels

Comments

@xoloki
Copy link
Collaborator

xoloki commented May 15, 2024

There is an IETF standard for FROST which makes several relevant security suggestions. In particular to nonces, it hashes the random bytes to include an extra layer of security (here). However, in this library the nonce (e, d) is computed from two random bytestrings extracted from the EC wrapper (Scalar::random(rng) where rng represents OsRng) .

@xoloki xoloki added the audit label May 15, 2024
@xoloki xoloki self-assigned this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant