Luca Sacchi Ricciardi
|
54e81162df
|
feat(security): T13 implement bcrypt password hashing
- Add password hashing with bcrypt (12 rounds)
- Implement verify_password with timing-safe comparison
- Add validate_password_strength with comprehensive rules
- Min 12 chars, uppercase, lowercase, digit, special char
- 19 comprehensive tests with 100% coverage
- Handle TypeError for non-string inputs
|
2026-04-07 12:06:38 +02:00 |
|
Luca Sacchi Ricciardi
|
2fdd9d16fd
|
feat(security): T12 implement AES-256 encryption service
- Add EncryptionService with AES-256-GCM via cryptography.fernet
- Implement PBKDF2HMAC key derivation with SHA256 (100k iterations)
- Deterministic salt derived from master_key for consistency
- Methods: encrypt(), decrypt() with proper error handling
- 12 comprehensive tests with 100% coverage
- Handle InvalidToken, TypeError edge cases
|
2026-04-07 12:03:45 +02:00 |
|