https://bugs.kde.org/show_bug.cgi?id=464365

            Bug ID: 464365
           Summary: ksshaskpass can't connect to kwallet
    Classification: Frameworks and Libraries
           Product: frameworks-kwallet
           Version: 5.101.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: va...@kde.org
          Reporter: akk...@protonmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

## SUMMARY

I followed [Arch wiki](https://wiki.archlinux.org/title/KDE_Wallet) method to
store ssh private key passphrase in kwallet, but when I try to use ssh, I find
it asking the password every time despite it being stored in kwallet, and it
shows me this error:
```
$ ssh u...@example.com
Warning: fallback to QtQuick software backend.
qt.svg: link #path2410 is undefined!
kf.config.core: Created a KConfigGroup on an inaccessible config location
"kwalletrc" "Wallet"
kf.config.core: Created a KConfigGroup on an inaccessible config location
"kwalletrc" "Wallet"
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
```

STEPS TO REPRODUCE
1. Follow the arch wiki link above.
2. Try to use ssh.
3. See `ksshaskpass` asking you for password, for the first time there a "Save
password" checkbox.
4. Open a new terminal, use ssh and notice `ksshaskpass` asking for the private
key passphrase again, and outputting the warnings above.

OBSERVED RESULT

ksshaskpass fails to connect to kwallet and outputs this error:
```
$ ssh u...@example.com
Warning: fallback to QtQuick software backend.
qt.svg: link #path2410 is undefined!
kf.config.core: Created a KConfigGroup on an inaccessible config location
"kwalletrc" "Wallet"
kf.config.core: Created a KConfigGroup on an inaccessible config location
"kwalletrc" "Wallet"
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Disconnected",
"Not connected to D-Bus server")
```

EXPECTED RESULT
To get the ssh password from kwallet and pass it to the ssh command for me, so
I can have passwordless login flow.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
This was working well before, but suddenly it doesn't work anymore!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to