Open briancorbin opened 7 months ago
We haven't had much time to look at this. Which callback do you mean? Are calling in a way that ensures only one worker is in use? As the comment notes, it's non-deterministic with more than 1 worker. Is there an easy way to run this to show the issue?
Yeah I am sure it's setting workers to 1 when given a seed value. I've also recreated this outside of the project it's coming from
But I will double check again for sanity!
And I mean the callback that you can optionally include in the rsa.generateKeyPair function
Do you have a repo or gist or something that can be easily run?
Yeah, lemme get that for you, gotta look through my projects again
I have an issue where depending on whether I use a callback or not, the keyPair that is generated is different. Any idea what may be causing this? I would expect the keyPair to be the same regardless, no?