[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3594: Add a direct test for the streaming behavior of EncryptAnUploadable.read_encrypted
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Jan 20 16:01:56 UTC 2021
#3594: Add a direct test for the streaming behavior of
EncryptAnUploadable.read_encrypted
---------------------+---------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | 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.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3594>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list