17 Commits

Author SHA1 Message Date
Oliver Falk
368aa5bf27 feat: enhance security with improved password hashing and logging
- Add Argon2PasswordHasher with high security settings as primary hasher
- Implement fallback to PBKDF2PasswordHasher for CentOS 7/Python 3.6 compatibility
- Add argon2-cffi dependency to requirements.txt
- Replace all print statements with proper logging calls across codebase
- Implement comprehensive logging configuration with multiple handlers:
  * ivatar.log - General application logs (INFO level)
  * ivatar_debug.log - Detailed debug logs (DEBUG level)
  * security.log - Security events (WARNING level)
- Add configurable LOGS_DIR setting with local config override support
- Create config_local.py.example with logging configuration examples
- Fix code quality issues (flake8, black formatting, import conflicts)
- Maintain backward compatibility with existing password hashes

Security improvements:
- New passwords use Argon2 (memory-hard, ASIC-resistant)
- Enhanced PBKDF2 iterations for fallback scenarios
- Structured logging for security monitoring and debugging
- Production-ready configuration with flexible log locations

Tests: 85/113 passing (failures due to external DNS/API dependencies)
Code quality: All pre-commit hooks passing
2025-10-15 15:13:09 +02:00
Oliver Falk
dcbd2c5df5 Patch release - no major changes
Testing fixes and stabilization
Test improvement / speed up
PostgreSQL side container for building
2025-02-07 10:43:37 +00:00
Oliver Falk
ae3c6beed4 Update testing 2023-01-03 07:41:51 +00:00
Oliver Falk
1aa40fecab Ignore a few more files 2022-10-28 14:59:20 +02:00
Oliver Falk
bc6b7313ec Ignore a few moew local files 2022-09-16 13:48:28 +02:00
Oliver Falk
547b570f5d Redesigned profile page 2021-09-17 09:09:18 +00:00
Oliver Falk
fe201deccb Ignore compiled translations 2019-02-18 13:03:06 +01:00
Oliver Falk
f998ce6707 Local config shoulnd't be in git repo => Closes #38 2019-02-12 15:49:59 +01:00
Oliver Falk
5c4f4ce16e Ignore locally installed node modules 2019-01-08 11:42:01 +01:00
Oliver Falk
6ed2f866fb Both may come up during development 2018-07-16 11:09:01 +02:00
Oliver Falk
2a21ce51b6 Ignore .pyc 2018-05-23 10:43:43 +02:00
Oliver Falk
e165976c79 Ignore pyre dirs 2018-05-16 13:18:54 +02:00
Oliver Falk
bdb27455df Ignore virtualenv 2018-05-15 16:12:13 +02:00
Oliver Falk
2c101c6dbc Ignore html coverage report 2018-05-11 14:08:25 +02:00
Oliver Falk
341fd96fa4 Ignore coverage 2018-05-11 14:07:29 +02:00
Oliver Falk
8d0a49a667 Ignore vim swap files 2018-05-11 14:01:37 +02:00
Oliver Falk
9ff9159f8b Initial commit 2018-05-07 15:00:03 +02:00