Announcement

Collapse
No announcement yet.

Problem with keyring service?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with keyring service?

    Hello,
    I am using Kubuntu 20.04 and experiencing problems installing Authenticator. (Not Google Authenticator, the one for Linux only by Belmoussaoui)
    I installed flatpak without issues, then Authenticator seemingly without issues. When I try to run it I get the following error.
    Do I need to install Keyring? Or perhaps Dbus? Or something to do with RUST_BACKTRACE?
    Here is the error, the first line is the command I used minus the username part:

    $ flatpak run com.belmoussaoui.Authenticator

    2023-05-27T11:01:31.874693Z INFO authenticator::application: Authenticator (com.belmoussaoui.Authenticator)
    2023-05-27T11:01:31.874734Z INFO authenticator::application: Version: 4.3.1 ()
    2023-05-27T11:01:31.874739Z INFO authenticator::application: Datadir: /app/share/authenticator
    2023-05-27T11:01:31.882911Z INFO authenticator::application: Migrating the secrets to the file backend
    2023-05-27T11:01:31.887783Z DEBUG oo7::dbus::service: Starting an encrypted Secret Service session
    2023-05-27T11:01:31.890305Z ERROR authenticator::application: Failed to migrate your data DBus error zbus error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
    2023-05-27T11:01:31.891281Z DEBUG oo7::keyring: Application is sandboxed, using the file backend
    2023-05-27T11:01:31.891367Z DEBUG oo7::portal: Loading default keyring file
    2023-05-27T11:01:31.895439Z DEBUG oo7::portal::secret: Retrieve service key using org.freedesktop.portal.Secrets
    2023-05-27T11:01:31.895668Z DEBUG oo7::portal::secret: Creating a '/org/freedesktop/portal/desktop/request/1_64/oo7_TFTTU1MKmh' proxy and listening for a response
    2023-05-27T11:01:31.897726Z DEBUG oo7::keyring: org.freedesktop.portal.Secrets is not available, falling back to the Sercret Service backend
    2023-05-27T11:01:31.904825Z DEBUG oo7::dbus::service: Starting an encrypted Secret Service session
    2023-05-27T11:01:31.911446Z DEBUG oo7::dbus::service: Starting an unecrypted Secret Service session
    thread 'main' panicked at 'Failed to start the keyring service: DBus(Zbus(MethodError(OwnedErrorName(ErrorName(Str (Owned("org.freedesktop.DBus.Error.ServiceUnknown" )))), Some("The name org.freedesktop.secrets was not provided by any .service files"), Msg { type: Error, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 2, body: Signature("s") })))', src/application.rs:279:18
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace​


    Thanks for any ideas you can share

    SB
    Last edited by Snowhog; May 27, 2023, 10:53 AM.

    #2
    As a flatpak, it is supposed to have most things included already. However as a Gnome-specific app, it may want Gnome's keyring, maybe?

    Yup:
    sudo apt install gnome-keyring

    The Freedesktop's "secret service" is somewhat new, in KDE. The Flatpak works fine in Neon, as its version of Kwallet seems properly recent enough and configured to announce itself as a provider.
    I see similar issues in other distros using this flatpak as well, so it isn't something to blame on Ubuntu.

    Comment


      #3
      Thanks very much claydoh

      Comment

      Working...
      X