[Owncloud] help needed with encryption and corruped files
Robin Appelman
icewind at owncloud.com
Fri Jun 15 21:52:41 UTC 2012
Hi,
I updated encryption in master to successfully encrypt/decrypt the binary test
file, can someone test these changes with a file that previously failed.
- Robin Appelman
On Friday 15 June 2012 23:41:39 you wrote:
> Hello Robin,
>
> I caught it for an ordinary exe file but I have no access to that system
> atm.
>
> Such file can be produced with
> *dd if=/dev/urandom of=testfile count=10 && dd if=/dev/zero
> of=testfile2 count=9 && cat testfile2 >> testfile && echo 12345 >> testfile
> && rm testfile2*
>
> The result is attached. It is actually a random binary sequence with 0x00
> at the end of any 8KB block except the last one.
>
> Another test case can use any file (plain text is fine) with length that
> is not divided evenly by 8.
>
>
> ---
> Victor Dubiniuk
>
> On Fri, Jun 15, 2012 at 5:20 PM, Robin Appelman <icewind at owncloud.com>wrote:
> > On Friday 15 June 2012 02:29:48 Victor Dubiniuk wrote:
> >
> > Does anyone have some small files that get corrupted during encryption for
> > use
> > in a unit test, they don't actually have to be a valid .exe or anything.
> >
> > - Robin Appelman
> >
> > _______________________________________________
> > Owncloud mailing list
> > Owncloud at kde.org
> > https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list