Commit Graph

6 Commits

Author SHA1 Message Date
Token2 0beb0ffce4 Merge pull request #17 from allamiro/bugfix/issue-5-runcmd-timeout-never-called
Wire all command calls through the timeout variant
2026-06-09 16:02:02 +02:00
Tamir Suliman f1b6733f2b Fix #5 - wire all command calls through the timeout variant
RunCommandAndGetOutputWithTimeout was implemented but never called;
all 7 call sites used the no-timeout RunCommandAndGetOutput, leaving
the UI able to freeze permanently if fido2-manage.exe hangs or a
device is removed mid-operation. Added DEVICE_TIMEOUT_MS constant
(15 s) and routed every call site through the timeout function so
a stalled subprocess is killed and the UI recovers cleanly.

Fixes #5
2026-06-06 13:35:28 +02:00
Tamir Suliman 208a70c4b3 Fix #4 - null hwnd dereference in RefreshData
The global hwnd was shadowed by a local variable declaration in
_tWinMain, leaving the global permanently NULL. RefreshData() passed
this NULL handle to DisableAllButtons(), dereferencing it on every
Refresh click. Removing the local type specifier assigns the created
window to the global so all callers outside _tWinMain see a valid handle.

Fixes #4
2026-06-06 13:35:19 +02:00
Token2 1b6ab4892c Update FIDO2.1 Manager.cpp
allow chars like @&*! (add escape function for PIN)
2025-03-03 17:48:56 +01:00
Token2 f37dc16400 Update FIDO2.1 Manager.cpp
Adding domain field in the passkeys table
2025-02-24 18:27:31 +01:00
Token2 39bb6e43b4 Add files via upload 2024-11-30 20:08:18 +01:00