Re: [dev] [ANNOUNCE] slock-1.3

From: hiro <>
Date: Mon, 15 Feb 2016 13:47:51 +0100

capture-all-keyboard-shit-and-show-stupid-rainbows |
while read line
 if [ "$line" = `cat pass` ]
   killall capture-all-keyboard-shit-and-show-stupid-rainbows
   mpg123 fart.mp3

Tried to fit passwd hashing in there, but it would need something that
ensures sha1sum gets eof after one line and echo passwd | sha1sum is
insecure. Easier in C.

I personally don't need this password to be hashed. It's more
important to have multiple passwords for different escalations than to
have hashing. Chmod 700 is enough for my purposes.

On 2/15/16, Kamil Cholewiński <> wrote:
>> slock < password-file
> You now have a password in cleartext, which we know is a bad idea. It
> would be better to hash it. Congrats, /etc/passwd & friends reinvented.
Received on Mon Feb 15 2016 - 13:47:51 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 15 2016 - 14:00:07 CET