LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2020, 01:47 PM   #1
duupunisher2x
Member
 
Registered: Aug 2020
Posts: 88

Rep: Reputation: Disabled
How to do a checksum for "sha1"...?


I downloaded a copy of Santoku and the checksum on their website is for "sha1", not "sha256sum".

How do I check for "sha1" for a dvd?

For sha256sum, i usually check with: "sudo dd if=/dev/cdrom count=x bs=x | sha256sum"

Last edited by duupunisher2x; 09-12-2020 at 02:43 PM.
 
Old 09-12-2020, 02:37 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
sha1sum instead of sha256sum

But I could be wrong. Only ever checked those on a Manjaro image for my pinebook pro. To find that it didn't match because the wiki link was to the OLD version. So I had to download the NEW version directly from manjaro, not the pinebook pro wiki. Only then did it match.

$ sha1sum image.img

perhaps

$ sha1sum /dev/dvd

would be simpler / more efficient in your case. But I've never done that to know.
 
1 members found this post helpful.
Old 09-12-2020, 02:42 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by duupunisher2x View Post
I downloaded a copy of Santoku and the checksum on their website is for "sha1", not "sha256sum". How do I check for "sha1" for a dvd? For sha256sum, i usually check with: "sudo dd if=/dev/cdrom count=x bs=x | sha256sum"
The "sha1sum" command would be the way; read the "Question Guidelines" link in my posting signature

And since you're posting in the "Newbie" forum, why on earth would you load Santoku, a specialized distro for security and forensics? Especially based on your other threads, where you appear to be having problems with plain Debian.
 
1 members found this post helpful.
Old 09-13-2020, 03:34 AM   #4
duupunisher2x
Member
 
Registered: Aug 2020
Posts: 88

Original Poster
Rep: Reputation: Disabled
Thanks.

I was using a defective dvd player which caused the checksum equation not to work. Yes, using "sha1sum" instead of "sha256sum" worked fine.

Thanks!
 
Old 09-14-2020, 10:00 PM   #5
duupunisher2x
Member
 
Registered: Aug 2020
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
The "sha1sum" command would be the way; read the "Question Guidelines" link in my posting signature

And since you're posting in the "Newbie" forum, why on earth would you load Santoku, a specialized distro for security and forensics? Especially based on your other threads, where you appear to be having problems with plain Debian.
It comes with some form of "cryptsetup-luks".
 
Old 09-15-2020, 08:31 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by duupunisher2x View Post
It comes with some form of "cryptsetup-luks".
As do ALL versions of Linux. All of them support LUKS encryption.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Announcing the first SHA1 collision" mjolnir General 5 02-24-2017 05:40 PM
How can i know checksum of BIOS and verify checksum? liks Linux - Security 1 01-19-2016 02:15 PM
rsec sha1 checksum change anelson55447 Linux - Security 2 09-01-2009 01:07 PM
Checksum 4 Slackware download - what type of checksum is this. Earnest Lux Linux - Newbie 1 02-02-2008 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration