So keep getting random kdewallet password prompts while I am gaming which takes the focus away from the game window.
I have read several forum posts on the subjects and tried all of there solutions. So far what seems to work best is just deleting all my wallets and disabling kdewallet. That stops it from showing up on login but it will still show up when opening certain apps and while gamming (which shouldn’t even be possible correct? if it’s disabled how is it still showing?)
tried the unlock automatically on the login option as mentioned in the arch wiki and that doesn’t work, it prompts me on login for the password and then again randomly while I am gaming.
I even tried messing with the config at /etc/pam.d/sddm and /etc/pam.d/sddm-autologin with no luck
Hmm maybe because I am autologin with sddm disabled that and set my wallet's password to be the same as my user and now I only need to type the password once to log in and not for the wallet (so far at least)
From what I read you can't automatically unlock kde wallet on login like this, but you can create an empty kde wallet password so that it (supposedly) never prompts you.
The last post I made I was trying to setup kde wallet like this KDE Wallet - ArchWiki which for that I need to disable auto login in sddm.
configured this way it does not ask my to unlock my wallet on boot as it gets unlocked when I login to my user, however I still sometimes get the kdewallet password prompt and I have to put in my users password again (which is what I am trying to avoid I don't want any password prompt after i am already login to my user)
tried spacing things around to see if it helps with clarity
If you are OK with providing password once, then the easiest (and sane) way to do it is to disable autologin and use the DM like everyone else.
If not, just for fun, describe what you want to gain and how much important it is, in comparison to the well known security risks.
Are you sure this requirement is not part of a habit, or syndrome?
I don’t mind disabling auto login in sddm.( slightly more convenient to have it enable since this is a desktop computer with only one user which I use as a couch PC)
what bother’s me is kde wallet popping up while I’m gaming and taking the focus away from the game window (even without a couch pc setup I am sure you can see how this is annoying if you are in the middle of an online match and is far from a)
so I have to get a mouse and close the window or use a keyboard to type the password.
i did (needed it for something else)
pacman -Qi gnome-keyring
Name : gnome-keyring
Version : 1:42.1-1
Description : Stores passwords and encryption keys
Architecture : x86_64
URL : https://wiki.gnome.org/Projects/GnomeKeyring
Licenses : GPL LGPL
Groups : gnome
Provides : org.freedesktop.secrets
Depends On : gcr libcap-ng pam openssh
Optional Deps : None
Required By : github-desktop
Optional For : git libsecret
Conflicts With : None
Replaces : None
Installed Size : 3.59 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Wed 25 May 2022 07:53:16 PM EDT
Install Date : Thu 26 May 2022 05:40:55 PM EDT
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
Then the mentioned methods should make it silent. Are you sure you implement them correctly? It’s not an unusual case, since it’s even included in Archwiki.
About my teasing, I was refering to autologin. You are right, it’s an inconvenient thing. But Games use to create such anomalies, interfering with the system badly. You should ask at the Game channels for their experience.
yeah I don't get why Im still getting kde wallet prompts ( more confusing is its during a game where nothing should be opening that requires accses to the wallet)
most of this was said in my first post but....
From what I understand from the archwiki and other resources there are 3 ways to prevent the kde wallet prompt
disable auto login and set the wallet password to be the same as the user password. This will unlock the wallet on login and should keep it unlocked for the rest of your session (unless you configure it to close after a while which I haven't as you can see here
The problem with this is that I still get random wallet prompts while gaming
Set an empty password for the kde wallet. You can use auto login with this method since it doesn't rely on a password to unlock the wallet it should just automatically unlock. However for some reason if I set a blank password it just uses my user's password and from everything I have read this is NOT intended behavior (so guess I have to open a bug report upstream for that.)
The third option is just to disable the wallet all together. The problem with this is I have heard conflicting reports of whether this actually works some say it actually can cause random kde wallet prompts (and doesn't solve my issue like I said in the first post)
Have you tried all the Notes suggested in the Arch wiki? Eg Just to name a couple
If using KDE, one may want to disable Close when last application stops using it in KDE Wallet settings to prevent the wallet from being closed after each usage (WiFi-passphrase unlock, etc.).
It may be needed to remove the default created wallet first, thus removing all stored entries.
yes see my attached image
EDIT: didn't see your edit
and as for removing the wallet and re adding it that was suggested if it wasn't automatically unlocking on login. So i did definitely try that
Famous last words of a WinOS user, just before his computer was locked from a hacker!
Is that or other just games open source apps?
If so, check (or ask others to review) the source code for security related anomalies.
If not, ask the app vendor about this behavior.
In any way, I hope this is just a kwallet issue.
FYI if some process tries to access system resources, the system would try to authenticate the request. That’s kwallet’s job.
Well so far no more wallet prompts while gaming (this was in several games both Linux native and windows games ran through proton) so it looks like installing that package might have fixed it
from what I understand kde wallet stores credentials such as wifi password, session tokens form discord and other apps etc. It should only prompt the user for a password when
a. the wallet is currently locked
and
b. an application is trying to open that wallet. ( this should only be done by apps which store some needed credential in the wallet for example discord does this same for github desktop)
again I’m not questioning the security provided by kde wallet in fact I welcome it and do want it to be password protected.
What I don’t want is it trying to unlock itself while I’m in the middle of a game ( it should be unlocked anyway if I set it up to unlock upon user login)
figured out the issue the problem wasn't KDE wallet but gnome-keyring it works separately (and uses its own password) from KDE wallet. This is why setting up auto-unlock or disabling the KDE wallet was not working because the wallet that was being accessed while I'm gaming isn't KDE wallet it's gnome-keyring so If I want to do auto-unlock, for example, I need to implement it for both. If I want to go the empty password route I need to set both to an empty password
This is an application design issue and you should report upstream, to that application dev team.
As suspected, the source of the problem is the application :
As a side note, I can’t understand why users call their applications by their usage type (game).
The only difference is this and is not nice:
Wdym? I kinda confused by you using application and game interchangeably.
I was saying that while i am gaming i get a password prompt to unlock my keyring.
At first i thought it was the kde wallet that was trying to be unlocked and was confused as to why since
A. The only app that i use kde wallet with is obs-cli which runs at game start to enable the replay buffer (the prompt was after playing for few hours)
B. I tried disabling the kde wallet or putting an empty password
It turns out it was gnome keyring that was being accessed
Which now makes alot of sense because
A.more apps on my system use gnome keyring (as they don’t work with kde-wallet) such as GitHub desktop and jetbrain toolbox
B. Since gnome keyring is its own separate wallet app it’s probably not configured (and idk if it’s possible couldn’t find an option) to stay unlocked. So it probably locks after a while so when jetbrain toolbox for example (which is always running in the background) refreshers to update it tries to unlock the wallet hence the prompt while gaming.
I don’t understand why you keep referring to the game as an application as if it has the same capabilities and can access the keyring. Maybe a Linux game can but there is no way for a windows app to interface with a Linux only system unless it does through wine which doesn’t access the wallet
So in summary everything is working as it’s supposed there’s no malicious game trying to take over my system to make part of a bot net to take over the world kde wallet is working as expected and so is gnome keyring
EDIT: after re-reading the thread I realized i was making it sound like this issue only happens in games and it was the games fault. My bad.
I never thought the issue was exclusive to games. I was just using games as an example of when this happens and why it’s annoying. When I’m at my desk i don’t mind the prompts i just ignore them or close them.
The issue was that when I’m gaming I’m not at my desk and don’t have a keyboard and mouse making the prompts much more of an annoyance.
That’s why I was confused about your game remarks. Again my bad
Anyway the solution would be to either look for a way to prevent gnome keyring from auto closing or configure it with an empty password