dnsrobocert icon indicating copy to clipboard operation
dnsrobocert copied to clipboard

Deprecation Warning seen in logs when exporting pfx of certificate

Open opoverlord opened this issue 3 years ago • 1 comments

On normal run of the process, the certificate does get renewed, and at the moment, it is still being exported as pfx successfully. However, please see the warning found in the logs:

Hook 'deploy-hook' ran with error output:
 /usr/local/lib/python3.9/site-packages/dnsrobocert/core/hooks.py:162: DeprecationWarning: str for passphrase is no longer accepted, use bytes
   f.write(p12.export(pfx.get("passphrase")))

Refers to this line in hooks.py.

I'm using the latest image - created on: 2021-11-18T19:32:55.433255547Z

Thanks

opoverlord avatar Jan 03 '22 00:01 opoverlord

Thanks, I will provide a fix to avoid the soon-to-be removal.

adferrand avatar Jan 09 '22 12:01 adferrand