Add FAQ
parent
11fe51aa19
commit
a231c5cc75
19
FAQ.md
Normal file
19
FAQ.md
Normal file
@ -0,0 +1,19 @@
|
||||
## I get the error "There is no suitable CSPRNG installed on your system"
|
||||
|
||||
This error means you do not have a secure cryptographic random number generator installed on your system. This is however required by PrivateBin for security reasons.
|
||||
Have a look at the [requirements list](https://github.com/PrivateBin/PrivateBin/wiki/Installation#requirements) to see what you are missing.
|
||||
|
||||
If you think you have at least one secure PRNG installed you can use the following test script to check which secure PRNG you actually support:
|
||||
```php
|
||||
echo '<pre>PHP version used: ', PHP_VERSION, PHP_EOL,
|
||||
'extension libsodium is loaded: ',
|
||||
(extension_loaded('libsodium') ? 'true' : 'false'), PHP_EOL,
|
||||
'/dev/urandom exists and is readable: ',
|
||||
(is_readable('/dev/urandom') ? 'true' : 'false'), PHP_EOL,
|
||||
'extension mcrypt is loaded: ',
|
||||
(extension_loaded('mcrypt') ? 'true' : 'false'), PHP_EOL,
|
||||
'function mcrypt_create_iv exists: ',
|
||||
(function_exists('mcrypt_create_iv') ? 'true' : 'false'), PHP_EOL,
|
||||
'extension com_dotnet is loaded: ',
|
||||
(extension_loaded('com_dotnet') ? 'true' : 'false'), '</pre>';
|
||||
```
|
Loading…
Reference in New Issue
Block a user