Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
elixxir
client
Commits
574b0281
Commit
574b0281
authored
3 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in ClientRegistration message
parent
ef9ed794
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!53
Release
,
!29
Josh/databaseless
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
network/node/register.go
+0
-2
0 additions, 2 deletions
network/node/register.go
registration/register.go
+2
-2
2 additions, 2 deletions
registration/register.go
with
2 additions
and
4 deletions
network/node/register.go
+
0
−
2
View file @
574b0281
...
...
@@ -187,8 +187,6 @@ func registerWithNode(sender *gateway.Sender, comms RegisterNodeCommsInterface,
sessionKey
:=
registration
.
GenerateBaseKey
(
grp
,
nodeDHPub
,
store
.
GetDHPrivateKey
(),
h
)
// Verify the HMAC
h
.
Reset
()
if
!
registration
.
VerifyClientHMAC
(
sessionKey
.
Bytes
(),
keyResponse
.
EncryptedClientKey
,
...
...
This diff is collapsed.
Click to expand it.
registration/register.go
+
2
−
2
View file @
574b0281
...
...
@@ -40,8 +40,8 @@ func register(comms registrationMessageSender, host *connect.Host,
SendRegistrationMessage
(
host
,
&
pb
.
ClientRegistration
{
RegistrationCode
:
registrationCode
,
ClientTransmissionRSAPubKey
:
recept
ionPem
,
ClientReceptionRSAPubKey
:
transmiss
ionPem
,
ClientTransmissionRSAPubKey
:
transmiss
ionPem
,
ClientReceptionRSAPubKey
:
recept
ionPem
,
})
if
err
!=
nil
{
err
=
errors
.
Wrap
(
err
,
"sendRegistrationMessage: Unable to "
+
...
...
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