You are not logged in.
At startup the Discord client asks for the passphrase of my PGP secret key. I'm wondering which is the reason and for what purpose Discord wants to use my PGP key. I searched the net but I found no clear indication; also, I searched through the option to see if it's possible to disable this feature but I found nothing related to PGP keys. I'd appreciate any clarification about this. Thanks.
Last edited by snack (2022-03-09 14:46:24)
Offline
It uses libsecret (actually not 100% on that, but generally it will use the relevant chrome/electron integration with the usual keyrings) to access a password store for the login credentials, did you configure something in the direction of https://wiki.archlinux.org/title/GNOME/ … ntegration or so? Which exact dialog comes up and why do you think it asks for the PGP key and not the general keyring?
Last edited by V1del (2022-03-09 08:44:02)
Offline
I never entered the passphrase but still Discord automatically logs in to my account, so I don't clearly understand how it uses the password store (kwallet in my case) to store the credentials (maybe it uses an internal store if the system one is not accessible?).
About the link: I actually set up keyring integration as:
$ cat ~/.gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-qt
enable-ssh-supportFinally, I think it's asking for my PGP key because it reports my name and email (and BTW that's the key I used to encrypt the wallet).
Offline
Well yes, then it will ask for the PGP to access your wallet. I assume it does get access to your wallet and the pinentry dialog popping up is just lacking integration here? i.e. "something" pops up a pinentry dialog despite the wallet being accessible.
Offline
Well actually the wallet is not accessible when I launch discord, i.e. at Plasma session start via autostart. That's why I think the request window pops up. The real question is: since everything works for me even without giving Discord access to my wallet, how do I disable the pop-up of the pinentry window (just for Discord,, obviously)?
Offline
https://wiki.archlinux.org/title/Chromi … word_store -- try adding basic or so to the launcher options of discord.
Offline
Thanks for pointing me to the right wiki page! Starting discord with --password-store=basic it does not ask for PGP passphrase.
Offline