Using KWallet from non-KDE apps (G.Chrome...)

Valentin Rusu valir at kde.org
Sun Jan 14 10:53:32 UTC 2018


Hey,

Sorry for the apparent late reply - I started to have some spare time so
I'm back looking the KDE e-mails :-)

* René J.V. Bertin <rjvbertin at gmail.com> [2017-12-20 10:37:07 +0100]:

> Hi,
> 
> Is it still possible to query a KWallet for the existence of specific credentials without having to unlock it first?

It was never possible to query a KWallet without unlocking it, AFAICT.

> 
> The reason I'm asking (not entirely on-topic here, apologies) is that Google Chrome has been putting up wallet unlock dialogs for a long time now, apparently as soon as it detects a login/authentification mechanism on a page that just got (re)loaded. I've filed a bug report about that (a long time ago), but it never got picked up or even closed as invalid.

I remember Google Chrome correctly detected KWallet and interacted with
it when present. But lately I returned to Firefox so don't know more.
For that to work, you need to have a KDE session going in the
background.  That session will initialize the dbus services and among
them the kwalletd service. From that point on, the client-side libraries
will talk to it.


-- 
Valentin Rusu
IRC: valir


More information about the Kde-frameworks-devel mailing list