[TYPO3-core] RFC #9474: Integrate OpenID authentication support to TYPO3

Dmitry Dulepov dmitry at typo3.org
Fri Oct 3 13:48:19 CEST 2008


Hi!

Xavier Perseguers wrote:
> +1 based on testing. Doc is OK too but I would like to read something 
> about /dev/urandom that needs to be allowed for reading by the www user.

Good point. I think we can modify sv1 to have this code before including OpenID library:

// Make sure that random generator is properly set up
if (!is_readable('/dev/urandom')) {
	if (is_readable('/dev/random')) {
		define('Auth_OpenID_RAND_SOURCE', '/dev/random');
	} else {
		define('Auth_OpenID_RAND_SOURCE', null);
	}
}

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/


More information about the TYPO3-team-core mailing list