Title: Refuses to work with fido2>=1.0.0 · Issue #73 · trustcrypto/python-onlykey · GitHub
Open Graph Title: Refuses to work with fido2>=1.0.0 · Issue #73 · trustcrypto/python-onlykey
X Title: Refuses to work with fido2>=1.0.0 · Issue #73 · trustcrypto/python-onlykey
Description: I'm currently in the process of putting together a (non-pip) package for the Arch Linux user repository as per the distribution's Python package guidelines. This requires that the program being packaged runs against the latest available ...
Open Graph Description: I'm currently in the process of putting together a (non-pip) package for the Arch Linux user repository as per the distribution's Python package guidelines. This requires that the program being pac...
X Description: I'm currently in the process of putting together a (non-pip) package for the Arch Linux user repository as per the distribution's Python package guidelines. This requires that the program b...
Opengraph URL: https://github.com/trustcrypto/python-onlykey/issues/73
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refuses to work with fido2\u003e=1.0.0","articleBody":"I'm currently in the process of putting together a (non-pip) package for the Arch Linux user repository as per the distribution's [Python package guidelines](https://wiki.archlinux.org/title/Python_package_guidelines). This requires that the program being packaged runs against the latest available versions of other python packages, which in the case of the `python-fido2` module is currently 1.1.1 as opposed to 0.9.3.\r\n\r\nAt present, `onlykey-cli` refuses to start from the package I've built due to the naming changes made in the FIDO2 module such as `CTAP1 -\u003e Ctap1`.\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/usr/bin/onlykey-cli\", line 33, in \u003cmodule\u003e\r\n sys.exit(load_entry_point('onlykey==1.2.10', 'console_scripts', 'onlykey-cli')())\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/usr/bin/onlykey-cli\", line 25, in importlib_load_entry_point\r\n return next(matches).load()\r\n ^^^^^^^^^^^^^^^^^^^^\r\n File \"/usr/lib/python3.11/importlib/metadata/__init__.py\", line 202, in load\r\n module = import_module(match.group('module'))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/usr/lib/python3.11/importlib/__init__.py\", line 126, in import_module\r\n return _bootstrap._gcd_import(name[level:], package, level)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1206, in _gcd_import\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1178, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1149, in _find_and_load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 690, in _load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 940, in exec_module\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 241, in _call_with_frames_removed\r\n File \"/usr/lib/python3.11/site-packages/onlykey/cli.py\", line 15, in \u003cmodule\u003e\r\n import solo\r\n File \"/usr/lib/python3.11/site-packages/solo/__init__.py\", line 15, in \u003cmodule\u003e\r\n from . import client, commands, dfu, helpers, operations\r\n File \"/usr/lib/python3.11/site-packages/solo/client.py\", line 16, in \u003cmodule\u003e\r\n from .devices import solo_v1\r\n File \"/usr/lib/python3.11/site-packages/solo/devices/solo_v1.py\", line 11, in \u003cmodule\u003e\r\n from fido2.ctap1 import CTAP1\r\nImportError: cannot import name 'CTAP1' from 'fido2.ctap1' (/usr/lib/python3.11/site-packages/fido2/ctap1.py)\r\n```\r\n\r\nA fix for this would be greatly appreciated for myself and for anyone else looking to use the CLI utility on Arch-based Linux distributions without the use of `pip`.","author":{"url":"https://github.com/62832","@type":"Person","name":"62832"},"datePublished":"2023-06-07T23:22:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/73/python-onlykey/issues/73"}
| 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:d313cae9-f35b-e7e2-1161-9a325167a917 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84FA:1C0DF3:2A8D725:37F1727:6A5CD152 |
| html-safe-nonce | 7270898ee5da5c37bb18ff28504a68b59e2e676615482a643beebed7ac2ee3af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEZBOjFDMERGMzoyQThENzI1OjM3RjE3Mjc6NkE1Q0QxNTIiLCJ2aXNpdG9yX2lkIjoiNTY4NzE4OTQ2MzcwMzAxNTc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb555f624932ac9bcbf83b46feb93331263da9cff59adcb6207fdbbe0ef44797 |
| hovercard-subject-tag | issue:1746819451 |
| 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/trustcrypto/python-onlykey/73/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d1b69aa640ea9ed3d0c6b6a81e9f80e9e1cb5792cfe82591d058b98d49508ee/trustcrypto/python-onlykey/issues/73 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d1b69aa640ea9ed3d0c6b6a81e9f80e9e1cb5792cfe82591d058b98d49508ee/trustcrypto/python-onlykey/issues/73 |
| og:image:alt | I'm currently in the process of putting together a (non-pip) package for the Arch Linux user repository as per the distribution's Python package guidelines. This requires that the program being pac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 62832 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/trustcrypto/python-onlykey git https://github.com/trustcrypto/python-onlykey.git |
| octolytics-dimension-user_id | 22034835 |
| octolytics-dimension-user_login | trustcrypto |
| octolytics-dimension-repository_id | 67296372 |
| octolytics-dimension-repository_nwo | trustcrypto/python-onlykey |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 67296372 |
| octolytics-dimension-repository_network_root_nwo | trustcrypto/python-onlykey |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width