fvtt-player-client icon indicating copy to clipboard operation
fvtt-player-client copied to clipboard

Error when saving password on Linux

Open OmegaRogue opened this issue 2 years ago • 5 comments

Saving a password on Linux doesn't seem to work and leads to this error popup: image

OmegaRogue avatar Aug 19 '23 08:08 OmegaRogue

I'm investigating this, this issue can be assigned to me, I created it to track the progress

OmegaRogue avatar Aug 19 '23 08:08 OmegaRogue

This might be related to me not running a desktop environment and the automatic detection from electron for some reason not finding the gnome keyring daemon running

OmegaRogue avatar Aug 19 '23 09:08 OmegaRogue

https://www.electronjs.org/docs/latest/api/safe-storage This seems to occur when running an unrecognized desktop environment, to fix it, you need to run it with one of these command line flags, or build it with a line like

app.commandLine.appendSwitch("password-store", "gnome")

included after the other similar statements in main.js

OmegaRogue avatar Aug 26 '23 16:08 OmegaRogue

I'm not sure if this issue is even fixable then without adding custom logic to properly detect available password stores, the way electron does it isn't very good

OmegaRogue avatar Aug 26 '23 16:08 OmegaRogue

I’m using sway, Gnome keyring is up and running. I run into the same error trying to save a user password, --password-store="gnome-libsecret" fixes that one while --password-store="basic" still errors out, FYI.

The reason I’m posting though is that I simply cannot store the admin password in any way. No error message, but it neither uses nor stores the password. That is with either of the command line options.

alterNERDtive avatar Apr 20 '24 10:04 alterNERDtive

moved to https://github.com/OmegaRogue/fvtt-player-client, project mantained by new user

theripper93 avatar Dec 14 '24 23:12 theripper93