Skip to content

nonce function does not generate a nonce #22

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

Open
5hu5ky opened this issue Apr 1, 2021 · 0 comments
Open

nonce function does not generate a nonce #22

5hu5ky opened this issue Apr 1, 2021 · 0 comments
Assignees

Comments

@5hu5ky
Copy link

5hu5ky commented Apr 1, 2021

nonce function is not generating a unique nonce.

This may be due to #21

...
print(atecc.nonce(data=bytearray(b'\x03\x1e\xdd}Ae\x15\x93\xc5\xfe\\\x00o\xa5u+7\xfd\xdf\xf7')))
...

Output is the same every time:

bytearray(b'\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00')
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

2 participants