How chaganti997/secure-biometric-file-tranfer works
This repository implements a command-line client/server file-transfer application with optional authentication and AES encryption. A user selects client commands to list, download, or upload files; the client backend serializes requests and exchanges framed messages with the server, whose backend dispatches file operations against its server-side directory. Authentication establishes a session key separately from file commands. The graph reflects the excerpts and SOURCE INDEX references; no README capability descriptions are available, and some backend sections are unsampled, so unverified network dispatch is shown as dashed.
Main entry points: client_backend.py Client commands · server_backend.py Server commands · authentication.py Authentication · encryption_utils.py Cipher library
Components 12
Client workflow
- Client CLI
scripts/client.py - Client commands
scripts/client_backend.py - Local files
scripts/client_files
Server workflow
- Server listener
scripts/server.py - Server commands
scripts/server_backend.py - Server files
scripts/server_files
Security and protocol
- Authentication
scripts/authentication.py - Cipher library
scripts/encryption_utils.py - Byte conversion
scripts/byte_utils.py - Message framing
scripts/utils.py
Other components
- User
- TCP peer
Connections 21
- User → Client CLI: enters commands
scripts/client.py - Client CLI → Client commands: runs commands
scripts/client.py - Client CLI → Authentication: authenticates
scripts/client.py - Client commands → TCP peer: sends requests
scripts/client_backend.py - Client commands → Local files: reads and writes
scripts/client_backend.py - Client commands → Cipher library: encrypts files
scripts/client_backend.py - Client commands → Byte conversion: converts payloads
scripts/client_backend.py - Client commands → Message framing: frames messages
scripts/client_backend.py - Server listener → Server commands: receives commands
scripts/server.py - Server listener → Authentication: authenticates peers
scripts/server.py - Server listener → Message framing: receives responses
scripts/server.py - Server commands → TCP peer: handles requests
- Server commands → Server files: reads and writes
scripts/server_backend.py - Server commands → Cipher library: encrypts files
scripts/server_backend.py - Server commands → Byte conversion: converts payloads
scripts/server_backend.py - Server commands → Message framing: frames messages
scripts/server_backend.py - Authentication → Client commands: formats auth request
scripts/authentication.py - Authentication → Byte conversion: encodes auth messages
scripts/authentication.py - Authentication → Message framing: exchanges auth messages
scripts/authentication.py - Authentication → Cipher library: uses crypto support
scripts/authentication.py - Cipher library → Byte conversion: normalizes data
scripts/encryption_utils.py