https://bz.apache.org/bugzilla/show_bug.cgi?id=66115

            Bug ID: 66115
           Summary: Some Password protected XLS files are not read
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 38314
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38314&action=edit
The file causing the issue, password is adeptia

I have found an issue with HSSF and BIFF8 component to read password protected
xls files. The issue is similar to the following issue id:
https://bz.apache.org/bugzilla/show_bug.cgi?id=51815

I have gone through the issue and can confirm that i have the exact same error.
However, I cannot see if the issue was fixed or not or any workaround.
I created a dummy xls file following some atypical steps mentioned below:

1. Right click anywhere on desktop.
2. Go to new-> XLSX document 
3. Open the XLSX document in WPS Office.
4. Add any data in the document.
5. Save the file in xls format via WPS Office
6. Add password protection to the file ( any password ).
7. Try to load the file in HSSFWorkBook after setting password in
BIFF8EncryptionKey


I have created many files by following above steps, and I am only able to
replicate the issue with few files. So, few of the files created with the exact
same steps works fine however, few of the files do not.
I have attached the file with which I am able to replicate the issue.

We are using POI version 4.1.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to