Spyke

Disable annoying authentication request on Electron apps?

Hello guys, I have been annoyed at this pop-up as I have to exit it every time I open any Electron (chromium based apps). Does anyone here know how to disable it?

Thanks in advance.

View original on lemmy.zip

Okay, that looks like gnome-keyring.

I'm order for it to login automatically, it needs to be named login the same as your username(that is kwallet) and have the same password.

Then when you launch electron apps, it's already unlocked and doesn't need a password.

If you need a GUI, try seahorse.

Don't know what distro you in, but you can get some intel here: https://wiki.archlinux.org/title/GNOME/Keyring#PAM_step

Questionable alternative solution: remove the password from the wallet. I don't run one, but I've got drive encryption and rarely if ever save passwords.

21

Thanks for the answer. You are correct, it is gnome-keyring and I did have searhorse installed on Arch.

I followed the wiki to the letter but failed several times, it seemed like it was creating a new login key-ring every time on login. I will research it in more details some other time.

Thanks again mate!

4

Login keyring should automatically unlock upon first user login after boot, maybe you want to see if it is there, and troubleshoot that.

Possible reason that the login keyring is locked is: automatic login by bypassing password, or fingerprint login (only the first login, after that, unlock suspended machine should be fine) both will not unlock your login keyring.

If you need to keep these login, which I honestly don't recommend (for a general purpose computer), then you can either

  1. delete the login keyring password (by setting it to empty in gnome password and keys or keyrack)
  2. set the electron password store to basic.

Both of these will store your password and sensitive information in plain text, meaning all program with access to your user space will have unrestricted access to these informations.

5

For Chromium it's

chromium --password-store=basic  

This should also be possible to set somewhere deep inside settings, in Chromium's equivalent of about:config.

3

This isn't the most secure...

However, if you aren't storing passwords it should be fine

1
lemmy.ca

I don’t have the answer, but does it go away if you disable the password manager?

2

That would probably make it that there is no prompt but it is not a viable solution anyway for me. Thanks.

1

You reached the end