Closed thithib closed 3 years ago
Without udisks ykfde-open
can't be used unprivileged, do you want it to check for udisks/expect while running unprivileged and bail-out if they aren't available?
Precisely, yes.
@thithib please test if https://github.com/agherzan/yubikey-full-disk-encryption/pull/71 works for you.
It works for me, thanks!
You may want to redirect stderr
too, although I don't know in what cases "diagnostic messages" mentioned in the manual would be output with command -v
...
I added stderr
redirect, thx.
Hi and thanks a lot for this great and quite useful project!
I've been wondering if you would consider making the use of
udisksctl
optional. At least on Arch Linux, udisks2 brings and pulls many things I don't need, just to allow unprivileged use ofykfde-open
while your tool is otherwise attractively simple and standalone.I think it would be rather straightforward to move
udisks2
(and thusexpect
too) tooptdepends
, and check ifudisksctl
andexpect
are available on the system at runtime when reaching the unprivileged use case. What do you think?