[PR #2398] [MERGED] Remove u2f implementation #3266

Closed
opened 2025-10-09 18:20:09 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2398
Author: @BlackDex
Created: 3/27/2022
Status: Merged
Merged: 3/27/2022
Merged by: @dani-garcia

Base: mainHead: remove-u2f


📝 Commits (1)

  • fb0c23b Remove u2f implementation

📊 Changes

8 files changed (+32 additions, -414 deletions)

View changed files

📝 Cargo.lock (+8 -32)
📝 Cargo.toml (+1 -2)
📝 src/api/core/two_factor/mod.rs (+0 -2)
src/api/core/two_factor/u2f.rs (+0 -353)
📝 src/api/core/two_factor/webauthn.rs (+22 -1)
📝 src/api/identity.rs (+0 -21)
📝 src/db/models/two_factor.rs (+1 -1)
📝 src/error.rs (+0 -2)

📄 Description

For a while now WebAuthn has replaced u2f.
And since web-vault v2.27.0 the connector files for u2f have been removed.
Also, on the official bitwarden server the endpoint to /two-factor/get-u2f results in a 404.

  • Removed all u2f code except the migration code from u2f to WebAuthn

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2398 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 3/27/2022 **Status:** ✅ Merged **Merged:** 3/27/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `remove-u2f` --- ### 📝 Commits (1) - [`fb0c23b`](https://github.com/dani-garcia/vaultwarden/commit/fb0c23b71fe8ff95bc421a8e6dbbc6d4a46a38d5) Remove u2f implementation ### 📊 Changes **8 files changed** (+32 additions, -414 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+8 -32) 📝 `Cargo.toml` (+1 -2) 📝 `src/api/core/two_factor/mod.rs` (+0 -2) ➖ `src/api/core/two_factor/u2f.rs` (+0 -353) 📝 `src/api/core/two_factor/webauthn.rs` (+22 -1) 📝 `src/api/identity.rs` (+0 -21) 📝 `src/db/models/two_factor.rs` (+1 -1) 📝 `src/error.rs` (+0 -2) </details> ### 📄 Description For a while now WebAuthn has replaced u2f. And since web-vault v2.27.0 the connector files for u2f have been removed. Also, on the official bitwarden server the endpoint to `/two-factor/get-u2f` results in a 404. - Removed all u2f code except the migration code from u2f to WebAuthn --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:20:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3266