Support for xlsx encyption

Issue #975 new
Steven Zimmerman
created an issue

Hi, I know this is not a high priority project, but the xlsx file format has support built in for encrypting documents as part of the workbook protection feature, which it is my understanding that openpyxl does not currently support.

I feel that this would be a useful feature to support, and wanted to put it on your radar by creating an enhancement request for it.

It is my understanding that LibreOffice Calc contains support for this feature, as does Microsoft Excel.

If there's anything I can do to help get this feature working, please let me know.

Comments (1)

  1. CharlieC

    Protection is not the same as encryption. Workbook and worksheet protection is supported but only with the default XOR hashing of the password. Other hashing schemes are possible but are all pretty pointless because the elements are plaintext and easily removed by libraries like openpyxl. I recently improved the support for existing schemes.

    Encryption is whole different kettle of fish and would have to be paid for.

  2. Log in to comment