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
dbb915f6
Commit
dbb915f6
authored
3 years ago
by
Benjamin Wenger
Browse files
Options
Downloads
Plain Diff
Merge branch 'ImpovedNewClientLogging' into 'release'
added better logging on newClient call See merge request
!644
parents
9961c1fc
bd2cfd22
No related branches found
No related tags found
1 merge request
!23
Release
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/client.go
+1
-1
1 addition, 1 deletion
api/client.go
with
1 addition
and
1 deletion
api/client.go
+
1
−
1
View file @
dbb915f6
...
@@ -78,7 +78,7 @@ type Client struct {
...
@@ -78,7 +78,7 @@ type Client struct {
// merely creates a new cryptographic identity for adding such information
// merely creates a new cryptographic identity for adding such information
// at a later date.
// at a later date.
func
NewClient
(
ndfJSON
,
storageDir
string
,
password
[]
byte
,
registrationCode
string
)
error
{
func
NewClient
(
ndfJSON
,
storageDir
string
,
password
[]
byte
,
registrationCode
string
)
error
{
jww
.
INFO
.
Printf
(
"NewClient(
)"
)
jww
.
INFO
.
Printf
(
"NewClient(
dir: %s)"
,
storageDir
)
// Use fastRNG for RNG ops (AES fortuna based RNG using system RNG)
// Use fastRNG for RNG ops (AES fortuna based RNG using system RNG)
rngStreamGen
:=
fastRNG
.
NewStreamGenerator
(
12
,
3
,
csprng
.
NewSystemRNG
)
rngStreamGen
:=
fastRNG
.
NewStreamGenerator
(
12
,
3
,
csprng
.
NewSystemRNG
)
rngStream
:=
rngStreamGen
.
GetStream
()
rngStream
:=
rngStreamGen
.
GetStream
()
...
...
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