You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! This is because khefin drops privileges, for reasons which are no longer relevant. I have a fix for this that will form part of version 0.6.1, landing in the next couple of hours.
Describe the bug
For root with
sudo -i
, with keyfile at mode 400,khefin
can not read the keyfile, also this root can notenrol a key
To Reproduce
Steps to reproduce the first behavior:
sudo -i
chown root:root keyfile
chmod 400 keyfile
khefin generate -f keyfile
khefin: Unable to open file at keyfile
Steps to reproduce the second behavior:
sudo -i
khefin enrol -d /dev/hidraw0 -f keyfile
khefin: Unable to open file at keyfile
Expected behavior
Open the keyfile
Environment:
Additional context
su -
root, the above commands can not reproduce this bug.The text was updated successfully, but these errors were encountered: