How hmidani-abdelilah/secureauth---python-login-system-with-argon2 works
SecureAuth is a desktop login application. The user enters credentials in the CustomTkinter sign-in screen; the UI calls authentication logic, which checks the SQLite user record and verifies its Argon2 hash, tracks failed attempts, and records successful login time. On success, the UI displays a dashboard with account information and password-change and logout actions. The README also describes these capabilities. Evidence is limited to the README and the two excerpted Python files.
Main entry points: security.py Authentication and attempts · main.py Sign-in and dashboard
Components 6
Desktop interface
- Sign-in and dashboard
main.py - Password change
main.py
Authentication
- Authentication and attempts
security.py - Argon2 hashing
security.py
Account persistence
- User records
security.py
Other components
- User
Connections 11
- User → Sign-in and dashboard: enters credentials
main.py - Sign-in and dashboard → Authentication and attempts: verifies login
main.py - Authentication and attempts → Argon2 hashing: verifies hash
security.py - Authentication and attempts → User records: reads and updates
security.py - Authentication and attempts → Sign-in and dashboard: returns result
main.py - Sign-in and dashboard → Authentication and attempts: loads account info
main.py - User → Password change: requests password change
main.py - Password change → Authentication and attempts: changes password
main.py - Authentication and attempts → Argon2 hashing: hashes new password
security.py - Authentication and attempts → User records: stores password hash
security.py - Sign-in and dashboard → Sign-in and dashboard: shows dashboard or logout
main.py