Hoping to get duplicacy working with dbus secrets on my Fedora 34 system.
When running duplicacy with -d in a zsh gnome-terminal session, I see the following:
Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: authentication failed
First chasing a SecretService issue:
Looking at journalctl, I have a corresponding error to duplicacy attempts to access the keyring:
gnome-keyring-daemon[1887]: couldn't write to client: Error sending data: Broken pipe
Using lssecrets, as mentioned by @gchen in Problems configuring Duplicacy with keyring (Linux), the first time failed with
Error: Couldn't get secret service for unkown reason No such secret item at path: /org/freedesktop/secrets/collection/login/7
Running seahorse did not list a “login” keyring and attempts to create an additional keyring did not appear to have any affect (but it did actually create them).
Running gnome-keyring-daemon --components=ssh,secrets --replace
appears to have resolved some bad state of the SecretService. After rebooting the system, keyring was present as well, so it seems like it was in some bad state.
Sill receiving same error:
Now, that the keyring access appears to be in a good state (lssecrets
is returning values and seahorse has keyring listed), I still receive the same error from duplicacy:
Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: authentication failed
This appears to be the same as https://github.com/gilbertchen/duplicacy/issues/565 from 2019. Would be good to close the loop on that issue with any solution from this thread.