Update current issues/todo

This commit is contained in:
2026-06-04 15:16:11 +02:00
parent 427e47534a
commit 871e3f4d0a
2 changed files with 15 additions and 2 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ __pycache__
gatekeeper.db
.env
.coverage
result

View File

@@ -10,8 +10,20 @@ start prod server `uv run fastapi run`
You need to set services.pcscd.enable = true; for the smartcard reader to work
Issues:
- documentation missing
- `nix run` currently broken
- raspberry pi image not working
- no door state
- no door operations
- card system is dummy until I get hardware
- hardcoded secret key in auth.py -> centralise env var loading
- i don't like the error handling in the scanner - doesn't pass errors correctly
- cors for frontend: https://fastapi.tiangolo.com/tutorial/cors
- disableCards var isn't doing anything
- BackgroundScanner shouldn't get a single session for the whole lifecycle
- input validation maybe
- too many imports
- inconsistent logging (request logging?)
- rate limiting maybe
- pretty sure the controllers are doing too much stuff
- hardware call tests or sth
- .env.example