feat: Support for storing passkeys in the vault #1581

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

Originally created by @GeekCornerGH on 6/19/2023

Implements the ability to store passkeys in the vault

How to test

  1. Checkout this branch, then install dependencies with npm i (npm ci didn't worked, where npm i somehow worked in my case)
  2. Enable feature flag for the extension. As I didn't figured out how to do this properly, I changed the values there and there to make them always return true
  3. Follow the docs to build and install the modified extension in your browser (I installed it in a custom profile)
  4. Go to a website supporting passkeys. I used passkeys.io, and also tested against webauthn.io but any website supporting webauthn should actually work, then register your key

Demo

https://github.com/dani-garcia/vaultwarden/assets/45696571/4c5bbfd6-3302-4ce2-9a2f-146e5653ce1b

Notes

Upstream PR: bitwarden/server#2679
Tested on Brave 1.54.65 Chromium: 114.0.5735.133 (Official build) nightly (64 bits)
The feature isn't released yet, but there shouldn't be any big changes as Vaultwarden doesn't type the properties of ciphers the way upstream server does

*Originally created by @GeekCornerGH on 6/19/2023* # Implements the ability to store passkeys in the vault ## How to test 1. Checkout [this branch](https://github.com/bitwarden/server/tree/EC-598-beeep-properly-store-passkeys-in-bitwarden), then install dependencies with `npm i` (`npm ci` didn't worked, where `npm i` somehow worked in my case) 2. Enable feature flag for the extension. As I didn't figured out how to do this properly, I changed the values [there](https://github.com/bitwarden/clients/pull/4715/files#diff-ee9271bfbbddd589f955418cf1fc8a360ea76819afe2400d96d2f8a79dc3dd6dR41-R43) and [there](https://github.com/bitwarden/clients/pull/4715/files#diff-ee9271bfbbddd589f955418cf1fc8a360ea76819afe2400d96d2f8a79dc3dd6dR194-R196) to make them always return true 3. Follow the [docs](https://contributing.bitwarden.com/getting-started/clients/browser/#build-instructions) to build and install the modified extension in your browser (I installed it in a custom profile) 4. Go to a website supporting passkeys. I used [passkeys.io](https://passkeys.io), and also tested against [webauthn.io](https://webauthn.io) but any website supporting webauthn should actually work, then register your key ## Demo https://github.com/dani-garcia/vaultwarden/assets/45696571/4c5bbfd6-3302-4ce2-9a2f-146e5653ce1b ## Notes Upstream PR: bitwarden/server#2679 Tested on `Brave 1.54.65 Chromium: 114.0.5735.133 (Official build) nightly (64 bits) ` The feature isn't released yet, but there shouldn't be any big changes as Vaultwarden doesn't type the properties of ciphers the way upstream server does
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1581