-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programai-servicePython FastAPI microservice for AI verification, OCR, and privacy scrubbing.Python FastAPI microservice for AI verification, OCR, and privacy scrubbing.good first issueGood for newcomersGood for newcomerspython
Description
Complexity Score: 150
Description
Ensure that only the NestJS backend can call the Python AI layer.
Requirements
- Implement a middleware in FastAPI to verify HMAC signatures on all incoming requests.
- Use a shared secret key stored in environment variables.
- Reject requests with invalid or missing signatures with a
403 Forbidden. - Add documentation on how to generate the signature in the NestJS backend.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programai-servicePython FastAPI microservice for AI verification, OCR, and privacy scrubbing.Python FastAPI microservice for AI verification, OCR, and privacy scrubbing.good first issueGood for newcomersGood for newcomerspython