Skip Menu |
 

This queue is for tickets about the Math-Random-MT-Auto CPAN distribution.

Report information
The Basics
Id: 64058
Status: rejected
Priority: 0/
Queue: Math-Random-MT-Auto

People
Owner: Nobody in particular
Requestors: lpsolit [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Math::Random::MT::Auto
Date: Mon, 20 Dec 2010 00:29:14 +0100
To: bug-Math-Random-MT-Auto [...] rt.cpan.org
From: "Frédéric Buclin" <lpsolit [...] gmail.com>
Download (untitled) / with headers
text/plain 460b
On Windows, Math::Random::MT::Auto requires Windows XP or newer as it calls RtlGenRandom, which is unavailable on Windows 2000: http://msdn.microsoft.com/en-us/library/aa387694%28VS.85%29.aspx But this page recommends to use CryptGenRandom, which is available on Windows 2000: http://msdn.microsoft.com/en-us/library/aa379942%28v=VS.85%29.aspx Maybe it would make sense to use CryptGenRandom instead, to save installations still running on Windows 2000?
Subject: Re: [rt.cpan.org #64058] Math::Random::MT::Auto
Date: Sun, 19 Dec 2010 20:37:41 -0500
To: bug-Math-Random-MT-Auto [...] rt.cpan.org
From: "Jerry D. Hedden" <jdhedden [...] cpan.org>
Download (untitled) / with headers
text/plain 1.1k
2010/12/19 Frédéric Buclin via RT <bug-Math-Random-MT-Auto@rt.cpan.org>: Show quoted text
> Sun Dec 19 18:29:25 2010: Request 64058 was acted upon. > Transaction: Ticket created by lpsolit@gmail.com >       Queue: Math-Random-MT-Auto >     Subject: Math::Random::MT::Auto >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: lpsolit@gmail.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=64058 > > > > On Windows, Math::Random::MT::Auto requires Windows XP or newer as it > calls RtlGenRandom, which is unavailable on Windows 2000: > >  http://msdn.microsoft.com/en-us/library/aa387694%28VS.85%29.aspx > > But this page recommends to use CryptGenRandom, which is available on > Windows 2000: > >  http://msdn.microsoft.com/en-us/library/aa379942%28v=VS.85%29.aspx > > Maybe it would make sense to use CryptGenRandom instead, to save > installations still running on Windows 2000?
I'm not adverse to this idea, but it requires a Handle of a cryptographic service provider (CSP) created by a call to CryptAcquireContext. Where do I get that from in general?
Subject: Re: [rt.cpan.org #64058] Math::Random::MT::Auto
Date: Mon, 20 Dec 2010 03:08:46 +0100
To: bug-Math-Random-MT-Auto [...] rt.cpan.org
From: "Frédéric Buclin" <lpsolit [...] gmail.com>
Download (untitled) / with headers
text/plain 277b
Show quoted text
> I'm not adverse to this idea, but it requires a Handle of a > cryptographic service provider (CSP) created by a call to > CryptAcquireContext. Where do I get that from in general?
Maybe CryptAcquireContext(phProv, NULL, MS_STRONG_PROV, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)?
Subject: Re: [rt.cpan.org #64058] Math::Random::MT::Auto
Date: Mon, 20 Dec 2010 19:51:41 +0100
To: bug-Math-Random-MT-Auto [...] rt.cpan.org
From: "Frédéric Buclin" <lpsolit [...] gmail.com>
Download (untitled) / with headers
text/plain 174b
Hum, per https://bugzilla.mozilla.org/show_bug.cgi?id=504270, it appears that using RtlGenRandom is fine. So there is no need to investigate further. You can reject the bug.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.