Translation layer between two independent secure data transfer protocols.
hashkey-standalone — network protocol
hashkey-airgap — flash drive protocol
Bridge connects them without modifying either. Both protocols remain fully independent. Bridge activates only when crossover needed.
- Python 3.8 or higher
- hashkey-standalone cloned at
~/hashkey-standalone - hashkey-airgap cloned at
~/hashkey-airgap
No pip dependencies. All standard library.
git clone https://github.com/comanderanch/hashkey-bridge
cd hashkey-bridgeAlso required:
git clone https://github.com/comanderanch/hashkey-standalone ~/hashkey-standalone
git clone https://github.com/comanderanch/hashkey-airgap ~/hashkey-airgapMAC authorized network machine signs a trust token onto a flash drive. Drive gains network trust level. No network credentials stored on drive.
python bridge.py authorize \
/path/to/drive/drive_registry.json \
your_network_uid \
your_seed_phraseOutput:
Drive authorized by network station
Trust token written to drive registry
No credentials on drive — token only
When to use: You want a flash drive to be trusted by your network worker stations without putting network credentials onto the physical drive.
Air gapped machine prepared fold on drive. Drive delivered to network station. Bridge injects fold into network pipeline. Sends as hash via network protocol. Air gap never touched network.
python bridge.py inject \
/path/to/drive \
your_network_uid \
your_seed_phraseOutput:
Drive trust verified
Fold injected to network pipeline
Hash written to outgoing/
Ready for worker pickup
Air gap never touched the network
When to use: Isolated machine prepared a report or data package on flash drive. You need it to travel as network hash without the isolated machine ever connecting to anything.
MAC authorized network machine creates a new flash package with network trust already sealed at creation.
python bridge.py issue \
data.json \
/path/to/output/drive \
your_network_uid \
your_seed_phraseOutput:
Drive package created
Network trust sealed at creation
Ready for distribution
Max 2 machines can authorize
When to use: You need to provision flash drives for field deployment from an authorized network station without the originator present at each destination.
Most important use case.
Deploy AIA or any secure system in a fully air gapped unit. Zero network connection ever. Updates and reports via flash only.
# On isolated machine — clone airgap repo
git clone https://github.com/comanderanch/hashkey-airgapRegister machine to master drive:
cd /media/master_drive
python ~/hashkey-airgap/airgap_drive.py installUnit is now operational.
On Texas authorized machine:
python bridge.py issue \
operation_data.json \
/media/flash_drive \
ops_uid \
ops_seedHand drive to courier. Courier delivers to isolated unit.
On isolated unit:
cd /media/flash_drive
python ~/hashkey-airgap/airgap_drive.py openUnit receives operational data. Executes independently. No network ever touched.
On isolated unit — prepare report:
python ~/hashkey-airgap/airgap_drive.py update report.jsonHand drive back to courier. Courier returns to authorized station.
On authorized station:
python bridge.py inject \
/media/flash_drive \
ops_uid \
ops_seedReport now in network pipeline. Texas receives as hash transmission. Full report rebuilt.
Drive stolen in transit:
No authorized machine = sealed
Attacker gets noise
Isolated unit compromised:
Drive ID required
MAC required
DNA token layer underneath
Three factors — all required
Bad actor gets nothing
Network station compromised:
Flash drives untouched
Isolated units untouched
Bridge logs all actions
Alert system fires
Network protocol never modified. Airgap protocol never modified. Bridge is translation only.
Each build works completely without bridge. Bridge adds capability — not dependency.
bridge.py three crossover actions
machine_auth.py from standalone — network auth
hashkey_verifier.py from standalone — verify hashes
airgap_drive.py from airgap — drive operations
color_fold_encoder.py shared encoder
data_to_fold.py shared fold builder
docs/ARCHITECTURE.md
docs/ISOLATED_UNIT_PROTOCOL.md
docs/THREE_BUILD_MAP.md
docs/SESSION_FOLD_THREE_BUILDS.md
- github.com/comanderanch/hashkey-standalone
- github.com/comanderanch/hashkey-airgap
- github.com/comanderanch/ai-core
- github.com/comanderanch/dna-tokenizer
MIT License — see LICENSE file Free to use, modify, and distribute with attribution.
This software is provided as-is for research and testing purposes. See DISCLAIMER.md for full terms. Use at your own risk. Not affiliated with Anthropic. Independent research project. Anthony Hagerty — Haskell Texas — 2026
Anthony Hagerty — Independent Systems Architect Haskell Texas — No retreat. No surrender.