udisksctl unlock parameter for keyfiles

Raph gibboris at gmail.com
Wed Sep 12 12:29:28 PDT 2012


On Tue, Sep 11, 2012 at 03:17:47PM -0400, Sebastian Fischmeister wrote:
> Cryptsetup requires root access and I don't want that for my backup
> mechanism. Also I don't want to call sudo in a cron job. The encrypted
> drive should be mountable by a regular user (e.g., automounting an
> encrypted usb stick every 10 min and copy something onto it; I don't
> want to keep the stick mounted).

If you have more trust into a suid binary you can try cryptmount.
I personally use a combination of:
udisks-glue + ~/.udisks-glue.conf + cryptmount + /etc/cryptmount/cmtab
It's flexible enough to be fed with a passphrase or a keyfile,
interactively or not.


good luck


More information about the devkit-devel mailing list