Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
cce6bc02
Commit
cce6bc02
authored
Sep 07, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add links to IANA tables for DNSSEC algorithm/digest number assignemnts
parent
85d4fad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
status_checks.py
management/status_checks.py
+2
-0
No files found.
management/status_checks.py
View file @
cce6bc02
...
@@ -208,7 +208,9 @@ def check_dns_zone(domain, env, dns_zonefiles):
...
@@ -208,7 +208,9 @@ def check_dns_zone(domain, env, dns_zonefiles):
env
[
'out'
]
.
print_line
(
"Key Tag: "
+
ds_keytag
+
(
""
if
not
ds_looks_valid
or
ds
[
0
]
==
ds_keytag
else
" (Got '
%
s')"
%
ds
[
0
]))
env
[
'out'
]
.
print_line
(
"Key Tag: "
+
ds_keytag
+
(
""
if
not
ds_looks_valid
or
ds
[
0
]
==
ds_keytag
else
" (Got '
%
s')"
%
ds
[
0
]))
env
[
'out'
]
.
print_line
(
"Key Flags: KSK"
)
env
[
'out'
]
.
print_line
(
"Key Flags: KSK"
)
env
[
'out'
]
.
print_line
(
"Algorithm: 7 / RSASHA1-NSEC3-SHA1"
+
(
""
if
not
ds_looks_valid
or
ds
[
1
]
==
'7'
else
" (Got '
%
s')"
%
ds
[
1
]))
env
[
'out'
]
.
print_line
(
"Algorithm: 7 / RSASHA1-NSEC3-SHA1"
+
(
""
if
not
ds_looks_valid
or
ds
[
1
]
==
'7'
else
" (Got '
%
s')"
%
ds
[
1
]))
# see http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
env
[
'out'
]
.
print_line
(
"Digest Type: 2 / SHA-256"
)
env
[
'out'
]
.
print_line
(
"Digest Type: 2 / SHA-256"
)
# http://www.ietf.org/assignments/ds-rr-types/ds-rr-types.xml
env
[
'out'
]
.
print_line
(
"Digest: "
+
digests
[
'2'
])
env
[
'out'
]
.
print_line
(
"Digest: "
+
digests
[
'2'
])
if
ds_looks_valid
and
ds
[
3
]
!=
digests
.
get
(
ds
[
2
]):
if
ds_looks_valid
and
ds
[
3
]
!=
digests
.
get
(
ds
[
2
]):
env
[
'out'
]
.
print_line
(
"(Got digest type
%
s and digest
%
s which do not match.)"
%
(
ds
[
2
],
ds
[
3
]))
env
[
'out'
]
.
print_line
(
"(Got digest type
%
s and digest
%
s which do not match.)"
%
(
ds
[
2
],
ds
[
3
]))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment