Security #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The nuki-hub and raspi will for the forseable future be on the (public) malobeo wifi network.
That means we should secure against ppl
I don't know what the attack surface is regarding MITM in a network with WPA2/3 but everything should probably also use tls.
Protection against MITM attacks is linked to malobeo/infrastructure#40. Putting such devices onto a segregated network reduces the attack surface a lot. Since door access is kind of critical i suggest that we take care of this in the near future.
Regarding tls on the internal network we can use the same approach as with our
.hqdomains. This should at least work for gatekeeper.As discussed yesterday i suggest splitting the scanner and gatekeeper functionality in the future - meaning we can host
gatekeeperas microvm, and thescannercomponent runs on the rpi. When a card gets scanned, the scanner component could send access requests with card details to angatekeeperapi endpoint. Gatekeeper verifies the request and opens the door if the request is valid.This way on the scanner (rpi) no sensitive information besides an api token is stored, meaning a compromised device wont gain full controll.