From dcf3bf16098eab39800eebe18051356b42537997 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Wed, 11 Nov 2020 17:21:07 -0800 Subject: [PATCH] fixed confirm encypting the wrong payload --- auth/confirm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/confirm.go b/auth/confirm.go index 57b230e17..d6444dc30 100644 --- a/auth/confirm.go +++ b/auth/confirm.go @@ -79,7 +79,7 @@ func ConfirmRequestAuth(partner contact.Contact, rng io.Reader, //encrypt the payload ecrPayload, mac := cAuth.Encrypt(newPrivKey, partner.DhPubKey, - salt, ecrFmt.payload, grp) + salt, ecrFmt.data, grp) //get the fingerprint from the old ownership proof fp := cAuth.MakeOwnershipProofFP(storedContact.OwnershipProof) -- GitLab