woahdae/simple_xlsx_reader

No way to open a XLSX locked by password

mariosil opened this issue · 4 comments

Hi, I just wondering if there is a way to open a xlsx spreadsheet which is locked by password.
I even have the password to open that file but I can't find a method in this gem that I could use to open the file.
Something like: SimpleXlsxReader.open(xlsx_filename, password)

There is something to workaround this use case.

Uhh, anyway thanks for answer

Any new thoughts on this?
I have the same issue.

I don't have a need for this, but I would welcome a contribution to reading password protected files.

Here's an NPM project that appears to have implemented password protected XLSX sheets, you could see how they do it.

Here's the wikipedia page for the feature, although it mostly provides broad background rather than implementation details.

If you could find a command line way to decrypt the files, you could use that first, then this gem. I couldn't find any with a quick googling, but I didn't try very hard.