Fix a panic during Yubikey register/login #1855

Closed
opened 2026-04-06 02:29:04 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 12/18/2022

The yubico crate uses blocking reqwest, and we called the verify from a async thread. To prevent issues we need to wrap it within a spawn_blocking.

*Originally created by @BlackDex on 12/18/2022* The yubico crate uses blocking reqwest, and we called the `verify` from a async thread. To prevent issues we need to wrap it within a `spawn_blocking`.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1855