<div dir="ltr">But how do I know which one of those is which hash, since they're not labelled?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 December 2013 16:11, George Joseph <span dir="ltr"><<a href="mailto:george.joseph@fairview5.com" target="_blank">george.joseph@fairview5.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The *sum tools will test all lines in a checksum file and will return 0 if any match or 1 if none match.<div>
<br></div><div>md5sum --quiet -c xxx.asc < xxx.tar.gz</div><div><div>sha1sum --quiet -c xxx.asc < xxx.tar.gz</div>
</div><div><div>sha256sum --quiet -c xxx.asc < xxx.tar.gz</div></div><div><br></div><div>where xxx.asc is </div><div><div>ecb9ac329728d0b2b947d4b2fba85b53b00dbf81737fc6db7e5e343025f98536 xxx.tar.gz</div><div>28f1a190d4b4d03a36744e9ba8518c8ca42e9276 xxx.tar.gz</div>
<div>5feb02a70a357cbbca1458498d5ed655 xxx.tar.gz</div></div><div><br></div><div>will all return 0.</div><div><br></div><div><div>sha512sum --quiet -c xxx.asc < xxx.tar.gz</div></div><div><br></div><div>will return 1 because there's no sha512 line in the text file.</div>
<div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, Dec 22, 2013 at 9:27 AM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 7:31 AM, Ben Langfeld <span dir="ltr"><<a href="mailto:ben@langfeld.me" target="_blank">ben@langfeld.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If everything went in one checksum file, how would one (or shasum) tell each of the checksums apart?<div>
<br></div><div>I'll submit a patch to mkrelease for the extra files.</div></div><div class="gmail_extra">
<br clear="all"></div></blockquote><div><br></div><div>I was thinking a JSON blob, but I'm perfectly happy with multiple files as well. <br></div></div><span><font color="#888888"><br>-- <br><div dir="ltr">
<div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div>
<div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div>
</div>
</font></span></div></div>
<br></div></div><div class="im">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></div></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>