cryptography import asn1crypto(asn1crypto>=0.21.0),but asn1crypto has a bug fixed and has not new release
See original GitHub issuein file cryptography/src/cryptography/x509/extensions.py, import asn1crypto
from asn1crypto.keys import PublicKeyInfo
cryptography limit asn1crypto>=0.21.0,but the newest release version has bug fixed in: https://github.com/wbond/asn1crypto/commit/64ab19707acb644772a9ac3d94479fbe79b49365.
asn1crypto has not release the fixed commit.
so. when i use cryptography on Python 2, the unicode string here may raise a UnicodeDecodeError as it tries to join a bytestring path to the unicode name “crypto”
Please release a new version.
you can see here: https://github.com/pyca/cryptography/issues/3868#issuecomment-323349109
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
asn1crypto - PyPI
A fast, pure Python library for parsing and serializing ASN.1 structures. Features; Why Another Python ASN.1 Library? Related Crypto Libraries; Current Release ......
Read more >Install issue (minor): Missing pip dependency 'asn1crypto'
What is the current bug behavior? When installing on a minimal docker image (python:3.7), meltano install completes successfully but fails ...
Read more >Failed to install Python Cryptography package with PIP and ...
I had a similar issue, and found I was simply missing a dependency (libssl-dev, for me).
Read more >Why you should upgrade pip, and how to do it - Python⇒Speed
Learn the problem with using old pip, and how to upgrade pip to fix those problems.
Read more >[Fixed] ModuleNotFoundError: No module named 'asn1crypto'
The most frequent source of this error is that you haven't installed asn1crypto explicitly with pip install asn1crypto . Alternatively, you may have...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Version 0.23.0 was released last Friday.
Should be a new release soon due to all of the major outstanding issues being resolved