Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-15 Thread Marc Haber
On Fri, Aug 15, 2014 at 01:30:32PM +0200, Lennart Poettering wrote: > On Fri, 15.08.14 12:56, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > > > Is it possible to write a PasswordAgent in shell? Example code please > > > > ;) > > > > > > Probably possible, after all bash allows you to talk

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-15 Thread Lennart Poettering
On Fri, 15.08.14 12:56, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > > Is it possible to write a PasswordAgent in shell? Example code please > > > ;) > > > > Probably possible, after all bash allows you to talk to unix sockets and > > stuff. And you could probably put the protocol togeth

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-15 Thread Marc Haber
On Thu, Aug 14, 2014 at 08:18:10PM +0200, Lennart Poettering wrote: > On Thu, 14.08.14 20:10, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > > Not aware of an C++ code. There's a vala one, and of course the one we > > > ship in systemd itself in C, but c++ i cannot help you with, sorry. > >

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread Lennart Poettering
On Thu, 14.08.14 20:10, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > Not aware of an C++ code. There's a vala one, and of course the one we > > ship in systemd itself in C, but c++ i cannot help you with, sorry. > > Is it possible to write a PasswordAgent in shell? Example code please >

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread Marc Haber
Hi, On Thu, Aug 14, 2014 at 08:09:05PM +0200, David Herrmann wrote: > That is, to solve your problem, I'd recommend to make systemd allow > external scripts like "keyscript=" before placing *.ask files (or some > other hookup or configuration, if scripts are not suitable for that). If systemd wou

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread Marc Haber
Hi Lennart, thanks for your thoughts. On Thu, Aug 14, 2014 at 07:44:59PM +0200, Lennart Poettering wrote: > On Mon, 21.07.14 10:46, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > (4) > > My PasswordAgent indicates taking responsibility by unlinking the > > ask.xxx file from /run/systemd/as

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread David Herrmann
Hi On Thu, Aug 14, 2014 at 7:44 PM, Lennart Poettering wrote: > On Mon, 21.07.14 10:46, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > Heya, > >> I have read the thread (from 2012?) where those things were discussed >> here and I understand that I should replace my keyscript with a >> pass

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread Lennart Poettering
On Mon, 21.07.14 10:46, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: Heya, > I have read the thread (from 2012?) where those things were discussed > here and I understand that I should replace my keyscript with a > passwort agent. Things would then work like this: There's currently no strea

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-14 Thread Marc Haber
On Wed, Aug 13, 2014 at 06:42:13PM +0200, Lennart Poettering wrote: > On Wed, 13.08.14 16:43, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > did I reach the wrong mailing list? Is there better forum to get > > systemd working with something resembling my current setup? > > No, this is the r

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-13 Thread Lennart Poettering
On Wed, 13.08.14 16:43, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > > Hi, > > did I reach the wrong mailing list? Is there better forum to get > systemd working with something resembling my current setup? No, this is the right place. But I just have a huge backlog of threads to reply to

Re: [systemd-devel] Thoughts about /etc/crypttab keyscript options

2014-08-13 Thread Marc Haber
Hi, did I reach the wrong mailing list? Is there better forum to get systemd working with something resembling my current setup? Greetings Marc On Mon, Jul 21, 2014 at 10:46:21AM +0200, Marc Haber wrote: > From: Marc Haber > Subject: Thoughts about /etc/crypttab keyscript options > To: systemd