You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file .../site-packages/msoffcrypto/format/xls97.py:
class Xls97File has a problem in "decrypt" function.
Sometimes it fails on "if self.type ==" when self has NO "type" attribute...
A nasty workaround is to try it within Try catch, before real evaluation and return if it fails, but it would be nice to prevent it in code which populates the type...
Thx
The text was updated successfully, but these errors were encountered:
Thank you for reporting!
Now msoffcrypto.exceptions.DecryptionError is raised for that (in master, not yet released.) (e6f1a34#diff-d56dcacb58a9b50a4ea6d4e6dda0e5e4907bc8071795b15ca9f9472a93035158R589)
Note that msoffcrypto supports only RC4 and RC4 CryptoAPI encryptions for xls. Let me know if you're working on something else.
Hello,
The file .../site-packages/msoffcrypto/format/xls97.py:
class Xls97File has a problem in "decrypt" function.
Sometimes it fails on "if self.type ==" when self has NO "type" attribute...
A nasty workaround is to try it within Try catch, before real evaluation and return if it fails, but it would be nice to prevent it in code which populates the type...
Thx
The text was updated successfully, but these errors were encountered: