revert back to 16 byte IVs for omemo since ChatSecure doesn’t support 12 byte
This commit is contained in:
parent
9048075aaa
commit
4f12cf06ed
|
@ -105,7 +105,7 @@ public class HttpUploadConnection implements Transferable {
|
|||
if (Config.ENCRYPT_ON_HTTP_UPLOADED
|
||||
|| message.getEncryption() == Message.ENCRYPTION_AXOLOTL
|
||||
|| message.getEncryption() == Message.ENCRYPTION_OTR) {
|
||||
this.key = new byte[44];
|
||||
this.key = new byte[48];
|
||||
mXmppConnectionService.getRNG().nextBytes(this.key);
|
||||
this.file.setKeyAndIv(this.key);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue