Re: udisksctl unlock parameter for keyfiles

2012-09-12 Thread Sebastian Fischmeister
Thanks for the discussion so far. > However, the worrying part here is that in order to do this > noninteractively, you need to store the cleartext passphrase at a > place where the cron job can read it. What's the point of encrypting > your disks when the password is on a (proverbial) sticker rig

Re: udisksctl unlock parameter for keyfiles

2012-09-11 Thread Sebastian Fischmeister
Tue, Sep 11, 2012 at 12:05 PM, Sebastian Fischmeister > wrote: > > This means one cannot script mounting an encrypted drive with > > udiskctl. Is there a way around it? > > Is there any reason you're not just using cryptsetup(8) for this? > > With the way it

udisksctl unlock parameter for keyfiles

2012-09-11 Thread Sebastian Fischmeister
Hi, Is there a way to pass the keyfile to the udiskctl unlock command? It doesn't seems so, because handle_command_unlock_lock() always asks for a passphrase in udisksctl.c:1248 This means one cannot script mounting an encrypted drive with udiskctl. Is there a way around it? Thanks, Sebastian