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

added better logging on newClient call

parent 4c1becaf
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