Repository navigation
[PM-10394] Add new item type ssh key - #4575
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4575 +/- ##
==========================================
- Coverage 42.54% 42.53% -0.02%
==========================================
Files 1389 1391 +2
Lines 64745 64792 +47
Branches 5943 5945 +2
==========================================
+ Hits 27548 27561 +13
- Misses 35975 36008 +33
- Partials 1222 1223 +1 ☔ View full report in Codecov by Sentry. |
|
New Issues
Fixed Issues
|
|
Very excited by this! Preparing to ditch 1Password as I type 🙂 |
|
Setting this to ready for review, but it will not be merged until all ssh of the ssh key features are ready. |
LaunchDarkly flag references🔍 2 flags added or modified
|
* Add ssh key item type * Add fingerprint * Limit ssh key ciphers to new clients * Fix enc string length for 4096 bit rsa keys * Remove keyAlgorithm from ssh cipher * Add featureflag and exclude mobile from sync * Add ssh-agent flag
|
I tested the feature as a potential replacement for 1Password, but I encountered two issues:
Notably, all other devices and browser extensions worked fine, and the server logs showed the following response: To restore syncing functionality, I had to manually delete the key from the Trash. |
|
@justspacedog Could you please note: Your desktop version, your iOS version, and are you using a self-hosted server (if so which one at what version). |
|
macOS: 2024.12.1 |
|
@justspacedog Might be related to this PR in vaultwarden: dani-garcia/vaultwarden#5339 |
|
🚀 🚀 🚀 |
|
@quexten don't mean to necro-bump this PR, but I wanted to be sure where the reported issue should be considered under the "client" repos, or likely this "server" repo as I would imagine there is something specific which would be required on the SSH Key item type in the server code. Currently I see that SSH Key item types hold password history like all other vault items, similarly Hidden type custom fields are included in the item's Password history Though what I would imagine should be considered another "important secret" would be the private key as an integral portion of the SSH key pair. I understand there has been a specific discussion based around removing the option to regenerate the private key for these items exception upon initial creation.
So while there is little chance of editing over the existing private key, and consistent backups to an external location are highly critical for end user to perform, the Desktop application does currently provide the ability for an SSH Key type to be overwritten on edit using the Import key from clipboard method. Which is not currently captured in the item's Password history So I suppose this could be handled in likely one of the following methods,
|
|
@cksapp I guess the best place for this kind of feedback would be to post a comment on the community forum https://community.bitwarden.com/latest |






🎟️ Tracking
Server: #4575
Add Item Type: bitwarden/clients#10360
Add SSH Agent: bitwarden/clients#10293
Add Import/Export: bitwarden/clients#10529
Jira: https://bitwarden.atlassian.net/browse/PM-10395
📔 Objective
Add server support for the new ssh key cipher type. This is mostly copy paste from the other cipher types, with the one exception that we are filtering out ssh keys for older clients, using SSHKeyCipherMinimumVersion. We will update this once we know which release ssh keys will be in.
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes