Skip to content

Fido: returns when no key is found#2886

Merged
mar-v-in merged 1 commit into
microg:masterfrom
p1gp1g:fix-fido-no-key
Sep 16, 2025
Merged

Fido: returns when no key is found#2886
mar-v-in merged 1 commit into
microg:masterfrom
p1gp1g:fix-fido-no-key

Conversation

@p1gp1g

@p1gp1g p1gp1g commented May 2, 2025

Copy link
Copy Markdown
Contributor

When we receive a request for a key we don't have, CTAP returns an error 0x2e which is caught in catch (e: Exception), so it never returns. This commit changes the while(true) so, if there are 2 fails, it returns the exception

Edit: it was 1..5 at the beginning, but this is very inconvenient when there is no valid key, one retry is enough

@p1gp1g p1gp1g force-pushed the fix-fido-no-key branch from 115884e to 9bbf1fd Compare May 2, 2025 12:23
@mar-v-in mar-v-in added this to the 0.3.10 milestone Jul 16, 2025
@mar-v-in mar-v-in merged commit 37d2a80 into microg:master Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants