Re: [dev] slock with non-system auth

From: markus schnalke <meillo_AT_marmaro.de>
Date: Sun, 20 Dec 2009 11:53:02 +0100

[2009-12-19 21:37] pancake <pancake_AT_youterm.com>
>
> I have done two patches for slock.
>
> The first simplifying the use of cpp and the other adding user
> defined password.

The password should probably not be a clear text string inside the
binary file, as one can easily read it with `strings slock'.

Is there a secure hash function in standard C? I think not. Linking
some external library for this, seems to be overkill.

Maybe we could give slock a system account to check the password
against. Thus it must not to be the own account, but can be a special
slock system user, which exists just for this task.

Unfortunately only root users will have the ability to set different
passwords then.

meillo
Received on Sun Dec 20 2009 - 10:53:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Dec 20 2009 - 11:00:03 UTC