I’m attempting to set up a userscript for qutebrowser that involves using the kernel’s key management via
keyctl, part of the
keyutils package. However,
keyctl doesn’t work as intended:
~ λ keyctl add user test payload @u 736202180 ~ λ keyctl show @u Keyring 466901436 --alswrv 1000 65534 keyring: _uid.1000 736202180 --alswrv 1000 100 \_ user: test ~ λ keyctl read 736202180 keyctl_read_alloc: Permission denied ~ λ sudo keyctl read 736202180 keyctl_read_alloc: Permission denied
This seems similar to this old systemd bug, but it’s long since resolved. Notably, using
@s works perfectly.
What do I do?