udisksctl unlock parameter for keyfiles

Martin Pitt martin.pitt at ubuntu.com
Wed Sep 12 07:09:11 PDT 2012


Hello Sebastian,

Sebastian Fischmeister [2012-09-12  9:32 -0400]:
> Anyways, it seems that udisksctl doesn't support this feature.

Right, it always reads passphrases from the terminal.

> Is it difficult to mount an encrypted drive through dbus-send? It
> seems that there is an awful lot of details in the parameters that
> need to be just right.

In that case it seems easier to use libudisks, possibly from
introspection. udisks' test suite unlocks/mounts encrypted devices
from Python:

  http://cgit.freedesktop.org/udisks/tree/src/tests/integration-test#n1096

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the devkit-devel mailing list