Skip to content
Snippets Groups Projects
Commit 31c6ac5f authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Don't print private key to log

parent daca6a59
No related branches found
No related tags found
3 merge requests!510Release,!226WIP: Api2.0,!207WIP: Client Restructure
...@@ -11,6 +11,8 @@ import ( ...@@ -11,6 +11,8 @@ import (
"encoding/base64" "encoding/base64"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"sync"
"github.com/cloudflare/circl/dh/sidh" "github.com/cloudflare/circl/dh/sidh"
"github.com/pkg/errors" "github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
...@@ -20,7 +22,6 @@ import ( ...@@ -20,7 +22,6 @@ import (
"gitlab.com/elixxir/primitives/format" "gitlab.com/elixxir/primitives/format"
"gitlab.com/xx_network/primitives/id" "gitlab.com/xx_network/primitives/id"
"gitlab.com/xx_network/primitives/netTime" "gitlab.com/xx_network/primitives/netTime"
"sync"
) )
const currentSentRequestVersion = 0 const currentSentRequestVersion = 0
...@@ -128,8 +129,8 @@ func loadSentRequest(kv *versioned.KV, partner *id.ID, grp *cyclic.Group) (*Sent ...@@ -128,8 +129,8 @@ func loadSentRequest(kv *versioned.KV, partner *id.ID, grp *cyclic.Group) (*Sent
hex.EncodeToString(partner[:])) hex.EncodeToString(partner[:]))
jww.INFO.Printf("loadSentRequest historicalPubKey: %s", jww.INFO.Printf("loadSentRequest historicalPubKey: %s",
hex.EncodeToString(historicalPubKey.Bytes())) hex.EncodeToString(historicalPubKey.Bytes()))
jww.INFO.Printf("loadSentRequest myPrivKey: %s", // jww.INFO.Printf("loadSentRequest myPrivKey: %s",
hex.EncodeToString(myPrivKey.Bytes())) // hex.EncodeToString(myPrivKey.Bytes()))
jww.INFO.Printf("loadSentRequest myPubKey: %s", jww.INFO.Printf("loadSentRequest myPubKey: %s",
hex.EncodeToString(myPubKey.Bytes())) hex.EncodeToString(myPubKey.Bytes()))
jww.INFO.Printf("loadSentRequest fingerprint: %s", jww.INFO.Printf("loadSentRequest fingerprint: %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment