quexten / goldwarden

A feature-packed Bitwarden compatible desktop client
MIT License
684 stars 19 forks source link

Unprocessable Entity #262

Open tomitomas opened 1 month ago

tomitomas commented 1 month ago

Hi there !

When I try to create an SSH key and store it in my vault :

$ ./goldwarden.exe ssh add --name myssh@toto

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5l0HpqJ2vph1Q2uUdRQwoUzasqgcQbQNqphpcxuh1g myssh@toto

I got the following issue on the daemon console

$ ./goldwarden.exe daemonize
Socket path is empty, overwriting with default path.
SSH Agent socket path is empty, overwriting with default path.
[INF] [18:55] [Goldwarden > Keyring] >>> Creating new memguard keyring
[INF] [18:55] [Goldwarden > SSH] >>> Server listening on named pipe \\.\pipe\openssh-ssh-agent

[INF] [18:55] [Goldwarden > Agent] >>> Agent listening on C:\Users\xxx/.goldwarden.sock...
Blocking, press ctrl+c to continue...

[INF] [18:51] [Goldwarden > Systemauth] >>> Checking permission for unknown with session type com.quexten.goldwarden.usesshkey
[INF] [18:51] [Goldwarden > Systemauth] >>> Permission granted from cached session
[WRN] [18:51] [Goldwarden > Actions] >>> Error posting ssh key cipher: Unprocessable Entity: <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="color-scheme" content="light dark">
    <title>422 Unprocessable Entity</title>
</head>
<body align="center">
    <div role="main" align="center">
        <h1>422: Unprocessable Entity</h1>
        <p>The request was well-formed but was unable to be followed due to semantic errors.</p>
        <hr />
    </div>
    <div role="contentinfo" align="center">
        <small>Rocket</small>
    </div>
</body>
</html>

--> no key/data is saved on my bitwarden vault.

and ssh list returns nothing.

what's wrong ? what can I do ?

tomitomas commented 1 month ago

One more info : running on windows : v0.3.3

tomitomas commented 1 month ago

Hi @quexten

Any idea ?

quexten commented 1 month ago

https://github.com/quexten/goldwarden/pull/265