To reproduce: - type "kwallet-query -l kdewallet" in Konsole - enter password for in the dialog Actual result: - Error "Pass a valid window to KWallet::Wallet::openWallet()." Expected result: - List of passwords in kdewallet
Seems to me you're not into a KDE session? I'm using kwallet-query from latest sources daily without problems.
> set | grep KDE | grep SESSION KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 XDG_SESSION_DESKTOP=KDE
Okey, I have to actually pass a --folder for --list-entries to work, in other words, I cannot see the list of available folders. If this is the intended behavior, please close as invalid.
kwallet-query lists folders only from the "passwords" main directory, as seen in the kwallet manager, when invoked with: $ kwallet-query -l <wallet> It's real use could be seen here: https://github.com/valir/kwallet-dmenu So, as suggested, I'll close this.