Unable to import Ssh-Key with Passphrase #299

Closed
opened 2025-07-08 08:45:46 -04:00 by AtHeartEngineer · 0 comments

Originally created by @spammads on 12/29/2024

Vaultwarden Support String

asdf

Vaultwarden Build Version

latest

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

latest Nginx

Host/Server Operating System

Linux

Operating System Version

Mac Os latest

Clients

Desktop

Client Version

latest

Steps To Reproduce

  1. Add Item
  2. Choose SSH Key
  3. Import key from clipboard
  4. Enter Passphrase
  5. Get Error-Message: "SshKey is invalid"

I tested the import with a standard-ssh-key (rsa, generated with ssh-keygen -t rsa -b 4096 -C "your_email@example.com") and this works

Expected Result

Import the key

Actual Result

Error Message that the key is invalid

Logs

No response

Screenshots or Videos

Screenshot 2024-12-29 at 15 51 17 Screenshot 2024-12-29 at 15 51 23

Additional Context

No response

*Originally created by @spammads on 12/29/2024* ### Vaultwarden Support String asdf ### Vaultwarden Build Version latest ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy latest Nginx ### Host/Server Operating System Linux ### Operating System Version Mac Os latest ### Clients Desktop ### Client Version latest ### Steps To Reproduce 1. Add Item 2. Choose SSH Key 3. Import key from clipboard 4. Enter Passphrase 5. Get Error-Message: "SshKey is invalid" I tested the import with a standard-ssh-key (rsa, generated with `ssh-keygen -t rsa -b 4096 -C "your_email@example.com"`) and this works ### Expected Result Import the key ### Actual Result Error Message that the key is invalid ### Logs _No response_ ### Screenshots or Videos <img width="465" alt="Screenshot 2024-12-29 at 15 51 17" src="https://github.com/user-attachments/assets/c9134929-5534-4d7c-bee9-afd8576f7a5a" /> <img width="694" alt="Screenshot 2024-12-29 at 15 51 23" src="https://github.com/user-attachments/assets/afa15b9f-b16b-40df-b08a-30efd1f3df7f" /> ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#299