Package: makepasswd
Version: 1.10-3
Followup-For: Bug #307700

The solution is to use /dev/urandom instead of /dev/random:
see attached patch

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages makepasswd depends on:
ii  libcrypt-passwdmd5-perl       1.3-9      interoperable MD5-based crypt() fo
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

makepasswd recommends no packages.

-- no debconf information
--- /usr/bin/makepasswd~        2005-08-07 18:31:05.000000000 +0200
+++ /usr/bin/makepasswd 2008-02-13 16:46:38.000000000 +0100
@@ -525,7 +525,7 @@
        my $SeedOutput = $RandSeed;
        $SeedOutput or do
        {
-               open(RANDOMSEED, "<:unix", "/dev/random") or die "Could not 
access a seed value.\n";
+               open(RANDOMSEED, "<:unix", "/dev/urandom") or die "Could not 
access a seed value.\n";
                $SeedOutput=0;
                for (my $i=0; $i < 4; $i++)
                {

Reply via email to