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
c8de3488
Commit
c8de3488
authored
3 years ago
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Comments
parent
6465693e
No related branches found
No related tags found
6 merge requests
!510
Release
,
!229
Make the payload returned by NewSizedBroadcast include the extra padding so...
,
!221
Xx 3891/symmetric integration
,
!218
Xx 3891/symmetric integration
,
!217
Add asymmetric client
,
!207
WIP: Client Restructure
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
broadcast/symmetricClient.go
+2
-0
2 additions, 0 deletions
broadcast/symmetricClient.go
with
2 additions
and
0 deletions
broadcast/symmetricClient.go
+
2
−
0
View file @
c8de3488
...
...
@@ -148,6 +148,8 @@ func (s *symmetricClient) Stop() {
s
.
net
.
DeleteClientService
(
s
.
channel
.
ReceptionID
)
}
// verifyID generates a symmetric ID based on the info in the channel & compares it to the one passed in
// TODO: it seems very odd to me that we do this, rather than just making the ID a private/ephemeral component like the key
func
(
s
*
symmetricClient
)
verifyID
()
bool
{
gen
,
err
:=
crypto
.
NewSymmetricID
(
s
.
channel
.
Name
,
s
.
channel
.
Description
,
s
.
channel
.
Salt
,
rsa
.
CreatePublicKeyPem
(
s
.
channel
.
RsaPubKey
))
if
err
!=
nil
{
...
...
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