Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Binhost integrity questions
Date: Tue, 27 Nov 2007 16:26:59
Message-Id: 20071127101752.5c44901d@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Binhost integrity questions by Aniruddha
1 On Tue, 27 Nov 2007 10:46:02 +0100
2 Aniruddha <zentooist@×××××.com> wrote:
3
4 > Dan Farrell wrote:
5 > > md5sum - compute and check MD5 message digest
6 > > dan@pascal ~ $ dd if=/dev/urandom of=/tmp/md5src count=512
7 > > 512+0 records in
8 > > 512+0 records out
9 > > 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s
10 > > dan@pascal ~ $ md5sum /tmp/md5src
11 > > 966019983a079e2bf03566d1f0eca061 /tmp/md5src
12 > >
13 > > if you want to verify your own download, you could download the file
14 > > here:
15 > > http://spore.ath.cx/~dan/md5src
16 > > and check to see if you get the same checksum.
17 > >
18 >
19 > Thank you for your answer. I am afraid you go a little to fast for me.
20 > What does "$ dd if=/dev/urandom of=/tmp/md5src count=512" exactly do?
21 >
22 > Regards,
23 >
24 > Aniruddha
25 >
26 I assume these others cleared it up? The basic idea is that the
27 'md5sum' program will compute the sum, and so you can use that to
28 verify the authenticity of the binary downloads. The rest of email
29 was, as they said, an example of doing so on a small randomly-generated
30 file.
31 > What does "$ dd if=/dev/urandom of=/tmp/md5src count=512" exactly do?
32 It reads 512 blocks from the input file (if=/dev/urandom) and writes it
33 to the output file (of=/tmp/md5src).
34 --
35 gentoo-user@g.o mailing list