Closed catthou closed 9 months ago
@catthou Could you check if using these recommended command line arguments fixes the problem for you?
https://www.electronjs.org/docs/latest/api/safe-storage#safestoragegetselectedstoragebackend-linux
Hi, thanks for the response.
I tried using the command line flag provided in the linked documentation and I thought it worked. I was mistaken. I used F-Chat-Rising-linux-x64.AppImage --password-store="gnome-libsecret"
but maybe I had been running the wrong executable, because it doesn't seem to work now using 1.24.2. I'll try a few more things out, but if you have any explicit recommendations, I'd love to hear them.
Okay, I guess there was some issue with using different executables from different folders, even of the same version, but I eventually stopped encountering any irregularities and using fchat.AppImage --password-store="gnome-libsecret"
seems to work like it's supposed to. If it's expected/desired to leave it up to electron to handle the keyring, then you can close this as resolved.
I'm running openbox on gentoo linux, using the f-chat rising appimage. Up to 1.23.* my password gets saved in my login keyring using gnome-keyring and thus gets autofilled into F-chat when I open it. But since the move to safeStorage, the password is no longer saved between sessions.
Ideally, using gnome-keyring (or any other Secret Service provider) is the preferred option since locking and unlocking the keyring is handled by PAM, linux's system-wide authentication helper.