Moodle plugins directory: OpenID provider | Moodle.org
OpenID provider
General plugins (Local) ::: local_openid_idp
Maintained by Hubert Chathi
Enables Moodle to act as an OpenID provider
Latest release:
57 sites
1 downloads
2 fans
Current versions available: 1
This plugin allows users to log into OpenID-enabled websites using their Moodle account. It supports the Simple Registration (SReg) and Attribute Exchange (AX) OpenID extensions.
Useful links
Contributors
Hubert Chathi (Lead maintainer)
Please login to view contributors details and/or to contact them
this entry is currently unapproved.
Should we keep it here as currently being worked on, delete it or consider putting it into the "Others" category if it still doesn't conform to plugin standards?
i think : "Others" category - but we do need the GPL information.
The plugin contains two patches that are optional and not required for the plugin to work. There is also an optional installation step of copying libraries into Moodle's PEAR directory. So basically, the things that are not normal plugin things are optional. IMHO, that shouldn't disqualify it as a local plugin, but if it does, then I'm fine with moving it to the "Others" category.
I've had a look and i do see the GPL.
Now that i've read it i tend to agree it its fine for the 'local' category as it won't compromise any automated installation processes. i do think that the readme should mention the plugin works fine without those steps (2 - thru 4).
The other thing is that the 'readme' is easier to read when its readme.txt .
In any case, publishing this now, its been too long.
Obviously '/dev/urandom' is unix specific and doesn't function on windows.
The workaround error message provided "Define Auth_OpenID_RAND_SOURCE as null to continue with an insecure random number generator." isn't satisfactory from a security standpoint.
I've found two (secure) workarounds (for PHP > 5.3) when running on windows.
Prior to the call to:
$f = @fopen(MCRYPT_DEV_URANDOM, "r");
1. return bin2hex(mcrypt_create_iv($num_bytes, MCRYPT_DEV_URANDOM));
2. return openssl_random_pseudo_bytes($num_bytes);
Hopefully this helps someone
Cheers,
-David