Re: [hackers] [PATCH] [slock] Remove faulty example and add a section on security considerations

From: FRIGN <dev_AT_frign.de>
Date: Wed, 28 Sep 2016 22:09:27 +0200

On Wed, 28 Sep 2016 22:04:05 +0200
Klemens Nanni <kl3_AT_posteo.org> wrote:

Hey Klemens,

> It's implicitly blocked by capturing the keys being pressed and
> executing optional steps such as shutting down upon input.

what if somebody remaps this functionality? This is possible with Xkb
sadly.

> Fair point, I shall fix this.

You cannot fix this at this level. As Markus already pointed out, you
have to carefully handle the options not to "destroy" the layout at the
end. Also, what if some automated script changes the options regularly?
You cannot cache the options reliably.

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Wed Sep 28 2016 - 22:09:27 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 28 2016 - 22:12:20 CEST