Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add encryption and compression settings for all entries #79

Closed
oleg-cherednik opened this issue Jan 10, 2024 · 0 comments
Closed

Add encryption and compression settings for all entries #79

oleg-cherednik opened this issue Jan 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request resolved Issue is resolved v1.11

Comments

@oleg-cherednik
Copy link
Owner

Usually we set one encryption and compression settings for all entires. So we should provide this settings directly in ZipSettings:

ZipSettings settings = ZipSettings.builder()
                                  .encryption(Encryption.AES_256, password)
                                  .compression(Compression.DEFLATE, CompressionLevel.NORMAL)
                                  .build();

Additionally, we should not allow set a password to ZipEntrySettings without providing encryption algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resolved Issue is resolved v1.11
Projects
None yet
Development

No branches or pull requests

1 participant