[Owncloud] help needed with encryption and corruped files
Victor Dubiniuk
victor.dubiniuk at gmail.com
Mon Jun 18 18:01:07 UTC 2012
Thanks, Robin.
I have checked master and it works pretty fine with the same set of files.
The only file that fails to be decrypted correctly is my phone bootblock.
It has trailing zeros that is uncommon for binaries.
---
Victor Dubiniuk
On Sat, Jun 16, 2012 at 12:52 AM, Robin Appelman <icewind at owncloud.com>wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120618/72256b0a/attachment.html>
More information about the Owncloud
mailing list