Package: reseed
Version: 1.1
Severity: normal

After fetching a number sequence from random.org reseed does not convert
them correctly into a byte stream before piping into /dev/urandom as
intentioned. This seems to be due to a typo in the perl script:


# generate a byte stream from the numbers
@bytes = split /\n/, $response->content();
map { chr($_) } @bytes;
[...]
print RANDOM (join "", @bytes);


Changing the map into

map { $_ = chr } @bytes;

fixes this.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to