question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cryptography import asn1crypto(asn1crypto>=0.21.0),but asn1crypto has a bug fixed and has not new release

See original GitHub issue

in 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:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wbondcommented, Sep 25, 2017

Version 0.23.0 was released last Friday.

1reaction
wbondcommented, Sep 15, 2017

Should be a new release soon due to all of the major outstanding issues being resolved

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found