Skip to content
Snippets Groups Projects
Commit 5661da4a authored by Josh Brooks's avatar Josh Brooks
Browse files

Add network registration debug

parent 465e5214
No related branches found
No related tags found
2 merge requests!510Release,!333Frond End Assistance And Iterative Clean Up
This commit is part of merge request !333. Comments created here will be created in the context of that merge request.
......@@ -8,8 +8,10 @@
package registration
import (
"encoding/base64"
"github.com/golang/protobuf/proto"
"github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
pb "gitlab.com/elixxir/comms/mixmessages"
"gitlab.com/elixxir/crypto/registration"
"gitlab.com/xx_network/comms/connect"
......@@ -81,6 +83,13 @@ func register(comms registrationMessageSender, host *connect.Host,
"transmission confirmation message")
}
jww.WARN.Printf("UD DEBUG: IN NETWORK REGISTER:"+
"\ntimestamp: %d"+
"\nrsa pub key PEM: %s"+
"\nperm sig: %s",
receptionConfirmation.Timestamp, receptionPem, base64.StdEncoding.EncodeToString(receptionSignature),
)
// Verify transmission signature
transmissionSignature := response.GetClientTransmissionConfirmation().
GetRegistrarSignature().Signature
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment