Closed GoogleCodeExporter closed 9 years ago
I am not a cryptsetup developer,just read the bug report and decided to respond
since i know a thing or two.
Its not possible to interface with cryptsetup if you are not root privileged.
That amounts to your report as being invalid since you are reporting problems
when you use cryptsetup without proper privileges.
you should also report here problems you encounter when you use cryptsetup
directly. Your problems are coming from "mount.crypt" and hence you should
report the problem to them.
Since its not possible to interface with cryptseup without root privileges,you
should file a bug report with "mount.crypt" people and tell them they should
first check if a user is properly privileged before doing anything with
cryptsetup.Them not doing this is the root cause of misleading and confusing
errors you are getting.
Original comment by mhogomch...@gmail.com
on 27 Mar 2014 at 2:18
Yes, please report bug for pam_mount. If there is a problem with libcryptsetup,
I will fix it. But it seems it is just wrong use of it.
(Superuser privilege requirement of device-mapper kernel subsystem, one day it
will be fixed but it is long way to go... But you should get proper error
saying "running as non-root user". But application must properly configure
logging of course. See dm_init_context() which is called in status call. Maybe
it should return -EPERM error in this case... I'll make not to TODO for this.)
BTW please note that "got a passphrase of X characters long" is security
problem, you are leaking potential information about password this way. Such
message must not appear in log or output.
Original comment by gmazyl...@gmail.com
on 27 Mar 2014 at 6:37
Original issue reported on code.google.com by
raphael....@gmail.com
on 25 Mar 2014 at 12:53