#3594 closed defect (fixed)

Add a direct test for the streaming behavior of EncryptAnUploadable.read_encrypted

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:


EncryptAnUploadable? should (and does) encrypt the uploadable as a stream of data. If the underlying encryption protocol has a block size (and it does, AES128 has a block size of 16 bytes) then this has no bearing on the results of read_encrypted.

Put another way, reading 16 bytes should produce the same string as reading 8 bytes twice and concatenating them.

Change History (1)

comment:1 Changed at 2021-01-25T14:14:41Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In e5f0dcf/trunk:

Merge pull request #971 from LeastAuthority?/3594.read_encrypted-test

Directly test read_encrypted behavior and remove a fireEventually from its implementation

Fixes: ticket:3594
Fixes: ticket:3595

Note: See TracTickets for help on using tickets.