Skip to content
Snippets Groups Projects
Commit f908171f authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[FIX] l10n_es_edi_sii: certificate problems with newer libraries

In urllib3 1.25, an _is_key_file_encrypted method was added
where urllib3 checks if the keyfile is encrypted or not, but
urllib3 uses filenames, while we want to use the contents of cert.
So, in our case, this gave a traceback because it could not open
the file.

The final simple solution for now is to keep keyfile empty as
we store our info in certfile anyways already.

Part-of: odoo/odoo#81902
parent 8b9ff034
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment