LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-27-2022, 09:04 AM   #1
znt
Member
 
Registered: May 2022
Posts: 38

Rep: Reputation: 0
Keys - Software Integrity


Often we get a software from a source, with another files (.md5, sha etc...)
How this works?
 
Old 05-27-2022, 09:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by znt View Post
Often we get a software from a source, with another files (.md5, sha etc...) How this works?
No idea what you're asking, about what software, from what source, and we can't guess as to your question. Can you clarify??? The things you mention in the 'etc.' are typically checksums...how to check them depends on what the sum is, and typically the sender will tell you what to run to verify the archive.
 
Old 05-27-2022, 09:42 AM   #3
znt
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
"No idea" doesn't make sense. You got it.
for example
https://imgur.com/a/ECHKfQD
no dialog or more instructions.
I just want to use my PC, and eventually work with that but i'm almost giving it up (because you 'no idea' exists)! Not for prouding
Thanks
 
Old 05-27-2022, 09:58 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,722

Rep: Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915Reputation: 5915
The checksum verifies you downloaded the ISO file without errors and the PGP key verifies the ISO file and checksum file have not been tampered with.

https://www.howtogeek.com/246332/how...tampered-with/

Last edited by michaelk; 05-27-2022 at 10:00 AM.
 
Old 05-27-2022, 10:00 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by znt View Post
"No idea" doesn't make sense. You got it. for example
https://imgur.com/a/ECHKfQD
no dialog or more instructions. I just want to use my PC, and eventually work with that but i'm almost giving it up (because you 'no idea' exists)! Not for prouding
And you are still not asking a clear question. You are still not providing any details, such as what version/distro of Linux, where you're getting this software, etc. Posting a screen shot of a web page doesn't tell anyone, anything.

No idea what you mean by "Not for prouding", but the page you showed has ISO images. Again, the download sites have INSTRUCTIONS on how to use the md5/sha checksums....did you read them?? Step 3 that says, "How to verify the ISO"????
https://mxlinux.org/download-links/
https://mxlinux.org/wiki/system/iso-...ksumsignatures

Tells you what to type in. Again, you need to ask a clear question and provide details. If you're downloading things on Windows/Mac, these instructions probably won't work, and you'll need to do something else. And we can't help you since you DO NOT TELL US anything.
 
Old 05-27-2022, 10:57 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
A "checksum," usually SHA1 or MD5, is an arithmetic calculation which is designed to detect the slightest change in a file. If even one bit has been altered, the checksum will be completely different.

A "cryptographic digital signature" is slightly different. Here, the checksum is wrapped in an encrypted payload that can be decrypted using a readily-available public key. This payload can only be generated by a possessor of the corresponding private key, which is secret.

When you verify a "signed" package, the software first decrypts the signature payload – and finds that it can successfully do so. (Which necessarily means that it was prepared by a holder of that secret private key.) Then, it verifies the checksum that is contained within that payload. This is evidence that the package contents are, indeed, exactly the same as what the signer originally vouched for, and that you know who signed it.

Now, strictly speaking, there are still clever ways that a clever nasty-person could trick you. ("Nasty-persons" are remarkably clever and resourceful ...) But it is acceptably unlikely.

All software-update processes used for Linux use digitally-signed packages, and from time to time the set of public keys are also updated. Most conventional software installers, and many applications, are also signed, and the operating system can be set to refuse to launch any application that isn't signed by a known source.

Last edited by sundialsvcs; 05-27-2022 at 11:13 AM.
 
Old 05-27-2022, 12:25 PM   #7
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
I usually do not check the downloaded files, especially if it is an ISO file. I almost never had a failed download, at least I do not remember. Also I prefer to download from a torrent file if that exists because the download is checked and correct. Life is simple sometimes.

You could also ask these questions in a single thread, as it makes it more easy for you and for the ones who answer to you, since it is basically the same subject/goal to be achieved.
 
1 members found this post helpful.
  


Reply

Tags
crypto, software packages



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
LXer: High-integrity software is key topic at 2007 Military Technologies ... LXer Syndicated Linux News 0 02-21-2007 05:01 PM
LXer: High integrity software LXer Syndicated Linux News 0 09-20-2006 06:54 PM
file integrity checking software??? dsids Linux - Newbie 2 08-21-2006 07:49 AM
LXer: Better database design with foreign keys and referential integrity ... LXer Syndicated Linux News 0 07-19-2006 09:21 PM
Software for Automatic Integrity Checking MoveZig Linux - Software 0 09-23-2005 09:14 AM

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

All times are GMT -5. The time now is 09:25 PM.

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