Access to /dev/urandom shown only when debug enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moodle-OpenID |
New
|
Undecided
|
Unassigned |
Bug Description
Access to /dev/urandom is needed for lib\openid\
An error message is displayed, but only when debug mode is enabled.
For sanity reasons, a warning should be displayed in mod/openid/
Here is a small patch for this, for moodle-openid-rev8. I'll make a patch for moodle-openid-rev27 when in the mood.
The patch adds one new file, RandSource.php, to contain a value for Auth_OpenID_
tags: | added: taskbucket |
Here is the patch for Rev 27.
Also here is a new patch for Rev 8 since old patch had the default value of using "pseudo-random" instead of /dev/urandom.