On 2015-05-26 00:05, Alberto Bertogli wrote:
I hit this issue after upgrading a system that used keyscript to
Jessie,
and it would no longer boot with systemd [1].
That led me to look into adding a password agent for my use case,
and/or
creating a generic one that would invoke keyscripts as a workaround...
...
On Wed, Feb 05, 2014 at 12:16:00AM +0100, Lennart Poettering wrote:
On Thu, 30.01.14 10:40, David Härdeman (da...@hardeman.nu) wrote:
> b) the password agent implementation in systemd doesn't seem to
> handle binary strings (i.e. strings with '\0'), as can be seen by
> calls to e.g. "strlen()"...
>
> Whether making it binary safe would be a major change or not is
> something I haven't researched yet but it seems like a change that
> should be generally useful upstream...
I'd be OK with this, as discussed at FOSDEM, and I see you already
posted a ptach for this.
Has this been merged?
No, the last word was basically this thread:
http://lists.freedesktop.org/archives/systemd-devel/2014-July/021246.html
I don't have the time to implement a "complete" solution...
Is it safe for a password agent to write content with \0 back to the
socket?
Haven't checked but I'd be surprised if that was the case.
//David
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org