Title: module 'cryptography.utils' has no attribute 'register_interface' · Issue #8 · memory/python-dpkg · GitHub
Open Graph Title: module 'cryptography.utils' has no attribute 'register_interface' · Issue #8 · memory/python-dpkg
X Title: module 'cryptography.utils' has no attribute 'register_interface' · Issue #8 · memory/python-dpkg
Description: Newest Version of pydpkg and cryptography throws an error: >>> import pydpkg Traceback (most recent call last): File "
Open Graph Description: Newest Version of pydpkg and cryptography throws an error: >>> import pydpkg Traceback (most recent call last): File "
X Description: Newest Version of pydpkg and cryptography throws an error: >>> import pydpkg Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lo...
Opengraph URL: https://github.com/memory/python-dpkg/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"module 'cryptography.utils' has no attribute 'register_interface'","articleBody":"Newest Version of pydpkg and cryptography throws an error:\r\n\r\n```\r\n>>> import pydpkg\r\nTraceback (most recent call last):\r\n File \"\u003cstdin>\", line 1, in \u003cmodule>\r\n File \"/usr/local/lib/python3.9/dist-packages/pydpkg/__init__.py\", line 6, in \u003cmodule>\r\n from pydpkg import dsc\r\n File \"/usr/local/lib/python3.9/dist-packages/pydpkg/dsc.py\", line 10, in \u003cmodule>\r\n import pgpy\r\n File \"/usr/local/lib/python3.9/dist-packages/pgpy/__init__.py\", line 4, in \u003cmodule>\r\n from .pgp import PGPKey\r\n File \"/usr/local/lib/python3.9/dist-packages/pgpy/pgp.py\", line 27, in \u003cmodule>\r\n from .constants import CompressionAlgorithm\r\n File \"/usr/local/lib/python3.9/dist-packages/pgpy/constants.py\", line 23, in \u003cmodule>\r\n from ._curves import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, X25519, Ed25519\r\n File \"/usr/local/lib/python3.9/dist-packages/pgpy/_curves.py\", line 37, in \u003cmodule>\r\n @utils.register_interface(ec.EllipticCurve)\r\nAttributeError: module 'cryptography.utils' has no attribute 'register_interface'\r\n```\r\n\r\nHere is the extract of pip list:\r\n```\r\n# pip list\r\nPackage Version\r\n---------------- --------------\r\narpy 2.3.0\r\nattrs 22.1.0\r\nbcrypt 4.0.0\r\ncertifi 2020.6.20\r\ncffi 1.15.1\r\nchardet 4.0.0\r\ncryptography 38.0.1\r\nftd2xx 1.3.1\r\nhttplib2 0.18.1\r\nidna 2.10\r\niniconfig 1.1.1\r\nnumpy 1.23.2\r\npackaging 21.3\r\nparamiko 2.11.0\r\nPGPy 0.5.4\r\npip 20.3.4\r\npluggy 1.0.0\r\npy 1.11.0\r\npyasn1 0.4.8\r\npycparser 2.21\r\npycurl 7.43.0.6\r\npydpkg 1.7.0\r\npyftdi 0.54.0\r\nPyNaCl 1.5.0\r\npyparsing 3.0.9\r\npyserial 3.5\r\nPySimpleSOAP 1.16.2\r\npytest 7.1.3\r\npython-apt 2.2.1\r\npython-debian 0.1.39\r\npython-debianbts 3.1.0\r\npyusb 1.2.1\r\nreportbug 7.10.3+deb11u1\r\nrequests 2.25.1\r\nsetuptools 52.0.0\r\nsix 1.16.0\r\ntomli 2.0.1\r\nurllib3 1.26.5\r\nwheel 0.34.2\r\nzstandard 0.18.0\r\n```","author":{"url":"https://github.com/bauergeorg","@type":"Person","name":"bauergeorg"},"datePublished":"2022-09-19T07:35:55Z","url":"https://github.com/memory/python-dpkg/issues/8"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a10c5361-87d9-3b3c-e895-d5dba5543d06 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 833C:38EE04:5AEAF7:7831D5:6B019FFF |
| html-safe-nonce | 91fe0cd1e86cbec6a73fa4da44bd5c4a89687345e097bea35a6e8cb7ab9e8e65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzNDOjM4RUUwNDo1QUVBRjc6NzgzMUQ1OjZCMDE5RkZGIiwidmlzaXRvcl9pZCI6Ijc2NjUxODM3MDc4MjQ3NTg3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3aa19e937063d354f12cad1f59874840692b048a7fb5f145c979ff5b3d696a56 |
| hovercard-subject-tag | issue:1377533961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/memory/python-dpkg/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47d699dee77d248042bd5e2b527220aa2d85d39cca99794bfd93fb49c95f0967/memory/python-dpkg/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47d699dee77d248042bd5e2b527220aa2d85d39cca99794bfd93fb49c95f0967/memory/python-dpkg/issues/8 |
| og:image:alt | Newest Version of pydpkg and cryptography throws an error: >>> import pydpkg Traceback (most recent call last): File " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bauergeorg |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/memory/python-dpkg git https://github.com/memory/python-dpkg.git |
| octolytics-dimension-user_id | 394064 |
| octolytics-dimension-user_login | memory |
| octolytics-dimension-repository_id | 120547428 |
| octolytics-dimension-repository_nwo | memory/python-dpkg |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 120547428 |
| octolytics-dimension-repository_network_root_nwo | memory/python-dpkg |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width