Skip Menu |

This queue is for tickets about the Crypt-Random CPAN distribution.

Report information
The Basics
Id: 20377
Status: rejected
Priority: 0/
Queue: Crypt-Random

People
Owner: Nobody in particular
Requestors: drakecn [...] yahoo.com
Cc:
AdminCc:

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



Subject: non-portable - Fails to compile on most popular platforms - and does almost nothing anyhow
A) - all this module actually *does* is a sysread from /dev/urandom B) - in order to support that single statement, it requires half a dozen bloated packages to operate - all which basically just unpack() the result. C) - it doesn't work under RedHat. D) - it's not compatible (will not compile, install, nor (if you got it to install) run) with anything that has different LANG settings to it. E) - is not supported (see how old the bugs are)
From: Vipul Ved Prakash <mail [...] vipul.net>
Um, Pretty much all your observations are incorrect. A) The module provides a standard way of generating large random integers from various sources, including /dev/random, /dev/urandom, egd, and perl's own rand(). It provides these numbers as PARI integers. PARI is used for high precision mathematics required by many crypto modules. B) The pack/unpack statements are used to generated random numbers of required bitsize and ensure uniform distribution in the given interval. If you have an improvement over this, we'll use it. C) Show us your compile time logs. According to CPANTS Crypt::Random has passed tests on 50 platforms. D) Not familiar with this issue. More information will be useful. E) It is stable so we haven't done any more development on it. cheers, vipul On Sun Jul 09 11:51:03 2006, guest wrote: Show quoted text
> A) - all this module actually *does* is a sysread from /dev/urandom > > B) - in order to support that single statement, it requires half a > dozen bloated packages to operate - all which basically just unpack() > the result. > > C) - it doesn't work under RedHat. > > D) - it's not compatible (will not compile, install, nor (if you got > it to install) run) with anything that has different LANG settings to > it. > > E) - is not supported (see how old the bugs are)
From: Vipul Ved Prakash <mail [...] vipul.net>
Um, Pretty much all your observations are incorrect. A) The module provides a standard way of generating large random integers from various sources, including /dev/random, /dev/urandom, egd, and perl's own rand(). It provides these numbers as PARI integers. PARI is used for high precision mathematics required by many crypto modules. B) The pack/unpack statements are used to generated random numbers of required bitsize and ensure uniform distribution in the given interval. If you have an improvement over this, we'll use it. C) Show us your compile time logs. According to CPANTS Crypt::Random has passed tests on 50 platforms. D) Not familiar with this issue. More information will be useful. E) It is stable so we haven't done any more development on it. cheers, vipul On Sun Jul 09 11:51:03 2006, guest wrote: Show quoted text
> A) - all this module actually *does* is a sysread from /dev/urandom > > B) - in order to support that single statement, it requires half a > dozen bloated packages to operate - all which basically just unpack() > the result. > > C) - it doesn't work under RedHat. > > D) - it's not compatible (will not compile, install, nor (if you got > it to install) run) with anything that has different LANG settings to > it. > > E) - is not supported (see how old the bugs are)
No follow-on data provided. Closing.