-
After git clone and run setup.py successfully, I tried this command python3 cli.py cert --config-dir . --work-dir . --logs-dir . -e clxxxxx@icloud.com --contact panxxx@xxxxxx --usage digitalSignature --usage keyEncipherment Then I got this error: An unexpected error occurred: And.. tail /tmp/tmphkn09j3p/log File "/home/tempuser/acme/acme_email/certbot_castle/plugins/imap.py", line 22, in Already install pkcs7 with this command "pip3 install pkcs7" still got the same error. Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I just found that I'm not the first one running into this issue - see also #14. I know very little about Python, but looks like the issue is due to a version incompatibility with https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/ BTW, that page contains a nice warning:
|
Beta Was this translation helpful? Give feedback.
-
@polhenarejos, for some reason
since on my Debian 10 system, version 2.8 was installed, and this does not include pkcs7 support. After manually installing |
Beta Was this translation helpful? Give feedback.
-
I was not aware of this discussion. It is preferable to open an issue for bugs/errors. It is really strange your pip installed a 4 years old version. Probably it was a system installation done some years ago. BTW, I uploaded the |
Beta Was this translation helpful? Give feedback.
@polhenarejos, for some reason
setup.py
script does not get the version of thecryptography
module right.I got:
since on my Debian 10 system, version 2.8 was installed, and this does not include pkcs7 support.
According to https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst it was added in version 3.0 and extended in…