Open
Bug 1903388
Opened 4 months ago
Updated 4 months ago
Write additional tests for the encryption and decryption mechanism
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
NEW
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-device-migration])
From djackson:
Suggestions for additional tests:
- Detecting truncation attacks. Generate an archive and remove the last block. Check that the Decryptor correctly rejects it.
- Swap the last block and the second to last block. Check that decryption fails.
- Start at the second block and check that decryption fails.
- Authenticity Checks - Generate an archive and mutate the various parameters in the archive (e.g. the metadata, the wrapped key, etc). Verify that Decryption fails in each case.
- Check that an empty archive fails to decrypt.
- Check that an unexpected version is gracefully handled
Updated•4 months ago
|
Reporter | ||
Updated•4 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•