You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there again :^) thanks for sharing this pretty clean and handy implementation. Have you thought of adding a test suite that helps measuring the entropy on each system it is ran? This library may be of help https://github.com/dyne/libdisorder
Sorry, but unfortunately I do not think measuring entropy will be particularly useful. Shannon entropy does not guarantee the cryptographic properties of a random generator. I think an entropy test would give (if anything) only a false sense of security).
I agree that this library should include test cases though.
As an update to this, I suggest we (I?) could use CMocka for testing C objects. The hard part will be to get a cluster of build targets though. Perhaps use Buildbot?
For Windows I would like to keep using Appveyor. For Linux we will want to build on linux<3.17 and linux>=3.17 (not sure how to do this on Travis). We already have osx (which is working fine).
Hi Dan! I am using github actions with succes and our own in-house jenkins for exotic targets that aren't covered.
Also about tests, using randombytes in zenroom I setup another kind of test measuring the average hamming distance between a large number of iterations, perhaps interesting.
I wish to contribute something in these directions, will try.
Activity
dsprenkels commentedon Jan 9, 2018
Sorry, but unfortunately I do not think measuring entropy will be particularly useful. Shannon entropy does not guarantee the cryptographic properties of a random generator. I think an entropy test would give (if anything) only a false sense of security).
I agree that this library should include test cases though.
[-]test suite measuring Shannon entropy[/-][+]test suite[/+]dsprenkels commentedon Mar 25, 2018
As an update to this, I suggest we (I?) could use CMocka for testing C objects. The hard part will be to get a cluster of build targets though. Perhaps use Buildbot?
jaromil commentedon Mar 26, 2018
I can help to setup a travis build to covers linux, osx and nodejs targets. No idea how to automate windows or bsd.
dsprenkels commentedon Mar 26, 2018
For Windows I would like to keep using Appveyor. For Linux we will want to build on linux<3.17 and linux>=3.17 (not sure how to do this on Travis). We already have osx (which is working fine).
A Node.js target on Travis would be helpful.
[-]test suite[/-][+]Tracking issue: test suite[/+]dsprenkels commentedon Sep 6, 2021
Update: Travis CI seems to have been discontinued. We have to find an alternative.
jaromil commentedon Sep 13, 2021
Hi Dan! I am using github actions with succes and our own in-house jenkins for exotic targets that aren't covered.
Also about tests, using randombytes in zenroom I setup another kind of test measuring the average hamming distance between a large number of iterations, perhaps interesting.
I wish to contribute something in these directions, will try.