flathub / app.ytmdesktop.ytmdesktop

https://flathub.org/apps/details/app.ytmdesktop.ytmdesktop
2 stars 3 forks source link

No option for Last.fm Login after v2 upgrade #5

Open ProjectSynchro opened 2 weeks ago

ProjectSynchro commented 2 weeks ago

Originally posted here: https://github.com/ytmdesktop/ytmdesktop/issues/1427#issue-2495352230

It looks like we can either:

  1. Use basic credential storage (which uses plaintext somewhere in the sandbox)
  2. Allow access to the libsecret or kwallet dbus sockets

There's potentially also the option to wait for upstream to implement the secret portal: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.Secret.html#secret

But that would be up to them if they pick to go that way.

ProjectSynchro commented 2 weeks ago

I attempted to use the libsecret backend for portals support, but it seems broken upstream.

I think we will be forced to use basic secret storage, which works for the basic login feature, but doesn't work for lastfm integration.