Closed GoogleCodeExporter closed 8 years ago
Could you try the latest code available via SVN? I'll have to do a relase
(download zip), but as I'm still thinking, if I should "mavenize" the project,
did not do it.
Regards,
Olaf
Original comment by olaf.merkert
on 26 Jul 2010 at 7:21
[deleted comment]
With the code of trunk it seems to work.
Could you please also think to close the inputStream in add method because or
manage the close of inputStream for add(File,...) method
I would like to know wich encrypter do I have to use ? AesZipFileEncrypter or
AesZipFileEncrypterNew ?
best regards
Original comment by jean.fra...@gmail.com
on 27 Jul 2010 at 12:35
1. AesZipFileEncrypterNew is removed now (missing "cleanup", after updating
AesZipFileEncrypter with the "in-memory" code provided by jean-luc)
2. regarding the close(): I've added the close statements, thanks for the input
Original comment by olaf.merkert
on 28 Jul 2010 at 8:31
Hello Olaf,
I am using latest version of code (2010-11-28) and when I try to encrypt ZIP
file I get this error message:
"wrong local file header signature - value=00 00 00 00"
I have tried with AesZipFileEncrypter.zipAndEncryptAll(new
File(destinationFile), new File(destinationFile + ".test"), pwd);
AesZipFileEncrypter encrypt = new AesZipFileEncrypter(destinationFile);
encrypt.addAll(new File(sourceFile), pwd);
But I always get that error message. I guess that there is something wrong with
my ZIP files that I create as normal ZIP files. How should I create ZIP file to
be able to encrypt it?
Thank you in advance.
Original comment by amirs...@gmail.com
on 6 Jan 2011 at 10:05
Hello,
can you provide (attach) the (un-encrypted) zip file you created? Did you use
java.util.zip to create the file?
Regards,
Olaf
Original comment by olaf.merkert
on 7 Jan 2011 at 11:44
Hello,
Yes, I have used Java.utility.zip to create ZIP file. Is there other way and if
there is another way to create ZIP file, please, can you show me?
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 3:53
Can you attach the file you created to the issue? Did you try to let winzipaes
do the zipping by using one of the add methods?
Original comment by olaf.merkert
on 7 Jan 2011 at 4:04
Hello,
I tried to use add method and it works for smaller files. But few MB files
throw OutOfMemory exception. Then I tried addAll method with ZIP file that is
created with java.util.zip. What should I do?
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 6:47
Here is ZIP file but I ge the same results for other ZIP files created with
java.util.zip.
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 7:02
Attachments:
And I forgot to say that this is happening on the Android OS.
Original comment by amirs...@gmail.com
on 7 Jan 2011 at 8:04
created a new issue 29 - this is an android only problem
Original comment by olaf.merkert
on 8 Jan 2011 at 9:33
Original issue reported on code.google.com by
jean.fra...@gmail.com
on 26 Jul 2010 at 3:52Attachments: