hearmeneigh / fchat-rising

A heavily modded F-Chat 3.0 client for F-List
https://hearmeneigh.github.io/fchat-rising/
MIT License
40 stars 19 forks source link

Password not saving since 1.24 #251

Closed catthou closed 9 months ago

catthou commented 1 year ago

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.

hearmeneigh commented 1 year 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

catthou commented 1 year ago

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.

catthou commented 1 year ago

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.