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

Add more debugs

parent 9b9e521e
No related branches found
No related tags found
2 merge requests!510Release,!333Frond End Assistance And Iterative Clean Up
package bindings
......@@ -3,6 +3,7 @@ package ud
import (
"fmt"
"github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
pb "gitlab.com/elixxir/comms/mixmessages"
"gitlab.com/elixxir/crypto/diffieHellman"
"gitlab.com/elixxir/crypto/factID"
......@@ -46,6 +47,14 @@ func (m *Manager) register(username string, networkSignature []byte,
Timestamp: m.user.GetTransmissionIdentity().RegistrationTimestamp,
}
jww.WARN.Printf("UD DEBUG:"+
"\npermSig: %s"+
"\nrsaPubKey: %s"+
"\ntimestamp: %v",
networkSignature,
string(rsa.CreatePublicKeyPem(privKey.GetPublic())),
m.user.GetTransmissionIdentity().RegistrationTimestamp)
// Sign the identity data and add to user registration message
identityDigest := msg.IdentityRegistration.Digest()
msg.IdentitySignature, err = rsa.Sign(rng, privKey,
......
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