How anshull14/meshvault_testing works
MeshVault is a LAN-based CLI for splitting secrets into threshold shares, distributing them to peers, and reconstructing a secret from enough returned shares. The primary workflow runs through the CLI coordinators, which invoke the Shamir core and network discovery/transfer layers; transfer uses the secure channel for encrypted exchanges. README statements support the mDNS and cryptographic capability descriptions. Some indexed modules and alternate scripts were not excerpted, so their internals and unshown relationships are not inferred.
Main entry points: transfer.py TCP Transfer · split.py Split Coordinator · recover.py Recovery Coordinator · discovery.py Peer Discovery
Components 13
CLI Operations
- CLI Entrypoint
cli/__main__.py - Split Coordinator
cli/split.py - Recovery Coordinator
cli/recover.py
Threshold Sharing
- Shamir Core
crypto/sss.py
Peer Networking
- Peer Discovery
network/discovery.py - TCP Transfer
network/transfer.py - Concurrent Server
network/transfer2.py
Channel Security
- Secure Channel
crypto/channel.py - Integrity Utilities
crypto/integrity.py - Session Cache
crypto/session_cache.py
Other components
- CLI User
- LAN mDNS
- LAN Peers
Connections 15
- CLI User → CLI Entrypoint: runs commands
cli/__main__.py - CLI Entrypoint → Split Coordinator: dispatches split
cli/__main__.py - CLI Entrypoint → Recovery Coordinator: dispatches recovery
cli/__main__.py - Split Coordinator → Shamir Core: splits secret
cli/split.py - Split Coordinator → Peer Discovery: finds peers
cli/split.py - Split Coordinator → TCP Transfer: sends shares
cli/split.py - Recovery Coordinator → Peer Discovery: advertises service
cli/recover.py - Recovery Coordinator → TCP Transfer: receives shares
cli/recover.py - Recovery Coordinator → Shamir Core: reconstructs secret
cli/recover.py - Peer Discovery → LAN mDNS: browses and advertises
network/discovery.py - Peer Discovery → LAN Peers: discovers services
README.md - TCP Transfer → LAN Peers: transfers shares
README.md - TCP Transfer → Secure Channel: encrypts exchanges
network/transfer.py - Concurrent Server → Secure Channel: uses channel
network/transfer2.py - Concurrent Server → TCP Transfer: uses framing
network/transfer2.py