[Owncloud] help needed with encryption and corruped files
Victor Dubiniuk
victor.dubiniuk at gmail.com
Fri Jun 15 20:41:39 UTC 2012
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120615/0c3b8419/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testfile
Type: application/octet-stream
Size: 9734 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120615/0c3b8419/attachment.obj>
More information about the Owncloud
mailing list