Commit f4ab4dd9 authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

check: deliberately skip the TTL generated by ldns-key2ds

ldns-key2ds apparently used to pick a TTL of 172800 when generating
the key.  But it now emits 86400.  So cut out the field based on
position, rather than value, which is saner anyway.
parent 825d8275
......@@ -21,7 +21,7 @@ override_dh_auto_build:
./parse-root-anchors.sh < root-anchors.xml | sort -k 4 -n > root-anchors.ds
# Create key from downloaded root.key
/usr/bin/ldns-key2ds -n -2 root.key | sed -e 's/\t/ /g' -e 's/ 172800//' | sort -k 4 -n > root.ds
/usr/bin/ldns-key2ds -n -2 root.key | cut --fields=1,3- --output-delimiter=' ' | sort -k 4 -n > root.ds
# Compare the DS from root.key and from root-anchors.xml
diff -u root-anchors.ds root.ds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment