mattydebie/bitwarden-rofi

can not access keyctl, permission denied

jrvgr opened this issue · 13 comments

jrvgr commented

when i try to open my vault i get a error from keyctl and i dont know what to do
image

jrvgr commented

in sudo it give the same errors

What distro are you running?

d3vv3 commented

Hi! I have the same issue.
I am on Debian 10. Once I type my Master Password, it gives me a Could not load items, followed by

keyctl_set_timeout: Permission denied
keyctl_read_alloc: Permission denied

on the terminal (I started bwmenu on the terminal for debugging).

Lets see if we can fix this!

I'll boot up a Debian VM and see what's going on.

I'm able to get the problem to replicate on Debian 10.1 on Mate (pretty sure it's xorg) with xclip, xsel, and xdotool installed. I also tried logging in as root and seeing if that resolved anything, which didn't work.

Might be an issue with systemd? Just speculating. I'll try on arch.

d3vv3 commented

I will check tomorrow and update you, any news with arch?

d3vv3 commented

Any news with arch or ubuntu (or any other systemd)? I couldn't achieve anything on my side...

Same issue with NixOS

➜  bitwarden-rofi git:(master) ✗ systemctl show user-runtime-dir@1000.service | grep KeyringMode                                                                         
KeyringMode=private
➜  bitwarden-rofi git:(master) ✗ systemctl show user@500.service | grep KeyringMode                                                                                      
KeyringMode=inherit

I guess the problem in 'KeyringMode=private`

@virivongithub Why you closed that? Do you find a solution?

d3vv3 commented

Please update the issue, how did you solve it (if you did)?

Same here:

System info

  • Arch
  • bwmenu 0.4
  • bw 1.8.0

When it happens?

  1. After logout
  2. Random moments (most frequent)
  3. When using root (I consider it as a good behavior)

Please reopen this issue