dnsrobocert
dnsrobocert copied to clipboard
Deprecation Warning seen in logs when exporting pfx of certificate
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
Thanks, I will provide a fix to avoid the soon-to-be removal.