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

UniqueID not sufficiently randomized #205

Open
xshuqun opened this issue Jul 29, 2024 · 0 comments
Open

UniqueID not sufficiently randomized #205

xshuqun opened this issue Jul 29, 2024 · 0 comments
Assignees

Comments

@xshuqun
Copy link
Collaborator

xshuqun commented Jul 29, 2024

During initialization, UniqueID will be generated and store into NVS.

Due to using Mbedtls DRBG, different device can have the same DRBG context and seed which generates the same random number.

To resolve this, can use crypto_random_generate instead, it has been implemented but disabled in default CONFIG_ENABLE_MATTER_PRNG.

@xshuqun xshuqun self-assigned this Jul 29, 2024
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

No branches or pull requests

1 participant