Autologin and kwallet configuration in Neon

Hi I have tried to configure autologin (trough sddm) and auto openning of kwallet.
I have tried it with 2 device one is on Tuxedo OS the other is on KDE Neon Testing.
TuxedoOS:
plasma-desktop 6.1.3
libpam-kwallet-common 6.1.3
sddm 0.21.0-2

I have the libpam-kwallet5 and libpam-kwallet6 installed.
Autologin is configured trough systemsettings and know works. It was a pain tough because in systemsettings the configuration seems not to be taking account and the fields stays empty but the file in /etc/sddm.conf.d/kde_settings.conf was update. That didn’t work yet I had to rm a kde_settings.conf.dist-pkg (not exacty sure) file.
The problem is more with the kwallet authentication. I have create/recreate the kdewallet wallet making sure it use blowfish (btw how can we verify it use blowfish after?). I rm them from ~/.local/share/kwalletd/ , I didn’t an other way, trough gui, to delete it. The password of kdewallet is the same than my login account.

I have tried some configuration from Arch wiki , in particular by adding line to /etc/pam.d/sddm-autologin (it is the file use by pam/sddm when autologin is configure, right?):

# gnome_keyring breaks QProcess
-auth   optional        pam_gnome_keyring.so
-auth   optional        pam_kwallet5.so
...
-session optional       pam_gnome_keyring.so auto_start
-session optional       pam_kwallet5.so auto_start

(has a side question I was not sure of the pam syntax what is the leading “-” for? should I let them or remove them in the config?)
But I am not sure if this apply to ubuntu/debian. The wiki mentioned pam_autologin.so wich is not part of debian/ubuntu so I don’t know what is applicable or not.
It let me question whether it is possible or not to have autologin and kwallet autoopening wallet or maybe it is buggy in kde6.

I ended up putting a blank password in kwallet for the default kdewallet wallet.

What is the proper way to configure that in Ubuntu/TuxedoOs/Neon?

pam_autologin would maybe work, but as it is not available in many distros probably because its Security aspect is, like the warning at the Archwiki section says, “disputed” not Auto-opening the wallet unless, if you really want, you have a blank (or in case of pam_autologin a somewhere stored) wallet password not a bug.

Thanks for the reply I already set a blank password. I manly use kwallet for wifi password, I’m not sure it is better than just setting them system wide without encryption (my whole system is encrypted).
With a blank password set for kwallet, when my device resume from sleep I have to reconnect (manually) to the wifi is it expected? I think with a password (=session password) I don’t have to.

Unfortunately I can’t really tell because I have disabled sleep (and hibernate) modes out of habit. It did not work a few years ago and after learning how to work without never bothered to try it again.

If you meant that you have to manually reconnect to WIFI (without that it asks for a password). That Auto-connect feature seem to not work very consistent in the first place. I have to manually initiate the connection probably 30% of the time after (not auto-) login, That was way better with Plasma 5.27, working 100% of the time, but maybe it is a Arch vs. Ubuntu issue in my case don’t know.

It is in the friendly manual… but OK, searching for - is never a great idea destined for immediate success…