How aashrithapuli/secure-digilocker works
Secure DigiLocker is a single-file Streamlit academic prototype. A user enters a mobile number, then completes PIN, OTP, and dynamic-pattern checks before reaching a simulated document dashboard. Authentication stages, session-state management, and dashboard capabilities all live in app.py; the excerpt does not expose every transition or the performance-analysis implementation, so those relationships are omitted. The README documents prototype capabilities, while sampled text confirms there are no real DigiLocker or SMS integrations.
Main entry points: app.py Session state
Components 8
Authentication
- Session state
app.py - OTP checks
app.py - Pattern checks
app.py - PIN check
app.py
Application
- Document dashboard
app.py - Demo documents
app.py - Performance analysis
app.py
Other components
- User
Connections 8
- User → Session state: starts login
app.py - Session state → PIN check: sets PIN stage
app.py - OTP checks → Session state: updates verification
app.py - Pattern checks → Session state: updates verification
app.py - User → OTP checks: submits OTP
app.py - User → Pattern checks: enters pattern
app.py - User → Document dashboard: views documents
app.py - Document dashboard → Demo documents: displays
app.py