Summary: | net-dns/dnssec-root-20181220-r1: src_prepare failed: OpenSSL S/Mime verify failed: certificate has expired | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Marc Schiffbauer <mschiff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Kai.Dietrich, sam, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=870358 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 net-dns:dnssec-root-20181220-r1:20211108-034822.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 749526 [details]
emerge-info.txt
Created attachment 749529 [details]
emerge-history.txt
Created attachment 749532 [details]
environment
Created attachment 749535 [details]
etc.portage.tar.bz2
Created attachment 749538 [details]
net-dns:dnssec-root-20181220-r1:20211108-034822.log
Created attachment 749541 [details]
temp.tar.bz2
Not an OpenSSL 3.0 problem. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0c2f134e2582bdb23a1e2f965e865dba1fbe47 commit 1b0c2f134e2582bdb23a1e2f965e865dba1fbe47 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-11-08 15:14:43 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-11-08 15:14:54 +0000 net-dns/dnssec-root: don't verify signature chain We are only interested in verifying root-anchors.xml itself. We do not care about the signature chain. Closes: https://bugs.gentoo.org/822447 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-dns/dnssec-root/dnssec-root-20181220-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) For everyone reading this and is now concerned regarding usage of "-noverify":
We will still catch file manipulations. I.e. if you change root-anchors.xml in your DISTFILES directory and somehow managed to workaround Manifest verification, we will still be able to catch that manipulation like intended in that check:
> >>> Preparing source in /var/tmp/portage/net-dns/dnssec-root-20181220-r1/work/dnssec-root-20181220 ...
> * dev-libs/openssl is available, will validate signature of root-anchors.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <TrustAnchor id="380DC50D-484E-40D0-A3AE-68F2B18F61C7" source="http://data.iana.org/root-anchors/root-anchors.xml">
> <Zone>.</Zone>
> <KeyDigest id="Kjqmt7v" validFrom="2010-07-15T00:00:00+00:00" validUntil="2019-01-11T00:00:00+00:00">
> <KeyTag>19036</KeyTag>
> <Algorithm>8</Algorithm>
> <DigestType>2</DigestType>
> <Digest>49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5</Digest>
> </KeyDigest>
> <KeyDigest id="Klajeyz" validFrom="2017-02-02T00:00:00+00:00">
> <KeyTag>20326</KeyTag>
> <Algorithm>8</Algorithm>
> <DigestType>2</DigestType>
> <Digest>E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D</Digest>
> </KeyDigest>
> <blub />
> </TrustAnchor>
> Verification failure
> 139675540838208:error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest failure:crypto/pkcs7/pk7_doit.c:1011:
> 139675540838208:error:21075069:PKCS7 routines:PKCS7_verify:signature failure:crypto/pkcs7/pk7_smime.c:353:
(Note: I added a "<blub />" element)
We only disabled validation of certificate itself which we do not care about.
Today I am run to the same issue because I am using an older Portage Tree. Instead of disabling the Check, I have simple use the new IANA Certificates, which are available since 2021-09-02 (If your system is online and download this files direct from the IANA, you have no Problems, but I am using a static mirror and there are still the old files). So My Fix is: Update Version to 20210902 Put root-anchors-20210902.xml, root-anchors-20210902.p7s and icannbundle-20210902.pem to my local reposity. Now the check will by OK. Maybe Gentoo can do the same. (In reply to Kai Dietrich from comment #10) > Today I am run to the same issue because I am using an older Portage Tree. > > Instead of disabling the Check, I have simple use the new IANA Certificates, > which are available since 2021-09-02 (If your system is online and download > this files direct from the IANA, you have no Problems, but I am using a > static mirror and there are still the old files). > So My Fix is: Update Version to 20210902 > Put root-anchors-20210902.xml, root-anchors-20210902.p7s and > icannbundle-20210902.pem to my local reposity. > > Now the check will by OK. > > Maybe Gentoo can do the same. That doesn't really explain the need though. You can file a new bug if you want a bump instead of commenting on a long-closed one, and it's valid to want a newer version, but in terms of the check itself, it's meaningless in the ebuild. (In reply to Sam James from comment #11) > (In reply to Kai Dietrich from comment #10) > > Today I am run to the same issue because I am using an older Portage Tree. > > > > Instead of disabling the Check, I have simple use the new IANA Certificates, > > which are available since 2021-09-02 (If your system is online and download > > this files direct from the IANA, you have no Problems, but I am using a > > static mirror and there are still the old files). > > So My Fix is: Update Version to 20210902 > > Put root-anchors-20210902.xml, root-anchors-20210902.p7s and > > icannbundle-20210902.pem to my local reposity. > > > > Now the check will by OK. > > > > Maybe Gentoo can do the same. > > That doesn't really explain the need though. You can file a new bug if you > want a bump instead of commenting on a long-closed one, and it's valid to > want a newer version, but in terms of the check itself, it's meaningless in > the ebuild. ... actually, yes, please file a new bug requesting a version bump, as I can't even at a glance see where these are supposed to be. |