pyas2-lib
pyas2-lib copied to clipboard
error oscrypto/_openssl/asymmetric.py in load_pkcs12 loading crt file
there is a bug in how the asymmetric loads the certificate, it s expecting a file not a bytes stream,
self.send_to_apple(tstr, company_id, 'response_867')
File "/home/osvaldo/odoos/odoo13/extra-addons_tmp/cliente_oneclick/clientes/apple_EDI_AS2_reports/models/models.py", line 62, in send_to_apple
my_org = Organization(
File "
Hello @osvaldo35
It seems that you passed a string object which it seems in oscrypto will be used to open files. When using bytes, it will use bytes... (at least that is what I can see from the source code).
Can this ticket be closed ?