Security review and fix issues
This commit is contained in:
@@ -150,6 +150,8 @@ test('Android OpenPGP uses the encrypted vault and queues only built MIME data',
|
||||
assert.match(plugin, /fun pgpGetMessageSource/);
|
||||
assert.match(plugin, /pgpStoreChangeWarning/);
|
||||
assert.match(plugin, /plaintextSendWarning/);
|
||||
assert.match(plugin, /AndroidPgpPolicy\.unverifiedRawMimeWarning\(\)/);
|
||||
assert.match(plugin, /title = if \(rawMime\) "Send unverified MIME\?"/);
|
||||
assert.match(plugin, /Send plaintext/);
|
||||
assert.match(plugin, /showPgpConfirmation\(/);
|
||||
assert.match(plugin, /onCancelled = \{ call\.reject\("OpenPGP key change cancelled\."\) \}/);
|
||||
@@ -158,7 +160,9 @@ test('Android OpenPGP uses the encrypted vault and queues only built MIME data',
|
||||
assert.match(androidPgpConfirmationGate, /compareAndSet\(false, true\)/);
|
||||
assert.match(androidPgpPolicy, /fun storeChangeWarning/);
|
||||
assert.match(androidPgpPolicy, /fun plaintextSendWarning/);
|
||||
assert.match(androidPgpPolicy, /fun unverifiedRawMimeWarning/);
|
||||
assert.match(androidPgp, /curve25519Legacy/);
|
||||
assert.match(androidPgp, /These recipient keys have not been verified by fingerprint/);
|
||||
assert.match(androidPgp, /multipart\/encrypted/);
|
||||
assert.match(androidPgp, /MAX_MESSAGE_BYTES = 25 \* 1024 \* 1024/);
|
||||
assert.match(androidPgp, /async function verifyMessage/);
|
||||
|
||||
Reference in New Issue
Block a user