KWallet - with an additional GPG wallet, unlock automatically on login doesn't happen

If I create an additional GPG encrypted wallet (named “wallet01”), in addition to the default Blowfish encrypted wallet named “kdewallet” «with a password identical to the user’s login password», the default behaviour of the default wallet being unlocked automatically at login, doesn’t happen.

If I remove the additional (GPG encrypted) wallet, the expected “unlock automatically at login” behaviour returns.


This machine:

Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.14.21-150500.55.36-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 29.3 GiB of RAM
Graphics Processor: AMD Radeon Vega 11 Graphics
Manufacturer: ASUS

I had to go looking for the required PAM settings described in the ArchWiki KDE Wallet article – <https://wiki.archlinux.org/title/KDE_Wallet> –

 # grep -Ri 'pam_kwallet' /etc/*
/etc/pam.d/common-session-pc:session    optional        pam_kwallet5.so
/etc/pam.d/common-session:session       optional        pam_kwallet5.so
/etc/pam.d/common-password-pc:password  optional        pam_kwallet5.so
/etc/pam.d/common-password:password     optional        pam_kwallet5.so
/etc/pam.d/common-auth:auth     optional        pam_kwallet5.so
/etc/pam.d/common-auth-pc:auth  optional        pam_kwallet5.so
/etc/xdg/autostart/pam_kwallet_init.desktop:Exec=/usr/lib/pam_kwallet_init
 # 
 # file /usr/lib/pam_kwallet_init
/usr/lib/pam_kwallet_init: POSIX shell script, ASCII text executable
 # 
 # cat /usr/lib/pam_kwallet_init
#!/bin/sh

if test -n "$PAM_KWALLET5_LOGIN" ; then
    env | socat STDIN UNIX-CONNECT:$PAM_KWALLET5_LOGIN
fi

 #

So yes, the required PAM settings have been moved from /etc/pam.d/sddm to other locations but, they still seem to be active.

 > journalctl -b 0 --user --no-hostname --output=short-monotonic | grep -iE 'PAM|wallet'
[ 2907.560525] sddm-helper[3308]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
[ 2910.323740] systemd[3296]: Started Unlock kwallet from pam credentials.
 >

Any ideas?