We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e58a3 commit 6de0ea3Copy full SHA for 6de0ea3
asyncssh/sk.py
@@ -353,12 +353,12 @@ def _sk_not_available(*args: object, **kwargs: object) -> NoReturn:
353
sk_sign = _sk_not_available
354
sk_get_resident = _sk_not_available
355
356
-try:
+try: # pragma: no cover
357
from fido2.client.windows import WindowsClient
358
359
sk_use_webauthn = WindowsClient.is_available() and \
360
hasattr(ctypes, 'windll') and \
361
not ctypes.windll.shell32.IsUserAnAdmin()
362
except ImportError:
363
- WindowsClient = None
+ WindowsClient = None # type: ignore
364
sk_use_webauthn = False
0 commit comments