Zip64 support

2011-07-20 Thread Chris Bamford
Hi there,

What is the status of Zip64 support?

Thanks

- Chris


Chris Bamford
Software Engineer

2 - 8 Balfe Street
Kings Cross,
London, N1 9EG

mobile +44 7860 405292
tel: +44 (0) 207 843 2300
web www.mimecast.com


The information contained in this communication from cbamf...@mimecast.com is 
confidential and may be legally privileged. It is intended solely for use by 
user@commons.apache.org and others authorized to receive it. If you are not 
user@commons.apache.org you are hereby notified that any disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company 
number 4698693 VAT No. GB 832 5179 29
Registered Office:2 - 8 Balfe Street, Kings Cross London, N1 9EG Email Address: 
i...@mimecast.com

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based 
platform.
For more information please visit http://www.mimecast.com

Re: Zip64 support

2011-07-20 Thread Chris Bamford
Thanks.  I will look at Java 7.

Chris

On 20 Jul 2011, at 14:24, Stefan Bodewig wrote:

> On 2011-07-20, Jörg Schaible wrote:
> 
>> Stefan Bodewig wrote:
> 
>>> On 2011-07-20, Chris Bamford wrote:
> 
>>>> Can someone please tell me the status of Zip64 support in
>>>> commons:compress?
> 
>>> No support at all, sorry.
> 
>>>> I read that it was supposed to go into 1.1, but I don't know how to tell.
> 
>>> The people (myself included) who thought they might find time to do it
>>> ran out of steam and available time prior to the release and so far
>>> nobody has stepped up and provided patches to add support.
> 
>>> <https://issues.apache.org/jira/browse/COMPRESS-36> is used to track
>>> (the lack of) progress.
> 
>>> I wish I had a more positive answer
> 
>> At least Java 7 will support it:
>> http://blogs.oracle.com/xuemingshen/entry/zip64_support_for_4g_zipfile
> 
> Interesting.
> 
> I think many of the reasons that made the Ant team develop the original
> ZIP package in 2001 (permissions, file name encoding and much more) may
> finally be addressed by NIO2 and some of them even in java.util.zip
> directly.
> 
> And now we have some catching up to do, maybe we can do that in less
> than 10 years 8-)
> 
> Stefan
> 
> -----
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
> 
> 


Chris Bamford
Software Engineer

2 - 8 Balfe Street
Kings Cross,
London, N1 9EG

mobile +44 7860 405292
tel: +44 (0) 207 843 2300
web www.mimecast.com


The information contained in this communication from cbamf...@mimecast.com is 
confidential and may be legally privileged. It is intended solely for use by 
user@commons.apache.org and others authorized to receive it. If you are not 
user@commons.apache.org you are hereby notified that any disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company 
number 4698693 VAT No. GB 832 5179 29
Registered Office:2 - 8 Balfe Street, Kings Cross London, N1 9EG Email Address: 
i...@mimecast.com

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based 
platform.
For more information please visit http://www.mimecast.com

Zip64 support

2011-07-20 Thread Chris Bamford
Hi,

Can someone please tell me the status of Zip64 support in commons:compress?
I read that it was supposed to go into 1.1, but I don't know how to tell.

Thanks

- Chris


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: compress - 3 questions about encryption

2010-09-17 Thread Chris Bamford
Thanks Stefan

On 17 Sep 2010, at 13:58, Stefan Bodewig wrote:

> entry.getGeneralPurposeBit().usesEncryption()


Chris Bamford


2 - 8 Balfe Street
Kings Cross,
London, N1 9EG

mobile 
tel: +44 (0) 207 843 2300
web www.mimecast.com


The information contained in this communication from cbamf...@mimecast.com is 
confidential and may be legally privileged. It is intended solely for use by 
user@commons.apache.org and others authorized to receive it. If you are not 
user@commons.apache.org you are hereby notified that any disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company 
number 4698693 VAT No. GB 832 5179 29
Registered Office: 17 Heathman’s Road London, England, SW6 4TJ Email Address: 
i...@mimecast.com

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based 
platform.
For more information please visit http://www.mimecast.com

compress - 3 questions about encryption

2010-09-17 Thread Chris Bamford
Hi,

I hope someone can advise me.
I am developing Java code to handle archives using commons compress and am 
currently focusing on ZIP files.  I understand that ZIPs can be encrypted in 
two ways:

   (a) the contained entries can be plain text or encrypted
   (b) the whole ZIP itself can be encrypted

QUESTION 1:  Is this correct?  
If so, I need to be able to detect both.  So far I only know how to handle (a), 
by using this method:

public boolean checkZipEntryIsEncrypted(ZipArchiveEntry entry) {
boolean encrypted = false;

// Check if zip file is encrypted
if (zfile != null) {
if (! zfile.canReadEntryData(entry)) {
encrypted = true;
}
}

return encrypted;
}

QUESTION 2: is this the right way to detect encrypted entries?

QUESTION 3: what is the right way to detect that the ZIP itself is encrypted?

Thanks,

- Chris


Chris Bamford


2 - 8 Balfe Street
Kings Cross,
London, N1 9EG

mobile 
tel: +44 (0) 207 843 2300
web www.mimecast.com


The information contained in this communication from cbamf...@mimecast.com is 
confidential and may be legally privileged. It is intended solely for use by 
user@commons.apache.org and others authorized to receive it. If you are not 
user@commons.apache.org you are hereby notified that any disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company 
number 4698693 VAT No. GB 832 5179 29
Registered Office: 17 Heathman’s Road London, England, SW6 4TJ Email Address: 
i...@mimecast.com

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based 
platform.
For more information please visit http://www.mimecast.com