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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
main← Head:remove-u2f📝 Commits (1)
fb0c23bRemove 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-u2fresults in a 404.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.