mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #742] Cannot Remove U2F key #502
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ataylor1988 on GitHub (Nov 23, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/742
Hello,
I got U2F keys to work, and I have enrolled 2 of them, but i want to remove one of them, and i get an unknown error when i try and remove it

@dani-garcia commented on GitHub (Nov 23, 2019):
Is there any error in the bitwarden_rs log?
Can you check the network tab of the developer tools (usually opens with F12), there should be a failing request (status code 5xx or 4xx), click on it and show us what it says in the response section.
@ataylor1988 commented on GitHub (Nov 28, 2019):
Here is a snip from the log, that error occurs after trying to delete the key
[2019-11-28 11:41:24][rocket::rocket][INFO] DELETE /api/two-factor/u2f application/json; charset=utf-8:
[2019-11-28 11:41:24][][ERROR] No matching routes for DELETE /api/two-factor/u2f application/json; charset=utf-8.
[2019-11-28 11:41:24][][WARN] Responding with 404 Not Found catcher.
[2019-11-28 11:41:24][][INFO] Response succeeded.
[2019-11-28 11:41:36][rocket::rocket][INFO] GET /alive:
[2019-11-28 11:41:36][][INFO] Matched: GET /alive (alive)
[2019-11-28 11:41:36][][INFO] Outcome: Success
[2019-11-28 11:41:36][][INFO] Response succeeded.
Here is a screen of the network tab
@dani-garcia commented on GitHub (Dec 1, 2019):
Okay it seems that the function to delete a specific key wasn't implemented, so I did it now. Note that until the new version builds, you can just use the disable all keys at the bottom and then add the correct one again as a workaround. Thanks for reporting it!
@ataylor1988 commented on GitHub (Dec 2, 2019):
Just wanted to report, that i pulled the latest docker and was able to remove the key this morning.