It’s good for you to verify sha-1 checksum whenever you downloaded files from Google Code. By performing SHA-1 checksum verification, you will be able to tell if the file is orignal and it’s not being compromised. Of course, not all the website provide sha-1 checksum value, but they do provide, it’s good for us to perform the verification.
To verify a SHA-1 checksum in Mac OS X, follow the steps below:-
Advertisements
- Start your Terminal
- Enter the command below to generate the sha-1 checksum value:-
/usr/bin/openssl sha1 /path/to/test/file.dmg
- Once you enter the command above, your will see an output:-
SHA1(/path/to/test/file.dmg)= f31bc2bbcde84fdfaed5cced8e3f57f609dcdbd2
- And now you match this value with the one that publish at the website. If both is the same then, the file is safe to be executed. If both the value is different, do not execute the file! The file might be changed by someone or compromised by hacker and you should notify the file owner to fix this.
Related posts:
How to set SVN_EDITOR environment variable
How to burn data CD or DVD in Mac OS X
How to password protect folder in Mac OS X
Mac: How to setup email account in Apple Mail
Arrow key not working in vi / vim - Mac OS
Disable iTunes auto start when iPhone, iPad, or iPod is Connected
How to move cursor to end of line in vi editor
How to loop thru directory files in bash shell
Share this with your friends:-