Activity log for bug #285838

Date Who What changed Old value New value Message
2008-10-19 10:32:18 josemoya bug added bug
2008-10-19 10:32:18 josemoya bug added attachment 'C:\2\diff_file.txt' (Patch to show an alert about Auth_OpenID_RAND_SOURCE in auth_config.html)
2008-10-19 10:35:31 josemoya description Access to /dev/urandom is needed for lib\openid\Auth\OpenID\CryptUtil.php to work. If path restrictions are enabled in server, it will fail. An error message is displayed, but only when debug mode is enabled. For sanity reasons, a warning should be displayed in mod/openid/auth_config.html, in order to notify the administrator before he activates 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_RAND_SOURCE. /lib/OpenID.php could have been used instead, but having it in a single file makes things easier for newbie administrators like me. Access to /dev/urandom is needed for lib\openid\Auth\OpenID\CryptUtil.php to work. If path restrictions are enabled in server, the openid login process will fail with a blank screen. An error message is displayed, but only when debug mode is enabled. For sanity reasons, a warning should be displayed in mod/openid/auth_config.html, in order to notify the administrator before he activates 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_RAND_SOURCE. /lib/OpenID.php could have been used instead, but having it in a single file makes things easier for newbie administrators like me.
2008-10-19 10:35:31 josemoya title Access to /dev/urandom show only when debug enabled Access to /dev/urandom shown only when debug enabled
2008-10-19 16:54:46 josemoya bug added attachment 'C:\2\diff_rev27.diff' (RAND_SOURCE diff for rev27)
2008-10-19 16:55:47 josemoya bug added attachment 'C:\2\diff_rev8.txt' (moodle-openid RAND_SOURCE diff for rev8)
2008-10-19 16:55:55 josemoya bug added attachment 'C:\2\diff_rev8.txt' (moodle-openid RAND_SOURCE diff for rev8)
2009-09-29 20:20:04 Stuart Metcalfe tags taskbucket