Android security implementation Phase 3.1
This commit is contained in:
@@ -73,12 +73,16 @@ test('Android OpenPGP uses the encrypted vault and queues only built MIME data',
|
||||
assert.match(plugin, /fun pgpLoadStore/);
|
||||
assert.match(plugin, /fun pgpSaveStore/);
|
||||
assert.match(plugin, /fun pgpGetMessageSource/);
|
||||
assert.match(plugin, /pgpStoreChangeWarning/);
|
||||
assert.match(plugin, /plaintextSendWarning/);
|
||||
assert.match(plugin, /Send plaintext/);
|
||||
assert.match(androidPgp, /curve25519Legacy/);
|
||||
assert.match(androidPgp, /multipart\/encrypted/);
|
||||
assert.match(androidPgp, /MAX_MESSAGE_BYTES = 25 \* 1024 \* 1024/);
|
||||
assert.match(androidBridge, /buildOutgoing\(message\)/);
|
||||
assert.match(androidBridge, /rawBase64, envelope: \{ from, to \}, text: '', attachments: \[\]/);
|
||||
assert.match(androidMailService, /Only an OpenPGP MIME message can use the encrypted send path/);
|
||||
assert.match(androidMailService, /validateOpenPgpMime\(message\)/);
|
||||
assert.match(androidMailService, /private fun validateOpenPgpMime/);
|
||||
assert.match(androidMailService, /"send" -> send\(account, data\)/);
|
||||
assert.match(androidMailService, /private fun isEncryptedMessage/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user