element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.16k stars 267 forks source link

Password Manager required to open up Element #874

Open Leon0402 opened 3 years ago

Leon0402 commented 3 years ago

Description

When I open up Element, my password Manager KeePass is opened up as well and asks me to enter my password. If I don't enter it, element doesn't load. I'm not quite sure if this is intentional as I could imagine that as a security feature. But I couldn't find any info regarding it. Furthermore if it's in fact intentional it might be nice to:

Steps to reproduce

Describe how what happens differs from what you expected.

Instead of Element just opening, keepass is opened as well and asks me to unlock my password store (although it doesn't say explicitly for what). If I don't unlock the database, element just keeps loading forever.

Furthermore, if I close KeePass, there is no chance to get into Element anymore. If I open up again KeePass and unlock it's still loading. If I close element and restart, it's still loading. Actually, it gives the following message on the command line then:

/home/leon/.config/Element exists: yes /home/leon/.config/Riot exists: no Other instance detected: exiting And in fact element is still running in the background somwhere. So it seems closing the app in this "loading loop" doesn't work.

Klling it doesn't help. I need to kill element and electon. And then it actually opens up without unlocking KeePass.

So really a lot of strange things going on here. I think it would help first to clarify if there is such a feature with KeePass. It could also be possible that multiple bugs are mixed up in this one.

Logs being sent: yes/no

image

Version information

For the desktop app:

t3chguy commented 3 years ago

Element is simply asking your system keychain for the secrets the keychain is storing on its behalf. Keepass is acting as your system keychain.

Related https://github.com/vector-im/element-desktop/issues/926

Leon0402 commented 3 years ago

I assumed such a thing, thanks for the clarification.

I guess, besides vector-im/element-desktop#926 (which is important), there is still something wrong here.

t3chguy commented 1 year ago

Related https://github.com/vector-im/element-desktop/issues/688 https://github.com/vector-im/element-desktop/issues/878