Cleanup attachment attributes
Convert attachment ids from longs to strings, and byte buffers to arrays. // FREEBIE
This commit is contained in:
parent
6a8d0d1919
commit
a256f17e19
3 changed files with 18 additions and 10 deletions
|
@ -73,7 +73,7 @@
|
|||
var mac = encryptedBin.slice(encryptedBin.byteLength - 32, encryptedBin.byteLength);
|
||||
|
||||
return verifyMAC(ivAndCiphertext, mac_key, mac, 32).then(function() {
|
||||
if (theirDigest !== undefined) {
|
||||
if (theirDigest !== null) {
|
||||
return verifyDigest(encryptedBin, theirDigest);
|
||||
}
|
||||
}).then(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue