How money-ape/cipherlan works
CipherLAN is a GUI and CLI for room-based encrypted file transfer over a LAN. Its principal workflow is: create or authenticate a local room, select and encrypt a file, fragment and send it to a peer, store received ciphertext, then explicitly authenticate and open or download the restored file. The graph preserves the separate room-authentication, cryptography, transfer-storage, discovery, and firewall-policy responsibilities. Some receive, resume, and decrypt implementation details are unsampled; edges for documented behavior cite the README where appropriate.
Main entry points: cli.py GUI and CLI · net.py Receive server · auth.py Room credentials · enc.py Cryptographic operations
Components 14
User application
- GUI and CLI
cli.py - Room session
cli.py - Transfer history
cli.py
Room security
- Room credentials
auth.py - Cryptographic operations
enc.py
Transfer lifecycle
- Send transfer
net.py - Manifest and fragmentation
transfer.py - Encrypted transfer storage
transfer.py - Decrypt and restore
cli.py
LAN networking
- Receive server
net.py - Peer discovery
net.py
Network policy
- Firewall rules
fwall.py
Other components
- User
- LAN peer
Connections 25
- User → GUI and CLI: uses
README.md - GUI and CLI → Room session: opens room
cli.py - GUI and CLI → Room credentials: creates room
cli.py - Room session → Room credentials: verifies credentials
cli.py - Room credentials → Cryptographic operations: derives verifier
auth.py - GUI and CLI → Peer discovery: scans peers
cli.py - GUI and CLI → Receive server: starts receiver
cli.py - Room session → Firewall rules: checks destination
cli.py - Room session → Send transfer: requests transfer
cli.py - Send transfer → Room credentials: derives room key
net.py - Send transfer → Cryptographic operations: encrypts file
net.py - Send transfer → Manifest and fragmentation: builds and splits
net.py - Send transfer → LAN peer: sends blobs
README.md - LAN peer → Receive server: sends blobs
README.md - Receive server → Room credentials: loads verifier
net.py - Receive server → Cryptographic operations: derives session key
net.py - Receive server → Manifest and fragmentation: assembles and verifies
net.py - Receive server → Encrypted transfer storage: writes blobs
net.py - Receive server → GUI and CLI: reports receipt
cli.py - GUI and CLI → Decrypt and restore: requests open or download
README.md - Decrypt and restore → Room credentials: checks room access
README.md - Decrypt and restore → Encrypted transfer storage: reads encrypted blobs
README.md - Decrypt and restore → Cryptographic operations: decrypts payload
README.md - Decrypt and restore → Transfer history: records action
cli.py - GUI and CLI → Transfer history: records receipt
cli.py