Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
c7ad3875
Commit
c7ad3875
authored
Feb 07, 2020
by
Antonin Décimo
Committed by
Juliusz Chroboczek
May 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 'hmac-sha256' and not 'sha256'.
parent
5a159579
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
babeld.man
babeld.man
+7
-1
configuration.c
configuration.c
+1
-1
No files found.
babeld.man
View file @
c7ad3875
...
...
@@ -313,7 +313,13 @@ This specifies the name of the file to which
writes out its process id, and is equivalent to the command-line option
.BR \-I .
.TP
.BI "key id" " id" " type" " type" " value" " value"
.BI first-rule-priority " priority"
This specifies smallest (highest) rule priority used with source-specific
routes. The default is 100.
.TP
.BI "key id" " id" " type " \c
.RB { hmac-sha256 | blake2s } \c
.BI " value" " value"
Configure a key for use with the
.B hmac
interface option. The
...
...
configuration.c
View file @
c7ad3875
...
...
@@ -783,7 +783,7 @@ parse_key(int c, gnc_t gnc, void *closure, struct key **key_return)
}
if
(
strcmp
(
auth_type
,
"none"
)
==
0
)
{
key
->
type
=
AUTH_TYPE_NONE
;
}
else
if
(
strcmp
(
auth_type
,
"sha256"
)
==
0
)
{
}
else
if
(
strcmp
(
auth_type
,
"
hmac-
sha256"
)
==
0
)
{
key
->
type
=
AUTH_TYPE_SHA256
;
}
else
if
(
strcmp
(
auth_type
,
"blake2s"
)
==
0
)
{
key
->
type
=
AUTH_TYPE_BLAKE2S
;
...
...
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