<div>Thanks, Robin. </div><div><br></div><div>I have checked master and it works pretty fine with the same set of files. </div><div>The only file that fails to be decrypted correctly is my phone bootblock. </div><div> It has trailing zeros that is uncommon for binaries.</div>
<div><br></div><div>---</div><div>Victor Dubiniuk</div><br><div class="gmail_quote">On Sat, Jun 16, 2012 at 12:52 AM, Robin Appelman <span dir="ltr"><<a href="mailto:icewind@owncloud.com" target="_blank">icewind@owncloud.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I updated encryption in master to successfully encrypt/decrypt the binary test<br>
file, can someone test these changes with a file that previously failed.<br>
<br>
- Robin Appelman<br>
<div class="im"><br>
On Friday 15 June 2012 23:41:39 you wrote:<br>
> Hello Robin,<br>
><br>
> I caught it for an ordinary exe file but I have no access to that system<br>
> atm.<br>
><br>
> Such file can be produced with<br>
</div>> *dd if=/dev/urandom of=testfile count=10 && dd if=/dev/zero<br>
<div class="im">> of=testfile2 count=9 && cat testfile2 >> testfile && echo 12345 >> testfile<br>
</div>> && rm testfile2*<br>
<div class="HOEnZb"><div class="h5">><br>
> The result is attached. It is actually a random binary sequence with 0x00<br>
> at the end of any 8KB block except the last one.<br>
><br>
> Another test case can use any file (plain text is fine) with length that<br>
> is not divided evenly by 8.<br>
><br>
><br>
> ---<br>
> Victor Dubiniuk<br>
><br>
> On Fri, Jun 15, 2012 at 5:20 PM, Robin Appelman <<a href="mailto:icewind@owncloud.com">icewind@owncloud.com</a>>wrote:<br>
> > On Friday 15 June 2012 02:29:48 Victor Dubiniuk wrote:<br>
> ><br>
> > Does anyone have some small files that get corrupted during encryption for<br>
> > use<br>
> > in a unit test, they don't actually have to be a valid .exe or anything.<br>
> ><br>
> > - Robin Appelman<br>
> ><br>
> > _______________________________________________<br>
> > Owncloud mailing list<br>
> > <a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
<br>
</div></div></blockquote></div><br>