Sponsored Content
Operating Systems OS X (Apple) receiving authentication of - checksum Post 302561651 by cowLips on Tuesday 4th of October 2011 08:28:52 PM
Old 10-04-2011
receiving authentication of - checksum

MacBook 10.6.8, 2.16 GHz, Intel Core 2 Duo
I am trying to find the correct command line utility to verify a SHA-1 digest.
listed below is what i have tried.
I do not know which one would match the SHA -1 , so i can continue to go thru cycles of deleting the download and re up loading until a correct download is achieved.
I have tried to receive assistance at the MAMP forums and the moderator will not work with me. and i will not elaborate and gripe here.

This is the information that is provided at MAMP:
If you who want to verify the authenticity of the download, the SHA-1 digest (also known as a checksum) of this MAMP & MAMP PRO 2.0 download file is:
5af66a8c9c307b9d8072b5d40ad9bfa5cb6f7027
------------------------------------------------------------------
$ cksum /Users/account/Downloads/MAMP.pkg
1024283571 112791285 /Users/account/Downloads/MAMP.pkg
------------
source
Mac OS X: How to verify a SHA-1 digest

$ SHA1(/Users/account/Downloads/MAMP.pkg)
-bash: syntax error near unexpected token `/Users/account/Downloads/MAMP.pkg'

$ SHA1 /Users/account/Downloads/MAMP.pkg
-bash: SHA1: command not found
---------------------

$ md5 /Users/account/Downloads/MAMP.pkg
MD5 (/Users/account/Downloads/MAMP.pkg) = e588da6a863bf6c339cd55414661eaec

Thank you
 

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

not receiving email

I've requested several passwords and they are not being sent to my email. My email is working - email address removed (2 Replies)
Discussion started by: xyz
2 Replies

2. Shell Programming and Scripting

Checksum question

in HPUX: I am copying oracle datafiles from one mountpoint to another the total size is about 250Gb. I wanted to perform a checksum on the target and make sure the files came overy properly. Mountpoints: /s01 to /u01 /s02 to /u02 I tried using "SUM" on these mountpoints but its taking... (1 Reply)
Discussion started by: jigarlakhani
1 Replies

3. SCO

checksum

Does anyone know the answer to this? When I run "sum -r" on a file that I've down loaded from the sco website, the 1st set of numbers differs from the checksum on the download page but the 2nd set matches. If I try to install the patch, I get errors. Anyone has an answer? (3 Replies)
Discussion started by: jn5519
3 Replies

4. Programming

Help receiving a frame in C!

Hello everybody, I have a problem with a program i'm coding, the thing is that i need the program to check quickly if it receives a response, if not, just go ahead. My program sends the frame successfully, but it keeps waiting for the response until it receives something. That's what i need to... (2 Replies)
Discussion started by: Zykl0n-B
2 Replies

5. Solaris

checksum

Anyone can tell me the different between "cksum" and "sum" command on Solaris? I read the man pages but still not get it. And how to display the md5 checksum for a file. Thanks, (1 Reply)
Discussion started by: redstone
1 Replies

6. Shell Programming and Scripting

Checksum+SFTP

Hi ALL, I use solaris OS and SFTP to get/put files from remote server.I use the below command , sftp user@host<<EOF cd "dir" get --checksum "filename" EOF I am getting a strange error as " get --checksum INVALID paramter". It has been working succesfully since last 3 years but all of a... (1 Reply)
Discussion started by: mohanpadamata
1 Replies

7. UNIX for Dummies Questions & Answers

sftp checksum! why we use it

Hi All, In file transfer with sftp protocol, what is the purpose "checksum" solves? Is this something not getting the file which has already been bought? Waiting for your response !!! (1 Reply)
Discussion started by: sk84993
1 Replies

8. IP Networking

Wireshark UDP checksum bad checksum

Hello I am communicating with two devices using my computer over UDP protocol. The application is running fine. When I monitored the UDP traffic using Wireshark software, I found that there were too many Checksum errors. Please find attached the png file showing this error. I am about to... (0 Replies)
Discussion started by: AustinCann
0 Replies

9. Shell Programming and Scripting

Script to get checksum of itself

is there a way to get a script to do a checksum on itself? something like this: #!/bin/sh myexpectedsig=$(cksum $0 | awk '{print $1}') if ; then exit else who uptime date fi im looking for something that would always represent the running script, which is why im... (6 Replies)
Discussion started by: SkySmart
6 Replies
MD5(1)							    BSD General Commands Manual 						    MD5(1)

NAME
md5, sha1, sha256, sha512, rmd160 -- calculate a message-digest fingerprint (checksum) for a file SYNOPSIS
md5 [-pqrtx] [-c string] [-s string] [file ...] sha1 [-pqrtx] [-c string] [-s string] [file ...] sha256 [-pqrtx] [-c string] [-s string] [file ...] sha512 [-pqrtx] [-c string] [-s string] [file ...] rmd160 [-pqrtx] [-c string] [-s string] [file ...] DESCRIPTION
The md5, sha1, sha256, sha512 and rmd160 utilities take as input a message of arbitrary length and produce as output a ``fingerprint'' or ``message digest'' of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. The MD5, SHA-1, SHA-256, SHA-512 and RIPEMD-160 algo- rithms are intended for digital signature applications, where a large file must be ``compressed'' in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA. MD5 has been completely broken as far as finding collisions is concerned, and should not be relied upon to produce unique outputs. This also means that MD5 should not be used as part of a cryptographic signature scheme. At the current time (2014-05-17) there is no publicly known method to ``reverse'' MD5, i.e., to find an input given a hash value. SHA-1 currently (2014-05-17) has no known collisions, but an attack has been found which is faster than a brute-force search, placing the security of SHA-1 in doubt. It is recommended that all new applications use SHA-256 instead of one of the other hash functions. The following options may be used in any combination and must precede any files named on the command line. The hexadecimal checksum of each file listed on the command line is printed after the options are processed. -c string Compare the digest of the file against this string. (Note that this option is not yet useful if multiple files are specified.) -s string Print a checksum of the given string. -p Echo stdin to stdout and append the checksum to stdout. -q Quiet mode -- only the checksum is printed out. Overrides the -r option. -r Reverses the format of the output. This helps with visual diffs. Does nothing when combined with the -ptx options. -t Run a built-in time trial. -x Run a built-in test script. EXIT STATUS
The md5, sha1, sha256, sha512 and rmd160 utilities exit 0 on success, 1 if at least one of the input files could not be read, and 2 if at least one file does not have the same hash as the -c option. SEE ALSO
cksum(1), md5(3), ripemd(3), sha(3), sha256(3), sha512(3) R. Rivest, The MD5 Message-Digest Algorithm, RFC1321. J. Burrows, The Secure Hash Standard, FIPS PUB 180-2. D. Eastlake and P. Jones, US Secure Hash Algorithm 1, RFC 3174. RIPEMD-160 is part of the ISO draft standard "ISO/IEC DIS 10118-3" on dedicated hash functions. Secure Hash Standard (SHS): http://csrc.nist.gov/cryptval/shs.html. The RIPEMD-160 page: http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html. ACKNOWLEDGMENTS
This program is placed in the public domain for free general use by RSA Data Security. Support for SHA-1 and RIPEMD-160 has been added by Oliver Eikemeier <eik@FreeBSD.org>. BSD
May 17, 2014 BSD
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy