Not enough Randomness for Secure Key Encryption

docker
2.0

#1

Hey I was wondering if anyone else has had failing tests timing out trying to generate encryption keys because inside docker in circleci there is not enough randomness.


#2

That’s a new report. Can you link to where you’re seeing that? You can PM me if necessary.

Is this a consistent failure? I’ve definitely generated keys on 2.0.


#3

We were able to fix the issue by running this docker image in our circleci 2.0 builds:

I’m not sure exactly what crypto library we were using to generate keys but it was working locally on developer machines, but timing out on circleci because not enough entropy.


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.