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 ability to open password protected sheets #87

Open
rnveach opened this issue Dec 4, 2024 · 1 comment
Open

Add ability to open password protected sheets #87

rnveach opened this issue Dec 4, 2024 · 1 comment

Comments

@rnveach
Copy link

rnveach commented Dec 4, 2024

A password protected ODS is throwing the following exception:

java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
	at java.base/java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:313)
	at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:125)
	at com.github.miachm.sods.Uncompressor.nextFile(Uncompressor.java:17)
	at com.github.miachm.sods.OdsReader.load(OdsReader.java:51)
	at com.github.miachm.sods.OdsReader.load(OdsReader.java:38)
	at com.github.miachm.sods.SpreadSheet.<init>(SpreadSheet.java:61)
	at com.github.miachm.sods.SpreadSheet.<init>(SpreadSheet.java:48)
	at Test.main(Test.java:15)

Duplicating the file with no password works without issue.

Code used is the same as BasicUsage in the readme.

Copy link

github-actions bot commented Dec 4, 2024

Thanks for your report! Please ensure you have provided enough info in order to recreate the issue, including the problematic ODS File.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant