blob: 97f7a6dbd826a57d7b07f7efa1869e82dc7e15f5 [file] [log] [blame]
(window.webpackJsonp=window.webpackJsonp||[]).push([[110],{458:function(t,e,a){"use strict";a.r(e);var s=a(11),n=Object(s.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"teaclave-sgx-tool"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#teaclave-sgx-tool"}},[t._v("#")]),t._v(" Teaclave SGX Tool")]),t._v(" "),a("p",[t._v("This tool is to dump some SGX related information, e.g., hardware and software\ninformation, remote attestation report. This can help to diagnose some issues\nwhich may caused by the platform settings.")]),t._v(" "),a("h2",{attrs:{id:"hardware-software-status"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#hardware-software-status"}},[t._v("#")]),t._v(" Hardware/Software Status")]),t._v(" "),a("p",[t._v("To dump the SGX related hardware and software information, you can use this\ncommand:")]),t._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v("$ ./teaclave_sgx_tool status\nVendor: GenuineIntel\nCPU Model: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz\nSGX:\n Has SGX: true\n Has SGX1: true\n Has SGX2: false\n Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT: false\n Supports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC: false\n Bit vector of supported extended SGX features: 0x00000000\n Maximum supported enclave size in non-64-bit mode: 2^31\n Maximum supported enclave size in 64-bit mode: 2^36\n Bits of SECS.ATTRIBUTES[127:0] set with ECREATE: 0x0000000000000036 (lower) 0x000000000000001F (upper)\n EPC physical base: 0x00000000B0200000\n EPC size: 0x0000000005D80000 (93M)\n Supports flexible launch control: true\n\n...\n")])])]),a("h2",{attrs:{id:"remote-attestation-report"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#remote-attestation-report"}},[t._v("#")]),t._v(" Remote Attestation Report")]),t._v(" "),a("p",[t._v("Use the following command to dump remote attestation report and configure the\nplatform accordingly:")]),t._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[t._v('$ ./teaclave_sgx_tool attestation --key {as_key} --spid {as_spid} --url {as_url} --algorithm {as_algorithm}\nRemote Attestation Report:\n{\n "advisoryIDs": [\n "INTEL-SA-00161",\n "INTEL-SA-00320",\n "INTEL-SA-00329",\n "INTEL-SA-00220",\n "INTEL-SA-00270",\n "INTEL-SA-00293",\n "INTEL-SA-00233"\n ],\n "advisoryURL": "https://security-center.intel.com",\n ...\n}\n')])])])])}),[],!1,null,null,null);e.default=n.exports}}]);