Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609684 - net-dns/dnssec-root: ebuild improvement request
Summary: net-dns/dnssec-root: ebuild improvement request
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 07:55 UTC by ncl
Modified: 2018-10-05 02:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dnssec-root-20170203.ebuild (dnssec-root-20170203.ebuild,1.27 KB, text/plain)
2017-02-18 07:55 UTC, ncl
Details
net-dns/dnssec-root/files/icannbundle-20170203.pem (icannbundle-20170203.pem,12.72 KB, text/plain)
2017-02-18 07:56 UTC, ncl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ncl 2017-02-18 07:55:12 UTC
Created attachment 464178 [details]
dnssec-root-20170203.ebuild

Late last year IANA renewed the DNSSEC root signing key, and earlier this month, updated it publicly[1], causing Bug #603316.

Taking a look at the dnssec-root ebuild[2], most of the workings are now irrelevant, and the entire test section is broken. I have done a rather naive attempt at rewriting this, so feel free to change it at your discretion.

Among other things I have:
* Moved http links to https (Even though we verify, ruling out less trusted sources is always best, eg if there is an exploitable bug while parsing these files)
* Made verification part of the compile section rather than the test section
* Bundled the verifying CA with the package, so as to not have to fetch it remotely.

IANA also provides shasums for the files, but portage's manifests should take care of that.

There are also alternatives, such IANA's own tool for this[3].


[1] https://www.icann.org/news/blog/ksk-rollover-operations-begin
[2] https://gitweb.gentoo.org/repo/gentoo.git/tree/net-dns/dnssec-root/dnssec-root-20150403.ebuild
[3] https://github.com/iana-org/get-trust-anchor
Comment 1 ncl 2017-02-18 07:56:42 UTC
Created attachment 464180 [details]
net-dns/dnssec-root/files/icannbundle-20170203.pem
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-10-05 02:55:47 UTC
Should be obsolete now due to latest update, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fcd1e0092ab0132cb453dcfbcb509a37b6bfbd