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
2c2c1ef6
Commit
2c2c1ef6
authored
3 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Clean up codebase
parent
70db55c4
No related branches found
No related tags found
2 merge requests
!67
Release
,
!47
Modify Login_Unsafe for pregenerated user JSON
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
network/node/register.go
+0
-4
0 additions, 4 deletions
network/node/register.go
storage/user/registation.go
+0
-1
0 additions, 1 deletion
storage/user/registation.go
with
0 additions
and
5 deletions
network/node/register.go
+
0
−
4
View file @
2c2c1ef6
...
...
@@ -96,10 +96,6 @@ func registerNodes(sender *gateway.Sender, session *storage.Session,
//registerWithNode serves as a helper for RegisterWithNodes
// It registers a user with a specific in the client's ndf.
// todo: follow uci. TransmissionRSA and ReceptionRSA are marshaled into JSON as
// objects. MAke sure JSON is intelligent enough on unmarshal to read that data.
// Also make sure (if unmarshalled correctly) that data makes it's way to storage
// as expected.
func
registerWithNode
(
sender
*
gateway
.
Sender
,
comms
RegisterNodeCommsInterface
,
ngw
network
.
NodeGateway
,
regSig
[]
byte
,
registrationTimestampNano
int64
,
uci
*
user
.
CryptographicIdentity
,
store
*
cmix
.
Store
,
rng
csprng
.
Source
,
...
...
This diff is collapsed.
Click to expand it.
storage/user/registation.go
+
0
−
1
View file @
2c2c1ef6
...
...
@@ -112,7 +112,6 @@ func (u *User) SetReceptionRegistrationValidationSignature(b []byte) {
defer
u
.
rvsMux
.
Unlock
()
//check if the signature already exists
jww
.
WARN
.
Printf
(
"receptionValidationSig: %v"
,
u
.
receptionRegValidationSig
)
if
u
.
receptionRegValidationSig
!=
nil
{
jww
.
FATAL
.
Panicf
(
"cannot overwrite existing reception Identity Validation Signature"
)
}
...
...
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