CryptoTensors pipeline

The client encrypts and signs the model, the key broker service holds the master key, and the server verifies everything before it gets that key and decrypts. Press play or click any box.

Loading the pipeline diagram…

Every attack in the test suite is stopped before a weight is decrypted

Each row is a case from tests/test_security.py. Click one to see where the server or KBS refuses it.

AttackStopped atError
Read fileFormatError
Verify signatureSignatureError
Verify signatureSignatureError
Verify local policyPolicyError
KBS remote policy401
KBS remote policy403
Fine-grained decryptionGCM tag
Fine-grained decryptionHash check

The master key never sits on the server's disk

Where each secret lives across the three machines.

SecretClientKBSServer
master.keyCreates itStores itSealed per request, memory only
sign_key.pemOnly copy––
verify_key.pemCreates itRegisteredTrusted copy
DEKs, one per tensorGenerated, then wrapped–Unwrapped in memory
Requester token–Stores its hashserver.token

Drawn from the client/, kbs/ and server/ code in cryptotensors.zip.