Quack,

On 2026-08-15 04:23, Hefee wrote:
I expect that this is feature request, as there was never a stanza for kwallet shipped in PAM's common-* files. So far I understand the kwallet session opening feature only works with sddm, as the pam module is modified to add
kwallet (or other login managers needs to add it).

I see no reason why it should only work with sddm. There's a bunch of folks using sway and other compositors without using the full GNOME or KDE stack and they have been using these applications for many many years, and some of them can take advantage of the keyring/wallet.

I tried to find any docs about the file format on pam-configs, but havn't found anything. Sure I can simply copy and replace the gome-keyring file, but at least I want to understand what I do ;) Can you provide a working patch or
give more information, links to documentation about the needed changes?

Thanks Chris for the documentation.

Based on the fix done for GNOME keyring and what sddm ships I guess it should look like this:
----------------------------------------------------
Name: KDE Wallet Daemon - Login keyring management
Default: yes
Priority: 0
Auth-Type: Additional
Auth:
        optional     pam_kwallet5.so
Session-Type: Additional
Session-Interactive-Only: yes
Session:
        optional     pam_kwallet5.so auto_start
----------------------------------------------------

Regards.
\_o<

--
Marc Dequènes

Reply via email to