Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
2d9673eb
Commit
2d9673eb
authored
Jan 14, 2017
by
Daniel Salzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnssec: enable NSEC3 resalt event with Single-Type Signing Scheme
parent
9fc34850
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
src/dnssec/lib/event/action/nsec3_resalt.c
src/dnssec/lib/event/action/nsec3_resalt.c
+0
-6
tests-extra/tests/dnssec/single_type_signing/test.py
tests-extra/tests/dnssec/single_type_signing/test.py
+2
-1
No files found.
src/dnssec/lib/event/action/nsec3_resalt.c
View file @
2d9673eb
...
...
@@ -38,12 +38,6 @@ static int plan(dnssec_event_ctx_t *ctx, dnssec_event_t *event)
assert
(
ctx
);
assert
(
event
);
// Not supported with Single-Type signing.
if
(
ctx
->
policy
->
singe_type_signing
)
{
event
->
type
=
DNSSEC_EVENT_NONE
;
return
DNSSEC_EOK
;
}
if
(
!
ctx
->
policy
->
nsec3_enabled
||
ctx
->
policy
->
nsec3_salt_length
==
0
)
{
return
DNSSEC_EOK
;
}
...
...
tests-extra/tests/dnssec/single_type_signing/test.py
View file @
2d9673eb
...
...
@@ -31,8 +31,9 @@ for zone in zones[:-1]:
knot
.
dnssec
(
zone
).
enable
=
True
knot
.
dnssec
(
zone
).
manual
=
True
# enable automatic Single-Type signing scheme on the last zone
# enable automatic Single-Type signing scheme
with NSEC3
on the last zone
knot
.
dnssec
(
zones
[
-
1
]).
enable
=
True
knot
.
dnssec
(
zones
[
-
1
]).
nsec3
=
True
knot
.
dnssec
(
zones
[
-
1
]).
single_type_signing
=
True
knot
.
gen_confile
()
...
...
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