Description
API keys are stored in plaintext in the database. Implement bcrypt hashing with key prefix for identification.
Acceptance Criteria
Technical Scope
- api/src/services/
- api/src/middleware/auth.ts
- Edge: key leakage in logs, timing attacks on comparison, bcrypt performance on high-traffic auth
Description
API keys are stored in plaintext in the database. Implement bcrypt hashing with key prefix for identification.
Acceptance Criteria
Technical Scope