1

Closed

Setting EncryptionAlgorithm.None after setting password results in an encrypted zip

description

This applies to ZipOutputStream.
 
using this code ordering:
 
zos.Password = "verySecret!";
zos.Encryption = EncryptionAlgorithm.None;
 
... incorrectly results in an encrypted archive, while using the reverse ordering correctly results in an unencrypted archive.
Closed Jul 11, 2011 at 7:15 PM by Cheeso
fixed in changset 80552. The first binary with this fix will be v1.9.1.6.

comments