element-hq / element-hq/element-web

Password Manager required to open up Element

Open
#32,299 3 comments 0 reactions 0 assignees View on GitHub
A-Authentication A-Electron O-Uncommon S-Major T-Defect Z-Linux
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### 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:
- have a setting for this, so it's optional
- display a warning, when I just close keepass rather than loading forever
- Make it more obvious (if possible). There might be some Standard to "Request access to keepass" similary as with polkit. It's just weird and confusing if my password manager pops up and I have no idea why and what element wants from it.

### Steps to reproduce

- Use Keepass
- Open up Element

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](https://user-images.githubusercontent.com/33933142/110002681-f6015600-7d15-11eb-97f6-59e204f6e71a.png)

### Version information

- **Platform**: desktop

For the desktop app:

- **OS**: Arch Linux
- **Version**: 1.7.21

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.