EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

WARNING: no real random source present! #430

Open suganthikarthick opened 9 years ago

suganthikarthick commented 9 years ago

When we run the test client application with custom gstreamer functionality added and we are running it on our target arm architecture. we are getting the following warnings.

WARNING: no real random source present!"

What does this means? Thanks.

superdump commented 9 years ago

It means that your platform does not appear to have a real source of random data. This perhaps impacts on the encryption parts of WebRTC - that is to say, DTLS. We use OpenSSL for encryption. Does you platform have any good crypto support?

suganthikarthick commented 9 years ago

Yes. It does have "libcrypto.so.1.0.0 and libssl.so.1.0.0" libraries installed. Thanks.

superdump commented 9 years ago

What platform are you using? Is it known to be supported with standard OpenSSL?

Note that I am not certain this is a real issue but it sounds like it can impact the security of the cryptography algorithms used.

sdroege commented 9 years ago

This warning comes from GLib if it can't find a proper randomness source on the target platform.

superdump commented 9 years ago

I found information saying that it came from libsrtp. But OK. Perhaps multiple places.