Skip to content
Snippets Groups Projects
Commit dbb915f6 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

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!23Release
...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment