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
{{ message }}
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
I found exception 'Decryption password incorrect' from 'phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php'.
I checked on this problem line (1690) and I see the password was set to '_verifyPassword' function already (this password is a string, not php variable).
So, I tried to changed this password to other and test run my service again, and it's passed.
But I don't sure should I overwrite this function (_verifyPassword) in first parameter from string (default password) to variable and make some public function to set password for this variable?
Thank's
The text was updated successfully, but these errors were encountered:
That's MS Excel's standard built-in password when you do a simple encryption.... I haven't a clue how you'd encrypt/decrypt with a user-defined password.... did it successfully decrypt a file encrypted with your own password?
Same issue for me. I went to the file/line he pointed out and replaced the string with the password and it unlocked. Why is this a hardcoded string and not a variable we can change?
Hello everyone. I could find a solution of this issue.
A simple modification in the main Class "Excel5" and then, you can pass the password used to encrypt the file.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I found exception 'Decryption password incorrect' from 'phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php'.
I checked on this problem line (1690) and I see the password was set to '_verifyPassword' function already (this password is a string, not php variable).
So, I tried to changed this password to other and test run my service again, and it's passed.
But I don't sure should I overwrite this function (_verifyPassword) in first parameter from string (default password) to variable and make some public function to set password for this variable?
Thank's
The text was updated successfully, but these errors were encountered: