OutLayer — TEE Attestation

Verifiable off-chain compute for NEAR · outlayer.ai ↗

Full per-aspect verification for app bda68594659fb33b6e3769de90dcd11b28a68a50.

One running instance of this app on a self-hosted Intel TDX host. Every TDX quote is Intel-DCAP-verified (signature + TCB, via Intel's PCS) and cross-checked against the on-chain approved measurements — independently re-verifiable.
instance 1 of 2 testnet-keystore-0193-12 Keystore testnet ✓ Verified
testnet-keystore-0193-12 Keystore testnet instance 1 of 2 running · up 2days 1h 31m 17s
last push 3m ago app_id bda68594659fb33b6e3769de90dcd11b28a68a50 vm_id 16075bb9-15a2-466e-ac91-669367756497 attested via Intel DCAP (Intel PCS collateral) KMS-in-TEE ✓ gateway bda68594659fb33b6e3769de90dcd11b28a68a50-8081.dstack.outlayer.ai
2

TDX Hardware — Attestation

The hardware-signed TDX quote, verified against Intel's PCS collateral — the Intel DCAP signature chain, not Intel Trust Authority.

Signature ✓ TCB UpToDate Measurements ✓ On-chain ✓ approved (dao.outlayer.testnet)
mrtd7fe60787222bd394cb516abca2435f22f035ab2cc9c0a4b4b3b148e46297f3d931a237b72f359052c6e657d8c1409173
rtmr0fe45f42d57517926995d14bb73928424a5fcaa6a53c428c122165679e64e3dbc78c9c6552dba799c9709538c65bc8ff7
rtmr14ae609807c765916a31d724786ed74bcb97e168a9d937b04936aeef2015c907eba5ac352c6bcd749c246fd62ffb659ec
rtmr2764489f277a8540189761e72b4238ba36d4d647e11bd958d8ab5522af2a4867b0ff63e06b0c4967f1857236244040a5d
rtmr3492e84944333f10c2d7427109e4e14c932cd2f2ae3d6255cce63a90672294bc80af56db08f2cefbd5c3cd2fe92b74f1d
report_data3ca177bd580718c608a68077e67ab1d1da58e71158bc8f0f8c1f3013d66707eb0221b1cfab24b669eadeb537f4fb4d880476e3c6123c8eb304e2c04ee077b616
mr_seam346bc77a1846cac214dd2e8edeb9ee4349449d6c3f9ff2c52149a634c27b7fd1bd314c2ef6b973eeebd55742952531a1
mr_signer_seam000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
tee_tcb_svn0e010400000000000000000000000000
td_attributes0000001000000000
xfame702060000000000
fmspc B0C06F000000
raw Intel TDX quote (hex)
040002008100000000000000939a7233f79c4ca9940a0db3957f06070a70698a1e9d04b2c4d8d756a5da5721000000000e010400000000000000000000000000346bc77a1846cac214dd2e8edeb9ee4349449d6c3f9ff2c52149a634c27b7fd1bd314c2ef6b973eeebd55742952531a100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000e7020600000000007fe60787222bd394cb516abca2435f22f035ab2cc9c0a4b4b3b148e46297f3d931a237b72f359052c6e657d8c140917301bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe45f42d57517926995d14bb73928424a5fcaa6a53c428c122165679e64e3dbc78c9c6552dba799c9709538c65bc8ff74ae609807c765916a31d724786ed74bcb97e168a9d937b04936aeef2015c907eba5ac352c6bcd749c246fd62ffb659ec764489f277a8540189761e72b4238ba36d4d647e11bd958d8ab5522af2a4867b0ff63e06b0c4967f1857236244040a5d492e84944333f10c2d7427109e4e14c932cd2f2ae3d6255cce63a90672294bc80af56db08f2cefbd5c3cd2fe92b74f1d3ca177bd580718c608a68077e67ab1d1da58e71158bc8f0f8c1f3013d66707eb0221b1cfab24b669eadeb537f4fb4d880476e3c6123c8eb304e2c04ee077b616cc100000d3e1b958a4e6b5e68ddbc16c1a2ef6ad792a89b90b2e4f8b15d2bcd046d95b437d6238aecea7a79a0c79da7a8bbfc7f9b550040320fc2405cb77f0219aa5fd8fffbdc02d29e681562605cc758a65e873f068217804a256c678a15343e72f8b3f9f42b9d44d018713649bdccb0279c8930399078491a4ab33990b23fd987343960600461000000404191b04ff0006000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000e700000000000000e5a3a7b5d830c2953b98534c6c59a3a34fdc34e933f7f5898f0a85cf08846bca0000000000000000000000000000000000000000000000000000000000000000dc9e2a7c6f948f17474e34a7fc43ed030f7c1563f1babddf6340c82e0e54a8c500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000645a6bec02c28eca73026584c079befc9d37e6fa11fe5e0f240db18a2c7b70910000000000000000000000000000000000000000000000000000000000000000b6dd5fbdc3fb0554471a2c7a30ee712cff5d9fe46a17d81a357ed788c0975a97fcd600eee8eae493ef736c3c8340c7ef61b6fcd39ac5dc01fae7271be23053062000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f05005e0e00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494538444343424a6167417749424167495557576756566c2b6478713232783158436a576e69652f4845327a4577436759494b6f5a497a6a3045417749770a634445694d434147413155454177775a535735305a577767553064594946424453794251624746305a6d397962534244515445614d42674741315545436777520a535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d51737743515944565151490a44414a445154454c4d416b474131554542684d4356564d774868634e4d6a59774e6a49304d5441304d5441305768634e4d7a4d774e6a49304d5441304d5441300a576a42774d534977494159445651514444426c4a626e526c624342545231676755454e4c49454e6c636e52705a6d6c6a5958526c4d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d34394177454841304941424268660a6259335937394a4e76496d53774c5a6c395742717355747958706f50444a592b43424c526c323631664d3650547a7a6e2f6b4d4e48414b64345754714e3167500a466465546878426437413454497a584a5442756a67674d4d4d4949444344416642674e5648534d4547444157674253566231334e765276683655424a796454300a4d383442567776655644427242674e56485238455a4442694d47436758714263686c706f64485277637a6f764c32467761533530636e567a6447566b633256790a646d6c6a5a584d75615735305a577775593239744c334e6e6543396a5a584a3061575a7059324630615739754c3359304c33426a61324e796244396a595431770a624746305a6d397962535a6c626d4e765a476c755a7a316b5a584977485159445652304f42425945464632786963526263414f697a527369637242302b4979410a465969494d41344741315564447745422f775145417749477744414d42674e5648524d4241663845416a41414d4949434f51594a4b6f5a496876684e415130420a424949434b6a4343416959774867594b4b6f5a496876684e41513042415151513655423973394155344551773248306a74454279517a434341574d47436971470a534962345451454e41514977676746544d42414743797147534962345451454e41514942416745454d42414743797147534962345451454e41514943416745450a4d42414743797147534962345451454e41514944416745434d42414743797147534962345451454e41514945416745434d42414743797147534962345451454e0a41514946416745454d42414743797147534962345451454e41514947416745424d42414743797147534962345451454e41514948416745414d424147437971470a534962345451454e41514949416745464d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745410a4d42414743797147534962345451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e0a4151494e416745414d42414743797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d424147437971470a534962345451454e41514951416745414d42414743797147534962345451454e415149524167454c4d42384743797147534962345451454e41514953424241450a42414943424145414251414141414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151450a42724441627741414144415042676f71686b69472b45304244514546436745424d42344743697147534962345451454e4151594545455871485a4a42335245730a636d357a68667551676334775241594b4b6f5a496876684e41513042427a41324d42414743797147534962345451454e415163424151482f4d424147437971470a534962345451454e415163434151482f4d42414743797147534962345451454e415163444151482f4d416f4743437147534d343942414d43413067414d4555430a4951437478734a6364586c4e2b395370734c6373426e494a4a65446f7a774e4179677a4c51594c38776f5339326749674e527168344730374d4b352b306c45690a63433748696a42786a626c77677a41714b63365470424a563468633d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c6a4343416a32674177494241674956414a567658633239472b487051456e4a3150517a7a674658433935554d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4455774d5442614677307a4d7a41314d6a45784d4455774d5442614d484178496a41670a42674e5642414d4d47556c756447567349464e4857434251513073675547786864475a76636d306751304578476a415942674e5642416f4d45556c75644756730a49454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b474131554543417743513045780a437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741454e53422f377432316c58534f0a3243757a7078773734654a423732457944476757357258437478327456544c7136684b6b367a2b5569525a436e71523770734f766771466553786c6d546c4a6c0a65546d693257597a33714f42757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f536347724442530a42674e5648523845537a424a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b633256790a646d6c6a5a584d75615735305a577775593239744c306c756447567355306459556d397664454e424c6d526c636a416442674e5648513445466751556c5739640a7a62306234656c4153636e553944504f4156634c336c517744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159420a4166384341514177436759494b6f5a497a6a30454177494452774177524149675873566b6930772b6936565947573355462f32327561586530594a446a3155650a6e412b546a44316169356343494359623153416d4435786b66545670766f34556f79695359787244574c6d5552344349394e4b7966504e2b0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a7a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4455784d466f58445451354d54497a4d54497a4e546b314f566f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d526c636a416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a3045417749445351417752674968414f572f35516b522b533943695344634e6f6f774c7550524c735747662f59693747535839344267775477670a41694541344a306c72486f4d732b586f356f2f7358364f39515778485241765a55474f6452513763767152586171493d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280300000001000008004073797374656d2d707265706172696e6700030000000100000800186170702d696450bda68594659fb33b6e3769de90dcd11b28a68a5003000000010000080030636f6d706f73652d6861736880bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d0300000001000008002c696e7374616e63652d69645046b208009cd84a92af28ee1628ab4e79a6a0490903000000010000080030626f6f742d6d722d646f6e6500030000000100000800186d722d6b6d73807b50661a7f307c707c2a94f1d7b9f21b5a180afb6a8228f005f8e70880e856ce030000000100000800346f732d696d6167652d68617368808db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd030000000100000800306b65792d70726f766964657231037b226e616d65223a226b6d73222c226964223a223330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030343338666530366237316338346163356139306366643333303136636530663134356230663536633564613236323832373766646532613531663535326264323532636262633530323563663834656338653139616664653036363937646561316565353366303664393438356431393261353463643861653361306566666664227d0300000001000008002873746f726167652d66730c7a66730300000001000008003073797374656d2d726561647900284073797374656d2d707265706172696e6700186170702d696450bda68594659fb33b6e3769de90dcd11b28a68a5030636f6d706f73652d6861736880bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d2c696e7374616e63652d69645046b208009cd84a92af28ee1628ab4e79a6a0490930626f6f742d6d722d646f6e6500186d722d6b6d73807b50661a7f307c707c2a94f1d7b9f21b5a180afb6a8228f005f8e70880e856ce346f732d696d6167652d68617368808db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd306b65792d70726f766964657231037b226e616d65223a226b6d73222c226964223a223330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030343338666530366237316338346163356139306366643333303136636530663134356230663536633564613236323832373766646532613531663535326264323532636262633530323563663834656338653139616664653036363937646561316565353366303664393438356431393261353463643861653361306566666664227d2873746f726167652d66730c7a66733073797374656d2d7265616479003ca177bd580718c608a68077e67ab1d1da58e71158bc8f0f8c1f3013d66707eb0221b1cfab24b669eadeb537f4fb4d880476e3c6123c8eb304e2c04ee077b6161d057b226f735f696d6167655f68617368223a2238646234306362323330303864363231333636386235383136373032643130306233376238353961386135626664313864393338616533613162333731356264222c226370755f636f756e74223a342c226d656d6f72795f73697a65223a323134373438333634382c2271656d755f76657273696f6e223a22382e322e32222c227063695f686f6c6536345f73697a65223a302c22687567657061676573223a66616c73652c226e756d5f67707573223a302c226e756d5f6e767377697463686573223a302c22686f74706c75675f6f6666223a66616c73652c22696d616765223a2264737461636b2d302e352e3132222c22686f73745f73686172655f6d6f6465223a223970222c226f766d665f76617269616e74223a22707265323032353035222c22737065635f76657273696f6e223a317d
independently verify this quote ↗
3

Source Code — Compose

The measured app-compose that pins exactly which container images run.

ContainerImageDigestVerify
keystore docker.io/outlayer/near-outlayer-keystoreOutLayer-built sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723 Sigstore ↗ release ↗

Each digest above is the one measured into RTMR3, so the attestation binds the running code to this exact image; the Sigstore link ties that digest back to its build provenance.

app-compose (measured source identity)
{
  "manifest_version": 2,
  "name": "outlayer-keystore-testnet-0.1.93",
  "runner": "docker-compose",
  "docker_compose_file": "# OutLayer keystore — deployed as a dstack CVM on a self-hosted TDX node.\n#\n# - image is pinned BY DIGEST (verifiable, Sigstore-attested release build) so the\n#   app-compose hash (measured into RTMR3) is deterministic. 40-deploy-keystore.sh\n#   rewrites this digest for the chosen --version from the GitHub release.\n# - secrets are NOT here: env VALUES come via `vmm-cli ... --env-file keystore.env`\n#   (encrypted by the per-node KMS + embedded as a ciphertext blob). The compose text\n#   keeps only ${VAR} references, so plaintext secrets never enter the measured compose;\n#   dstack decrypts the env inside the CVM and docker-compose substitutes at runtime.\n# - the keystore is an INBOUND axum HTTP server on 8081 (callers: workers + coordinator).\n#   It authenticates every caller itself (Bearer token + TEE challenge-response), so the\n#   transport in front of it only needs to terminate TLS / route — no auth logic there.\n# - 8081 is exposed by the deploy script via a LOOPBACK host port only (node-local smoke\n#   tests); production traffic arrives over the WireGuard mesh / dstack-gateway, NOT this\n#   port. The compose just declares the container port; the host mapping is set at deploy.\n# - /var/run/dstack.sock is provided by dstack inside the CVM (TDX quotes for registration).\n# - single keystore service: no COMPILATION_MODE / executor knobs — this is the keystore,\n#   not the worker.\n\nservices:\n  keystore:\n    image: docker.io/outlayer/near-outlayer-keystore@sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723\n    restart: on-failure:5\n    environment:\n      SERVER_HOST: ${SERVER_HOST}\n      SERVER_PORT: ${SERVER_PORT}\n      NEAR_NETWORK: ${NEAR_NETWORK}\n      NEAR_RPC_URL: ${NEAR_RPC_URL}\n      OFFCHAINVM_CONTRACT_ID: ${OFFCHAINVM_CONTRACT_ID}\n      NEAR_CONTRACT_ID: ${NEAR_CONTRACT_ID}\n      ALLOWED_WORKER_TOKEN_HASHES: ${ALLOWED_WORKER_TOKEN_HASHES}\n      ALLOWED_COORDINATOR_TOKEN_HASHES: ${ALLOWED_COORDINATOR_TOKEN_HASHES}\n      # TEE + DAO registration\n      TEE_MODE: ${TEE_MODE}\n      USE_TEE_REGISTRATION: ${USE_TEE_REGISTRATION}\n      # Signature scheme for the keystore's registration key: ed25519 (default) or ml-dsa-65.\n      KEYSTORE_KEY_TYPE: ${KEYSTORE_KEY_TYPE:-ed25519}\n      # Which worker signature schemes this keystore accepts for TEE-session auth.\n      TEE_ALLOWED_KEY_TYPES: ${TEE_ALLOWED_KEY_TYPES:-ed25519}\n      OPERATOR_ACCOUNT_ID: ${OPERATOR_ACCOUNT_ID}\n      KEYSTORE_DAO_CONTRACT: ${KEYSTORE_DAO_CONTRACT}\n      # Init account self-submits the keystore registration (submit_keystore_registration) on boot.\n      INIT_ACCOUNT_ID: ${INIT_ACCOUNT_ID}\n      INIT_ACCOUNT_PRIVATE_KEY: ${INIT_ACCOUNT_PRIVATE_KEY}\n      # MPC CKD (Chain Key Derivation) — the keystore pulls its master after the DAO vote passes.\n      MPC_CONTRACT_ID: ${MPC_CONTRACT_ID}\n      MPC_DOMAIN_ID: ${MPC_DOMAIN_ID}\n      MPC_PUBLIC_KEY: ${MPC_PUBLIC_KEY}\n      # dstack guest socket (TDX quotes). Standard dstack socket path inside the CVM.\n      DSTACK_SIMULATOR_ENDPOINT: ${DSTACK_SIMULATOR_ENDPOINT}\n      LOG_MASTER_KEY_HASH: ${LOG_MASTER_KEY_HASH:-false}\n      RUST_LOG: ${RUST_LOG:-info,keystore_worker=debug}\n      # Do NOT set KEYSTORE_MASTER_SECRET — it is incompatible with TEE mode (the master is\n      # derived in-TEE from MPC CKD). Setting it would override the TEE-derived master.\n    # Publish 8081 to the CVM's host network so callers reach the keystore: the dstack-gateway\n    # connects to the keystore over the WireGuard mesh (gateway -> <wg-ip>:8081) and the deploy's\n    # loopback smoke-test port maps to the guest's :8081 — both need the container port on the CVM\n    # network, not buried inside the container's docker netns. Without this the gateway gets\n    # \"connection refused\" (os error 111).\n    ports:\n      - \"${SERVER_PORT}:${SERVER_PORT}\"\n    volumes:\n      - /var/run/dstack.sock:/var/run/dstack.sock:ro\n",
  "kms_enabled": true,
  "gateway_enabled": true,
  "local_key_provider_enabled": false,
  "key_provider_id": "",
  "public_logs": true,
  "public_sysinfo": false,
  "allowed_envs": [
    "SERVER_HOST",
    "SERVER_PORT",
    "NEAR_NETWORK",
    "NEAR_RPC_URL",
    "OFFCHAINVM_CONTRACT_ID",
    "NEAR_CONTRACT_ID",
    "ALLOWED_WORKER_TOKEN_HASHES",
    "ALLOWED_COORDINATOR_TOKEN_HASHES",
    "KEYSTORE_DAO_CONTRACT",
    "INIT_ACCOUNT_ID",
    "INIT_ACCOUNT_PRIVATE_KEY",
    "WORKER_KEY_TYPE",
    "TEE_ALLOWED_KEY_TYPES",
    "USE_TEE_REGISTRATION",
    "LOG_MASTER_KEY_HASH",
    "TEE_MODE",
    "OPERATOR_ACCOUNT_ID",
    "DSTACK_SIMULATOR_ENDPOINT",
    "RUST_LOG",
    "MPC_CONTRACT_ID",
    "MPC_DOMAIN_ID",
    "MPC_PUBLIC_KEY"
  ],
  "no_instance_id": false,
  "secure_time": false,
  "public_tcbinfo": true,
  "port_policy": {
    "restrict_mode": true,
    "ports": [
      {
        "port": 8081
      }
    ]
  }
}
image_digests docker.io/outlayer/near-outlayer-keystore@sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723
4

Network — Zero Trust Gateway

TLS terminates inside the TEE — the gateway never sees plaintext.

guarded domainbda68594659fb33b6e3769de90dcd11b28a68a50-8081.dstack.outlayer.ai
5

App OS

The measured dstack guest OS image. The version is read live from each CVM's vm_config; the os_image_hash is the precise, measured OS identity. dstack releases ↗.

os_versiondstack-0.5.12
os_image_hash8db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd
mr_aggregated03b305de0d1b2001617c3b3b6d81f926a1cd26cbc9f317709afd5fe89b37708e
compose_hashbda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d
6

KMS — deploy-time key provisioning

Deploy-time only. Governed by an on-chain contract, the dstack KMS releases this CVM's keys at boot only if its measurements are approved — those keys decrypt the deployment env file (so secrets never enter the measured compose) and provision the CVM's RA-TLS identity + disk encryption. This secures how the worker is deployed; it does not hold OutLayer's application or user secrets — those run through the OutLayer keystore (master derived in-TEE via MPC), not the dstack KMS.

key_provider kms
instance 2 of 2 testnet-keystore-0193-13 Keystore testnet ✓ Verified
testnet-keystore-0193-13 Keystore testnet instance 2 of 2 running · up 2days 2h 1m 33s
last push 2m ago app_id bda68594659fb33b6e3769de90dcd11b28a68a50 vm_id 3ab55b61-0811-4c09-8244-cbed342b4788 attested via Intel DCAP (Intel PCS collateral) KMS-in-TEE ✓ gateway bda68594659fb33b6e3769de90dcd11b28a68a50-8081.dstack.outlayer.ai
2

TDX Hardware — Attestation

The hardware-signed TDX quote, verified against Intel's PCS collateral — the Intel DCAP signature chain, not Intel Trust Authority.

Signature ✓ TCB UpToDate Measurements ✓ On-chain ✓ approved (dao.outlayer.testnet)
mrtd7fe60787222bd394cb516abca2435f22f035ab2cc9c0a4b4b3b148e46297f3d931a237b72f359052c6e657d8c1409173
rtmr0fe45f42d57517926995d14bb73928424a5fcaa6a53c428c122165679e64e3dbc78c9c6552dba799c9709538c65bc8ff7
rtmr14ae609807c765916a31d724786ed74bcb97e168a9d937b04936aeef2015c907eba5ac352c6bcd749c246fd62ffb659ec
rtmr2764489f277a8540189761e72b4238ba36d4d647e11bd958d8ab5522af2a4867b0ff63e06b0c4967f1857236244040a5d
rtmr3676c5bd845e71d73e1abea3ea2fd933f89ffea042f08f5c3635d0cbadc8fd1e28f48c9f348cbb52fb1d52e0fda1d578c
report_data191ffa1af3432da8fd702f341008df19bab491e9787538a15627f31c01b04cd1d43e0110bf292143e29c4bc48d36eb93244688ddf540de7d8fc8cf5acc622245
mr_seam346bc77a1846cac214dd2e8edeb9ee4349449d6c3f9ff2c52149a634c27b7fd1bd314c2ef6b973eeebd55742952531a1
mr_signer_seam000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
tee_tcb_svn0e010400000000000000000000000000
td_attributes0000001000000000
xfame702060000000000
fmspc B0C06F000000
raw Intel TDX quote (hex)
040002008100000000000000939a7233f79c4ca9940a0db3957f06070f5653fb3a17c211c1a8b923dadde72d000000000e010400000000000000000000000000346bc77a1846cac214dd2e8edeb9ee4349449d6c3f9ff2c52149a634c27b7fd1bd314c2ef6b973eeebd55742952531a100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000e7020600000000007fe60787222bd394cb516abca2435f22f035ab2cc9c0a4b4b3b148e46297f3d931a237b72f359052c6e657d8c140917301bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe45f42d57517926995d14bb73928424a5fcaa6a53c428c122165679e64e3dbc78c9c6552dba799c9709538c65bc8ff74ae609807c765916a31d724786ed74bcb97e168a9d937b04936aeef2015c907eba5ac352c6bcd749c246fd62ffb659ec764489f277a8540189761e72b4238ba36d4d647e11bd958d8ab5522af2a4867b0ff63e06b0c4967f1857236244040a5d676c5bd845e71d73e1abea3ea2fd933f89ffea042f08f5c3635d0cbadc8fd1e28f48c9f348cbb52fb1d52e0fda1d578c191ffa1af3432da8fd702f341008df19bab491e9787538a15627f31c01b04cd1d43e0110bf292143e29c4bc48d36eb93244688ddf540de7d8fc8cf5acc622245cc1000005d5a43e8f273bcc20d4f6b48f35ab21f4992fb8f1056dda4b2005aec8ca737955fc71bdc1edfc906280be50a1875fbafb92b21a3a827b29a6769416858ea9ec0ef1f1cf8feb233c0acc81deb150a55ff8b2c71d81ec0662ca2615cd8eb42e143b5d1834b936a2e1872e843b8eaa068eecb242566a6c7aec44eab07a84e91098c0600461000000404191b04ff0006000000000000000000000000000000000000000000000000000000000000000000000000000000001500000000000000e700000000000000e5a3a7b5d830c2953b98534c6c59a3a34fdc34e933f7f5898f0a85cf08846bca0000000000000000000000000000000000000000000000000000000000000000dc9e2a7c6f948f17474e34a7fc43ed030f7c1563f1babddf6340c82e0e54a8c500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9311fe5e0a216fba47ef5034404cadf87d8a0b80fbeaa6459b8943bac9b66c3000000000000000000000000000000000000000000000000000000000000000073d0fab68d7abc7a56b45f573e178e4025591fb70a5dc78a47411140187ee6a7980981d4562b32da2e6b355a94c95d92bd54dd56d3872d4019f742e270ace8d92000000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f05005e0e00002d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494538444343424a61674177494241674955557a44746f56506f624e4b5443552f5145786c584b4f67536c4c5977436759494b6f5a497a6a3045417749770a634445694d434147413155454177775a535735305a577767553064594946424453794251624746305a6d397962534244515445614d42674741315545436777520a535735305a577767513239796347397959585270623234784644415342674e564241634d43314e68626e526849454e7359584a684d51737743515944565151490a44414a445154454c4d416b474131554542684d4356564d774868634e4d6a59774e6a45334d4467304d6a45785768634e4d7a4d774e6a45334d4467304d6a45780a576a42774d534977494159445651514444426c4a626e526c624342545231676755454e4c49454e6c636e52705a6d6c6a5958526c4d526f77474159445651514b0a4442464a626e526c6243424462334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e560a4241674d416b4e424d517377435159445651514745774a56557a425a4d424d4742797147534d34394167454743437147534d343941774548413049414243346d0a6c676c3368572f32796a3364307433714c744258317967705a49673753786a463348676946382f30724367527368787a6f585264776730573457476c494e68700a2b3672596f37327247783566676c704d4136576a67674d4d4d4949444344416642674e5648534d4547444157674253566231334e765276683655424a796454300a4d383442567776655644427242674e56485238455a4442694d47436758714263686c706f64485277637a6f764c32467761533530636e567a6447566b633256790a646d6c6a5a584d75615735305a577775593239744c334e6e6543396a5a584a3061575a7059324630615739754c3359304c33426a61324e796244396a595431770a624746305a6d397962535a6c626d4e765a476c755a7a316b5a584977485159445652304f42425945464438344e6e2b6f334d422b44586c6f666847654d6f34430a4a5047584d41344741315564447745422f775145417749477744414d42674e5648524d4241663845416a41414d4949434f51594a4b6f5a496876684e415130420a424949434b6a4343416959774867594b4b6f5a496876684e41513042415151516e7a5a794c2f434f52656d764f546c354c6e61733554434341574d47436971470a534962345451454e41514977676746544d42414743797147534962345451454e41514942416745454d42414743797147534962345451454e41514943416745450a4d42414743797147534962345451454e41514944416745434d42414743797147534962345451454e41514945416745434d42414743797147534962345451454e0a41514946416745454d42414743797147534962345451454e41514947416745424d42414743797147534962345451454e41514948416745414d424147437971470a534962345451454e41514949416745464d42414743797147534962345451454e4151494a416745414d42414743797147534962345451454e4151494b416745410a4d42414743797147534962345451454e4151494c416745414d42414743797147534962345451454e4151494d416745414d42414743797147534962345451454e0a4151494e416745414d42414743797147534962345451454e4151494f416745414d42414743797147534962345451454e41514950416745414d424147437971470a534962345451454e41514951416745414d42414743797147534962345451454e415149524167454c4d42384743797147534962345451454e41514953424241450a42414943424145414251414141414141414141414d42414743697147534962345451454e41514d45416741414d42514743697147534962345451454e415151450a42724441627741414144415042676f71686b69472b45304244514546436745424d42344743697147534962345451454e41515945454d30396e37352b774a714b0a5038742f2f5841594e5251775241594b4b6f5a496876684e41513042427a41324d42414743797147534962345451454e415163424151482f4d424147437971470a534962345451454e41516343415145414d42414743797147534962345451454e415163444151482f4d416f4743437147534d343942414d43413067414d4555430a494835436278595a49324f7041737a525a355751556f4d766530716f543244476c4759366a577a6875625869416945417267425362462b774569687445434f6c0a3537386e4576595a52697772474c6244413964686373756f3362343d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436c6a4343416a32674177494241674956414a567658633239472b487051456e4a3150517a7a674658433935554d416f4743437147534d343942414d430a4d476778476a415942674e5642414d4d45556c756447567349464e48574342536232393049454e424d526f77474159445651514b4442464a626e526c624342440a62334a7762334a6864476c76626a45554d424947413155454277774c553246756447456751327868636d4578437a414a42674e564241674d416b4e424d5173770a435159445651514745774a56557a4165467730784f4441314d6a45784d4455774d5442614677307a4d7a41314d6a45784d4455774d5442614d484178496a41670a42674e5642414d4d47556c756447567349464e4857434251513073675547786864475a76636d306751304578476a415942674e5642416f4d45556c75644756730a49454e76636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b474131554543417743513045780a437a414a42674e5642415954416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741454e53422f377432316c58534f0a3243757a7078773734654a423732457944476757357258437478327456544c7136684b6b367a2b5569525a436e71523770734f766771466553786c6d546c4a6c0a65546d693257597a33714f42757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f536347724442530a42674e5648523845537a424a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b633256790a646d6c6a5a584d75615735305a577775593239744c306c756447567355306459556d397664454e424c6d526c636a416442674e5648513445466751556c5739640a7a62306234656c4153636e553944504f4156634c336c517744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159420a4166384341514177436759494b6f5a497a6a30454177494452774177524149675873566b6930772b6936565947573355462f32327561586530594a446a3155650a6e412b546a44316169356343494359623153416d4435786b66545670766f34556f79695359787244574c6d5552344349394e4b7966504e2b0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949436a7a4343416a53674177494241674955496d554d316c71644e496e7a6737535655723951477a6b6e42717777436759494b6f5a497a6a3045417749770a614445614d4267474131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e760a636e4276636d4630615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a0a42674e5642415954416c56544d423458445445344d4455794d5445774e4455784d466f58445451354d54497a4d54497a4e546b314f566f77614445614d4267470a4131554541777752535735305a5777675530645949464a766233516751304578476a415942674e5642416f4d45556c756447567349454e76636e4276636d46300a615739754d5251774567594456515148444174545957353059534244624746795954454c4d416b47413155454341774351304578437a414a42674e56424159540a416c56544d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414543366e45774d4449595a4f6a2f69505773437a61454b69370a314f694f534c52466857476a626e42564a66566e6b59347533496a6b4459594c304d784f346d717379596a6c42616c54565978465032734a424b357a6c4b4f420a757a43427544416642674e5648534d4547444157674251695a517a575770303069664f44744a5653763141624f5363477244425342674e5648523845537a424a0a4d45656752614244686b466f64485277637a6f764c324e6c636e52705a6d6c6a5958526c63793530636e567a6447566b63325679646d6c6a5a584d75615735300a5a577775593239744c306c756447567355306459556d397664454e424c6d526c636a416442674e564851344546675155496d554d316c71644e496e7a673753560a55723951477a6b6e4271777744675944565230504151482f42415144416745474d42494741315564457745422f7751494d4159424166384341514577436759490a4b6f5a497a6a3045417749445351417752674968414f572f35516b522b533943695344634e6f6f774c7550524c735747662f59693747535839344267775477670a41694541344a306c72486f4d732b586f356f2f7358364f39515778485241765a55474f6452513763767152586171493d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280300000001000008004073797374656d2d707265706172696e6700030000000100000800186170702d696450bda68594659fb33b6e3769de90dcd11b28a68a5003000000010000080030636f6d706f73652d6861736880bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d0300000001000008002c696e7374616e63652d696450d85c84bc35f559a6feb6d5654fe3d5b577e43a8903000000010000080030626f6f742d6d722d646f6e6500030000000100000800186d722d6b6d7380482a383ebad47a96ed38b6249b365e597be1e6a0a5b8738262d7c679d8a5e0c5030000000100000800346f732d696d6167652d68617368808db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd030000000100000800306b65792d70726f766964657231037b226e616d65223a226b6d73222c226964223a223330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030343866303563303639663562613732396664363637346137396665356132666330373334373963363164353338653337643837396239356631303235633833303865356539326364616166323131346664636134623934376330333930646561353736383564373265623136613464666139616237616532323233383261643732227d0300000001000008002873746f726167652d66730c7a66730300000001000008003073797374656d2d726561647900284073797374656d2d707265706172696e6700186170702d696450bda68594659fb33b6e3769de90dcd11b28a68a5030636f6d706f73652d6861736880bda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d2c696e7374616e63652d696450d85c84bc35f559a6feb6d5654fe3d5b577e43a8930626f6f742d6d722d646f6e6500186d722d6b6d7380482a383ebad47a96ed38b6249b365e597be1e6a0a5b8738262d7c679d8a5e0c5346f732d696d6167652d68617368808db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd306b65792d70726f766964657231037b226e616d65223a226b6d73222c226964223a223330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030343866303563303639663562613732396664363637346137396665356132666330373334373963363164353338653337643837396239356631303235633833303865356539326364616166323131346664636134623934376330333930646561353736383564373265623136613464666139616237616532323233383261643732227d2873746f726167652d66730c7a66733073797374656d2d726561647900191ffa1af3432da8fd702f341008df19bab491e9787538a15627f31c01b04cd1d43e0110bf292143e29c4bc48d36eb93244688ddf540de7d8fc8cf5acc6222451d057b226f735f696d6167655f68617368223a2238646234306362323330303864363231333636386235383136373032643130306233376238353961386135626664313864393338616533613162333731356264222c226370755f636f756e74223a342c226d656d6f72795f73697a65223a323134373438333634382c2271656d755f76657273696f6e223a22382e322e32222c227063695f686f6c6536345f73697a65223a302c22687567657061676573223a66616c73652c226e756d5f67707573223a302c226e756d5f6e767377697463686573223a302c22686f74706c75675f6f6666223a66616c73652c22696d616765223a2264737461636b2d302e352e3132222c22686f73745f73686172655f6d6f6465223a223970222c226f766d665f76617269616e74223a22707265323032353035222c22737065635f76657273696f6e223a317d
independently verify this quote ↗
3

Source Code — Compose

The measured app-compose that pins exactly which container images run.

ContainerImageDigestVerify
keystore docker.io/outlayer/near-outlayer-keystoreOutLayer-built sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723 Sigstore ↗ release ↗

Each digest above is the one measured into RTMR3, so the attestation binds the running code to this exact image; the Sigstore link ties that digest back to its build provenance.

app-compose (measured source identity)
{
  "manifest_version": 2,
  "name": "outlayer-keystore-testnet-0.1.93",
  "runner": "docker-compose",
  "docker_compose_file": "# OutLayer keystore — deployed as a dstack CVM on a self-hosted TDX node.\n#\n# - image is pinned BY DIGEST (verifiable, Sigstore-attested release build) so the\n#   app-compose hash (measured into RTMR3) is deterministic. 40-deploy-keystore.sh\n#   rewrites this digest for the chosen --version from the GitHub release.\n# - secrets are NOT here: env VALUES come via `vmm-cli ... --env-file keystore.env`\n#   (encrypted by the per-node KMS + embedded as a ciphertext blob). The compose text\n#   keeps only ${VAR} references, so plaintext secrets never enter the measured compose;\n#   dstack decrypts the env inside the CVM and docker-compose substitutes at runtime.\n# - the keystore is an INBOUND axum HTTP server on 8081 (callers: workers + coordinator).\n#   It authenticates every caller itself (Bearer token + TEE challenge-response), so the\n#   transport in front of it only needs to terminate TLS / route — no auth logic there.\n# - 8081 is exposed by the deploy script via a LOOPBACK host port only (node-local smoke\n#   tests); production traffic arrives over the WireGuard mesh / dstack-gateway, NOT this\n#   port. The compose just declares the container port; the host mapping is set at deploy.\n# - /var/run/dstack.sock is provided by dstack inside the CVM (TDX quotes for registration).\n# - single keystore service: no COMPILATION_MODE / executor knobs — this is the keystore,\n#   not the worker.\n\nservices:\n  keystore:\n    image: docker.io/outlayer/near-outlayer-keystore@sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723\n    restart: on-failure:5\n    environment:\n      SERVER_HOST: ${SERVER_HOST}\n      SERVER_PORT: ${SERVER_PORT}\n      NEAR_NETWORK: ${NEAR_NETWORK}\n      NEAR_RPC_URL: ${NEAR_RPC_URL}\n      OFFCHAINVM_CONTRACT_ID: ${OFFCHAINVM_CONTRACT_ID}\n      NEAR_CONTRACT_ID: ${NEAR_CONTRACT_ID}\n      ALLOWED_WORKER_TOKEN_HASHES: ${ALLOWED_WORKER_TOKEN_HASHES}\n      ALLOWED_COORDINATOR_TOKEN_HASHES: ${ALLOWED_COORDINATOR_TOKEN_HASHES}\n      # TEE + DAO registration\n      TEE_MODE: ${TEE_MODE}\n      USE_TEE_REGISTRATION: ${USE_TEE_REGISTRATION}\n      # Signature scheme for the keystore's registration key: ed25519 (default) or ml-dsa-65.\n      KEYSTORE_KEY_TYPE: ${KEYSTORE_KEY_TYPE:-ed25519}\n      # Which worker signature schemes this keystore accepts for TEE-session auth.\n      TEE_ALLOWED_KEY_TYPES: ${TEE_ALLOWED_KEY_TYPES:-ed25519}\n      OPERATOR_ACCOUNT_ID: ${OPERATOR_ACCOUNT_ID}\n      KEYSTORE_DAO_CONTRACT: ${KEYSTORE_DAO_CONTRACT}\n      # Init account self-submits the keystore registration (submit_keystore_registration) on boot.\n      INIT_ACCOUNT_ID: ${INIT_ACCOUNT_ID}\n      INIT_ACCOUNT_PRIVATE_KEY: ${INIT_ACCOUNT_PRIVATE_KEY}\n      # MPC CKD (Chain Key Derivation) — the keystore pulls its master after the DAO vote passes.\n      MPC_CONTRACT_ID: ${MPC_CONTRACT_ID}\n      MPC_DOMAIN_ID: ${MPC_DOMAIN_ID}\n      MPC_PUBLIC_KEY: ${MPC_PUBLIC_KEY}\n      # dstack guest socket (TDX quotes). Standard dstack socket path inside the CVM.\n      DSTACK_SIMULATOR_ENDPOINT: ${DSTACK_SIMULATOR_ENDPOINT}\n      LOG_MASTER_KEY_HASH: ${LOG_MASTER_KEY_HASH:-false}\n      RUST_LOG: ${RUST_LOG:-info,keystore_worker=debug}\n      # Do NOT set KEYSTORE_MASTER_SECRET — it is incompatible with TEE mode (the master is\n      # derived in-TEE from MPC CKD). Setting it would override the TEE-derived master.\n    # Publish 8081 to the CVM's host network so callers reach the keystore: the dstack-gateway\n    # connects to the keystore over the WireGuard mesh (gateway -> <wg-ip>:8081) and the deploy's\n    # loopback smoke-test port maps to the guest's :8081 — both need the container port on the CVM\n    # network, not buried inside the container's docker netns. Without this the gateway gets\n    # \"connection refused\" (os error 111).\n    ports:\n      - \"${SERVER_PORT}:${SERVER_PORT}\"\n    volumes:\n      - /var/run/dstack.sock:/var/run/dstack.sock:ro\n",
  "kms_enabled": true,
  "gateway_enabled": true,
  "local_key_provider_enabled": false,
  "key_provider_id": "",
  "public_logs": true,
  "public_sysinfo": false,
  "allowed_envs": [
    "SERVER_HOST",
    "SERVER_PORT",
    "NEAR_NETWORK",
    "NEAR_RPC_URL",
    "OFFCHAINVM_CONTRACT_ID",
    "NEAR_CONTRACT_ID",
    "ALLOWED_WORKER_TOKEN_HASHES",
    "ALLOWED_COORDINATOR_TOKEN_HASHES",
    "KEYSTORE_DAO_CONTRACT",
    "INIT_ACCOUNT_ID",
    "INIT_ACCOUNT_PRIVATE_KEY",
    "WORKER_KEY_TYPE",
    "TEE_ALLOWED_KEY_TYPES",
    "USE_TEE_REGISTRATION",
    "LOG_MASTER_KEY_HASH",
    "TEE_MODE",
    "OPERATOR_ACCOUNT_ID",
    "DSTACK_SIMULATOR_ENDPOINT",
    "RUST_LOG",
    "MPC_CONTRACT_ID",
    "MPC_DOMAIN_ID",
    "MPC_PUBLIC_KEY"
  ],
  "no_instance_id": false,
  "secure_time": false,
  "public_tcbinfo": true,
  "port_policy": {
    "restrict_mode": true,
    "ports": [
      {
        "port": 8081
      }
    ]
  }
}
image_digests docker.io/outlayer/near-outlayer-keystore@sha256:9d445c9cf49cca2074d47d9fc1c3ac7bdfd1e0f66b98cadc168d5f51125ed723
4

Network — Zero Trust Gateway

TLS terminates inside the TEE — the gateway never sees plaintext.

guarded domainbda68594659fb33b6e3769de90dcd11b28a68a50-8081.dstack.outlayer.ai
5

App OS

The measured dstack guest OS image. The version is read live from each CVM's vm_config; the os_image_hash is the precise, measured OS identity. dstack releases ↗.

os_versiondstack-0.5.12
os_image_hash8db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd
mr_aggregatedb6e4c0ed032cb1b80bfb215b49c4ced453313caa275b2d7ec482d262a65488e4
compose_hashbda68594659fb33b6e3769de90dcd11b28a68a50b4e1135b9231ef6fa940335d
6

KMS — deploy-time key provisioning

Deploy-time only. Governed by an on-chain contract, the dstack KMS releases this CVM's keys at boot only if its measurements are approved — those keys decrypt the deployment env file (so secrets never enter the measured compose) and provision the CVM's RA-TLS identity + disk encryption. This secures how the worker is deployed; it does not hold OutLayer's application or user secrets — those run through the OutLayer keystore (master derived in-TEE via MPC), not the dstack KMS.

key_provider kms