Skip to content
Snippets Groups Projects
Commit 33f07f78 authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Merge branch 'XX-4101/qrCodePanic' into 'master'

XX-4101 / QR Code Panic Fix

See merge request !357
parents 2a7dfec6 82eba790
No related branches found
No related tags found
2 merge requests!510Release,!357XX-4101 / QR Code Panic Fix
...@@ -137,6 +137,11 @@ func requestAuth(partner, me contact.Contact, rng io.Reader, reset bool, ...@@ -137,6 +137,11 @@ func requestAuth(partner, me contact.Contact, rng io.Reader, reset bool,
sender := storage.GetUser().ReceptionID sender := storage.GetUser().ReceptionID
//generate ownership proof //generate ownership proof
if !dhGrp.Inside(partner.DhPubKey.GetLargeInt()) {
return 0, errors.Errorf("partner's DH public key is not in the E2E "+
"group; E2E group fingerprint is %d and DH key has %d",
dhGrp.GetFingerprint(), partner.DhPubKey.GetGroupFingerprint())
}
ownership := cAuth.MakeOwnershipProof(originDHPrivKey, partner.DhPubKey, ownership := cAuth.MakeOwnershipProof(originDHPrivKey, partner.DhPubKey,
dhGrp) dhGrp)
confirmFp := cAuth.MakeOwnershipProofFP(ownership) confirmFp := cAuth.MakeOwnershipProofFP(ownership)
......
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