Bug#1144267: Please provide pam-configs integration

Marc Dequènes (duck) <[email protected]>
Newsgroups gmane.linux.debian.devel.qt-kde
Organization DuckCorp
Message-ID <920070920ebadfd79ae2c71935866b4d__15730.4862559371$1787037220$gmane$org@duckcorp.org>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.