Stickers
Co-authored-by: scott@signal.org Co-authored-by: ken@signal.org
This commit is contained in:
parent
8c8856785b
commit
29de50c12a
100 changed files with 7572 additions and 693 deletions
|
@ -90,10 +90,11 @@
|
|||
|
||||
return verifyMAC(ivAndCiphertext, macKey, mac, 32)
|
||||
.then(() => {
|
||||
if (!theirDigest) {
|
||||
throw new Error('Failure: Ask sender to update Signal and resend.');
|
||||
if (theirDigest) {
|
||||
return verifyDigest(encryptedBin, theirDigest);
|
||||
}
|
||||
return verifyDigest(encryptedBin, theirDigest);
|
||||
|
||||
return null;
|
||||
})
|
||||
.then(() => decrypt(aesKey, ciphertext, iv));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue