Currently the Relay-based PEP Plugin depends on pigpio, which needs root priviledges to access the gpio pins via DMA.
The current implication of that is the need for $ sudo ./acsri when starting the Embedded Server with an enabled Relay plugin.
This is a terrible practice in terms of security.
We must find a way to r/w the gpio pins without root priviledges. Probably by getting rid of pigpio and writing into the GPIO registers without any third party libs.
Currently the Relay-based PEP Plugin depends on pigpio, which needs root priviledges to access the gpio pins via DMA.
The current implication of that is the need for
$ sudo ./acsri
when starting the Embedded Server with an enabled Relay plugin.This is a terrible practice in terms of security. We must find a way to r/w the gpio pins without root priviledges. Probably by getting rid of pigpio and writing into the GPIO registers without any third party libs.