Page 1 of 1

Verifying CentOS 7 Downloads

Posted: 2020/08/21 15:41:21
by zabbadgigante

I am having trouble verifying CentOS 7 full DVD downloads from

I have tried the following mirrors ... os/x86_64/ ... os/x86_64/ ... os/x86_64/

When I attempt to verify the sha256sum.txt.asc with the sha256sum.txt file present with

gpg --verify sha256sum.txt.asc

I get the following message:

gpg: WARNING: not a detached signature; file 'sha256sum.txt' was NOT verified!

This message is not present when verifying CHECKSUM.asc for CentOS 8 from the Duke mirror.

So, it seems that I cannot download a CentOS 7 ISO that can be verified.

Is that correct? Or, did I miss something?


Re: Verifying CentOS 7 Downloads

Posted: 2020/08/21 22:40:31
by TrevorH
The content of the sha256sum.txt.asc has changed between 7 and 8 it seems.

In 7 it contains the sha256sum and the ascii armoured gpg sig to verify both at the same time. The process for using the 7 files is documented on

On 8 the CHECKSUM.asc appears to contain the ascii armoured gpg sig to check that the CHECKSUM is correct. So on 8 it seems to be a two step process: first use CHECKSUM.asc to check that CHECKSUM hasn't been tampered with, the use CHECKSUM to check the sha256sum of the iso you're interested in.

Re: Verifying CentOS 7 Downloads

Posted: 2020/08/22 03:00:14
by zabbadgigante
Thanks for looking into this--

I see now that the checksums are contained within a PGP signed message in the `sha256sum.txt.asc` file.

Moving the `sha256sum.txt` file out of the directory removed the warning from the output.

The checksum for the `.iso` is in the `.asc` file, so everything looks good.