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

Add more debug info

parent 1f6e3d8f
Branches
Tags
1 merge request!23Release
......@@ -119,8 +119,8 @@ func RequestAuth(partner, me contact.Contact, message string, rng io.Reader,
ownership := cAuth.MakeOwnershipProof(storage.E2e().GetDHPrivateKey(),
partner.DhPubKey, storage.E2e().GetGroup())
jww.TRACE.Printf("RequestAuth MYPUBKEY: %v", newPubKey.Bytes())
jww.TRACE.Printf("RequestAuth THEIRPUBKEY: %v", partner.DhPubKey.Bytes())
jww.INFO.Printf("RequestAuth MYPUBKEY: %v", newPubKey.Bytes())
jww.INFO.Printf("RequestAuth THEIRPUBKEY: %v", partner.DhPubKey.Bytes())
/*encrypt payload*/
requestFmt.SetID(storage.GetUser().ReceptionID)
......@@ -140,6 +140,10 @@ func RequestAuth(partner, me contact.Contact, message string, rng io.Reader,
cmixMsg.SetMac(mac)
cmixMsg.SetContents(baseFmt.Marshal())
jww.INFO.Printf("RequestAuth SALT: %v", salt)
jww.INFO.Printf("RequestAuth ECRPAYLOAD: %v", baseFmt.GetEcrPayload())
jww.INFO.Printf("RequestAuth MAC: %v", mac)
/*store state*/
//fixme: channel is bricked if the first store succedes but the second fails
//store the in progress auth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment