-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yubikey-manager-qt: Fix detecting inserted yubikey
Fixes #353582 The upload functionality was removed in an upstream dependency, so importing the types failed and caused an error. See Yubico/yubikey-manager-qt#364 (comment)
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
pkgs/tools/misc/yubikey-manager-qt/remove-upload-import.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- a/ykman-gui/py/yubikey.py 2025-01-08 19:42:20.058393985 +0100 | ||
+++ b/ykman-gui/py/yubikey.py 2025-01-08 19:44:12.520364702 +0100 | ||
@@ -50,12 +50,8 @@ | ||
if int(ykman_v.split(".")[0] ) > 4: | ||
from yubikit.support import get_name | ||
from ykman.device import list_all_devices, scan_devices | ||
- from ykman.otp import ( | ||
- _PrepareUploadFailed as PrepareUploadFailed | ||
- , _prepare_upload_key as prepare_upload_key, generate_static_pw) | ||
else: | ||
from ykman import connect_to_device, scan_devices, get_name | ||
- from ykman.otp import PrepareUploadFailed, prepare_upload_key, generate_static_pw | ||
|
||
from fido2.ctap2 import Ctap2, ClientPin | ||
|