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
K
Knot Resolver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
Jonathan Coetzee
Knot Resolver
Commits
8a2863f1
Verified
Commit
8a2863f1
authored
Dec 21, 2018
by
Petr Špaček
Committed by
Vladimír Čunát
Jan 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trust_anchors: unify warning about 0 trust anchors
parent
ec2de703
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
daemon/lua/trust_anchors.lua.in
daemon/lua/trust_anchors.lua.in
+5
-4
No files found.
daemon/lua/trust_anchors.lua.in
View file @
8a2863f1
...
...
@@ -416,6 +416,10 @@ local function keyset_publish(keyset)
end
end
end
if count == 0 then
warn('[ ta ] ERROR: no anchors are trusted for ' ..
kres.dname2str(keyset.owner) .. ' !')
end
return count
end
...
...
@@ -470,8 +474,6 @@ update = function (keyset, new_keys, is_initial)
-- Start using the new TAs.
if keyset_publish(keyset) == 0 then
warn('[ ta ] WARNING: no anchors for ' .. kres.dname2str(keyset.owner)
.. ' are trusted!')
-- TODO: try to rebootstrap if for root?
return false
end
...
...
@@ -541,8 +543,7 @@ local add_file = function (path, unmanaged)
-- Parse new keys, refresh eventually
if keyset_publish(keyset) == 0 then
warn('[ ta ] ERROR: anchors are trusted for ' .. owner_str .. ' !')
-- TODO: try to rebootstrap?
-- TODO: try to rebootstrap if for root?
end
refresh_plan(keyset, 10 * sec, false)
end
...
...
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