Whoops, hit send sooner than intended. It turns out my code (in apostrophePlugin and sfDoctrineApplyPlugin) is already using mt_rand. And it sounds like the self-seeding behavior should be trustworthy in PHP 5.2.1+.
RAND_MAX being 32768 on WIndows is not really relevant for the sfDoctrineGuardPlugin code, since it is always generating a random number with a smaller range than that. Of course the bad seeding behavior you saw is relevant. On Mon, Jul 5, 2010 at 7:04 AM, Laurent Bachelier <[email protected]> wrote: > sfDoctrineGuardPlugin looks pretty much abandonned to me — the trunk > has many issues which made me go back to a stable version. > Even security issues[1] don't seem to interest its developers. > I would suggest using doAuthPlugin[2] instead. > > [1] http://trac.symfony-project.org/ticket/7018 > [2] http://www.symfony-project.org/plugins/doAuthPlugin > > On 1 juil, 00:08, Tom Boutell <[email protected]> wrote: >> There haven't been any commits on sfDoctrineGuardPlugin's trunk for a >> few months. The trunk is significantly different, with new features >> and schema changes. We think it makes sense to use it for a >> longer-term client project in progress, but I'm wondering if there is >> any timeline for releasing it. Has it been swept aside by Symfony 2.0 >> development? We could live with that, but it would really help our >> planning to know one way or the other. >> >> Thanks! >> >> -- >> Tom Boutell >> P'unk Avenue >> 215 755 1330 >> punkave.com >> window.punkave.com > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
