gilbertchen / duplicacy

A new generation cloud backup tool
https://duplicacy.com
Other
5.16k stars 336 forks source link

Fails to get password from gnome-keyring since OS/Gnome update #565

Open truls opened 5 years ago

truls commented 5 years ago

Since upgrading from Fedora 29 to Fedora 30 (Gnome 3.30 to 3.32), Duplicacy has been unable to retrieve password from the Gnome keyring. Running Duplicacy (2.2.0) with the -d flag suggests that the problem is related to dbus permissions, however I can't figure it out.

$ duplicacy -d backup
Storage set to s3://[...]
Reading the environment variable DUPLICACY_S3_ID
Reading s3_id from preferences
Reading the environment variable DUPLICACY_S3_SECRET
Reading s3_secret from preferences
Reading the environment variable DUPLICACY_S3_ID
Reading s3_id from preferences
Reading the environment variable DUPLICACY_S3_SECRET
Reading s3_secret from preferences
Reading the environment variable DUPLICACY_PASSWORD
Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: authentication failed
Enter storage password:

Thanks in advance

gilbertchen commented 3 years ago

This issue has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/dbus-authentication-failed/5559/1