Is your feature request related to a problem?
when logging in with pam_u2f both kdewallet and gnome-keyring pop up and ask for password, as they obviously didnt get one from logging in.
usually when you login and the keyring passwords are the same as your login password the keyrings will just auto-unlock
Describe the solution that you'd like
Ideally a solution that could for example leverage hmac-secret to provide some values to aif in the decryption.
Describe the alternatives that you've considered
I honestly dont know enough about PAM to think of a way how this could work better, unless you go as far and set the keystore password equal to the pin and have the pin redirected to the keyring (which is a bad idea as I expect a PIN to generally be comparatively weak, so bad idea.