Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
c88a8a7c
Commit
c88a8a7c
authored
9 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Explain better why we are about to load the master key.
parent
a1b5e8b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/routerkeys.c
+14
-0
14 additions, 0 deletions
src/or/routerkeys.c
with
14 additions
and
0 deletions
src/or/routerkeys.c
+
14
−
0
View file @
c88a8a7c
...
...
@@ -660,6 +660,20 @@ load_ed_keys(const or_options_t *options, time_t now)
need_new_signing_key
||
EXPIRES_SOON
(
check_signing_cert
,
options
->
TestingSigningKeySlop
);
if
(
need_new_signing_key
)
{
log_notice
(
LD_OR
,
"It looks like I need to generate and sign a new "
"medium-term signing key, because %s. To do that, I need to "
"load (or create) the permanent master identity key."
,
(
NULL
==
use_signing
)
?
"I don't have one"
:
EXPIRES_SOON
(
check_signing_cert
,
0
)
?
"the one I have is expired"
:
"you asked me to make one with --keygen"
);
}
else
if
(
want_new_signing_key
)
{
log_notice
(
LD_OR
,
"It looks like I should try to generate and sign a "
"new medium-term signing key, because the one I have is "
"going to expire soon. To do that, I'm going to have to try to "
"load the permanent master identity key."
);
}
{
uint32_t
flags
=
(
INIT_ED_KEY_SPLIT
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment