Closed jhinklez closed 2 years ago
Looks like we don't even have CI enabled for this repo. I'll need to add that. Looks like this repo is not very well maintained.
I just double checked on master - This test failure has been there for quite sometimes now and the approach you have make sense to me
UUID.timestamp_create
makes a call toipconfig
orifconfig
(depending on the OS architecture its running on) in order to retrieve the mac address which it then uses, in part, to generate a UUID. This creates a system-level dependency which may be undesired if running in a containerized environment where such binaries might not be available out of the box.This PR removes that system-level dependency by using
UUID.random_create
instead; this method is used in numerous other places and maintains a high level of entropy.Additionally, the exception thrown by the
XSW attack
was getting thrown before theassert_raises
statement causing the test suite to fail so it was fixed as well.