mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #5935] Web vault: The same SSH key is always inserted #2290
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sbdiun on GitHub (Jun 6, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/5935
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
1.34.1
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
Apache/2.4.62 (AlmaLinux)
Host/Server Operating System
Linux
Operating System Version
AlmaLinux 9.6 (Sage Margay)
Clients
Web Vault
Client Version
v2025.5.0
Steps To Reproduce
The key will be shown, including public key and fingerprint.
The previous key is set as content like in the first entry.
Expected Result
The last copied key is entered.
Or, at least in the Bitwarden desktop client, there is a “Copy key from clipboard” button that can be used to set the content.
Actual Result
Previous key is the content.
No button to override this.
Logs
Screenshots or Videos
No response
Additional Context
@sbdiun commented on GitHub (Jun 6, 2025):
The inserted image shows the first key, even though an RSA key has already been copied to the clipboard.
I hope that, even though it is in German, you can see that there is no button to reload the value from the clipboard.
@stefan0xC commented on GitHub (Jun 6, 2025):
I don't understand the issue. What does copying an OpenSSH key into the clipboard has to do with creating a new SSH key via the web-vault? I don't think that the web-vault acts the same as the Bitwarden Desktop app in this regard (as it will always create a new SSH key as far as I've tested it and not the same one). According to https://bitwarden.com/help/ssh-agent/#import-key-to-bitwarden importing keys from clipboard is only available in the desktop app.
@sbdiun commented on GitHub (Jun 6, 2025):
I apologize if I misunderstood something.
As I understand it, inserting an SSH key means creating it as an entry in the vault, not as a key for the web vault itself, like storing an identity or access in the vault.
We have several SSH keys to access different servers, which I wanted to store in Vaultwarden, and that's exactly what doesn't work because I only ever see the one.
It wasn't about generating a new key.
If that's wrong, then I apologize.
@sbdiun commented on GitHub (Jun 6, 2025):
From this side: https://bitwarden.com/help/managing-items/
"There are five types of items you can store in your vault; logins, cards, identities, secure notes, and SSH keys:"
@sbdiun commented on GitHub (Jun 6, 2025):
ok, I understand now.
It's possible to import keys via Destop App, but in Web-vault, it always create a new one.