Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: Add conditional SGX attestation parsing for rofl.Register txs #876

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Jan 8, 2025

#807 (comment)

TODO:

  • also parse the pcs.Quote
  • do this in the API layer, that way we can keep the original in the DB

Example Raw Body for rofl.register transaction on localnet, with these canges:

{
  "app": "rofl1qqn9xndja7e2pnxhttktmecvwzz0yqwxsquqyxdf",
  "ect": {
    "capability_tee": {
      "attestation": {
        "height": 38,
        "quote": {
          "pcs": {
            "quote": {
              "header": {
                "attestation_key_type": 2,
                "qe_vendor_id": "k5pyM/ecTKmUCg2zlX8GBw==",
                "tee_type": 0,
                "version": 3
              },
              "report_body": {
                "enclave_identity": "0+tTmlVjUvP0eIHXH7Dld3svPppCUdKDwYxnzplndLea/8+uR7hI7CyvHEm0soNTHhzEJfk1grNoBuUqQ9eNGg==",
                "report_data": "m7ZsbFJbbqijr8ZNSnDv+fGnVaitH4byquxfMAwI0CIbhl6vpNqh7aI8+GRDmUqfWoRszOMNyePxwuWzm629VA=="
              }
            },
            "tcb": {
              "certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNpekNDQWpLZ0F3SUJBZ0lVZmppQzFmdFZLVXBBU1k1RmhBUHBGSkc5OUZVd0NnWUlLb1pJemowRUF3SXcKYURFYU1CZ0dBMVVFQXd3UlNXNTBaV3dnVTBkWUlGSnZiM1FnUTBFeEdqQVlCZ05WQkFvTUVVbHVkR1ZzSUVOdgpjbkJ2Y21GMGFXOXVNUlF3RWdZRFZRUUhEQXRUWVc1MFlTQkRiR0Z5WVRFTE1Ba0dBMVVFQ0F3Q1EwRXhDekFKCkJnTlZCQVlUQWxWVE1CNFhEVEU0TURVeU1URXdOVEF4TUZvWERUSTF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W8vc1g2TzlRV3hIUkF2WlVHT2RSUTdjdnFSWGFxST0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=",
              "qe_id": {
                "enclaveIdentity": {
                  "attributes": "11000000000000000000000000000000",
                  "attributesMask": "FBFFFFFFFFFFFFFF0000000000000000",
                  "id": "QE",
                  "issueDate": "2025-01-16T06:26:43Z",
                  "isvprodid": 1,
                  "miscselect": "00000000",
                  "miscselectMask": "FFFFFFFF",
                  "mrsigner": "8C4F5775D796503E96137F77C68A829A0056AC8DED70140B081B094490C57BFF",
                  "nextUpdate": "2025-02-15T06:26:43Z",
                  "tcbEvaluationDataNumber": 18,
                  "tcbLevels": [
                    {
                      "tcb": {
                        "isvsvn": 8
                      },
                      "tcbDate": "2024-11-13T00:00:00Z",
                      "tcbStatus": "UpToDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "isvsvn": 6
                      },
                      "tcbDate": "2021-11-10T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00477",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "isvsvn": 5
                      },
                      "tcbDate": "2020-11-11T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00334",
                        "INTEL-SA-00477",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "isvsvn": 4
                      },
                      "tcbDate": "2019-11-13T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00219",
                        "INTEL-SA-00293",
                        "INTEL-SA-00334",
                        "INTEL-SA-00477",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "isvsvn": 2
                      },
                      "tcbDate": "2019-05-15T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00202",
                        "INTEL-SA-00219",
                        "INTEL-SA-00293",
                        "INTEL-SA-00334",
                        "INTEL-SA-00477",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "isvsvn": 1
                      },
                      "tcbDate": "2018-08-15T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    }
                  ],
                  "version": 2
                },
                "signature": "ac769865f920e1d6c3a6c798ca1d60b65b60c94be7be69ca588237fa891b06b26f062bda5ebb628f8a6e2c9ec033a374375c0ab9932a9a999f9ee57404ef036c"
              },
              "tcb_info": {
                "signature": "bcff0138152b32f50b7425968209b316a0f24323a8939ae7fd1c16e21e0e9f83396815247ca3d7edd5093fd7df79938ca61a35a09752166cf1b554d77bf59306",
                "tcbInfo": {
                  "fmspc": "00606a000000",
                  "id": "SGX",
                  "issueDate": "2025-01-16T07:04:11Z",
                  "nextUpdate": "2025-02-15T07:04:11Z",
                  "pceId": "0000",
                  "tcbEvaluationDataNumber": 18,
                  "tcbLevels": [
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 15,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 15,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 1
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2024-11-13T00:00:00Z",
                      "tcbStatus": "SWHardeningNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 15,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 15,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2024-11-13T00:00:00Z",
                      "tcbStatus": "ConfigurationAndSWHardeningNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 14,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 14,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 1
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2024-03-13T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 14,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 14,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2024-03-13T00:00:00Z",
                      "tcbStatus": "OutOfDateConfigurationNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00960",
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 12,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 12,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 1
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2023-08-09T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 12,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 12,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2023-08-09T00:00:00Z",
                      "tcbStatus": "OutOfDateConfigurationNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 11,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 11,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 1
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2023-02-15T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00657",
                        "INTEL-SA-00767",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 11,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 11,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2023-02-15T00:00:00Z",
                      "tcbStatus": "OutOfDateConfigurationNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00657",
                        "INTEL-SA-00730",
                        "INTEL-SA-00738",
                        "INTEL-SA-00767",
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 7,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 9,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 1
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2022-08-10T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00657",
                        "INTEL-SA-00730",
                        "INTEL-SA-00738",
                        "INTEL-SA-00767",
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103",
                        "INTEL-SA-00615"
                      ],
                      "tcb": {
                        "pcesvn": 13,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 7,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 9,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2022-08-10T00:00:00Z",
                      "tcbStatus": "OutOfDateConfigurationNeeded"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00586",
                        "INTEL-SA-00614",
                        "INTEL-SA-00615",
                        "INTEL-SA-00657",
                        "INTEL-SA-00730",
                        "INTEL-SA-00738",
                        "INTEL-SA-00767",
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103"
                      ],
                      "tcb": {
                        "pcesvn": 11,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 4,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 4,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2021-11-10T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00477",
                        "INTEL-SA-00586",
                        "INTEL-SA-00614",
                        "INTEL-SA-00615",
                        "INTEL-SA-00657",
                        "INTEL-SA-00730",
                        "INTEL-SA-00738",
                        "INTEL-SA-00767",
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103"
                      ],
                      "tcb": {
                        "pcesvn": 10,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 4,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 4,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2020-11-11T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    },
                    {
                      "advisoryIDs": [
                        "INTEL-SA-00106",
                        "INTEL-SA-00115",
                        "INTEL-SA-00135",
                        "INTEL-SA-00203",
                        "INTEL-SA-00220",
                        "INTEL-SA-00233",
                        "INTEL-SA-00270",
                        "INTEL-SA-00293",
                        "INTEL-SA-00320",
                        "INTEL-SA-00329",
                        "INTEL-SA-00381",
                        "INTEL-SA-00389",
                        "INTEL-SA-00477",
                        "INTEL-SA-00586",
                        "INTEL-SA-00614",
                        "INTEL-SA-00615",
                        "INTEL-SA-00657",
                        "INTEL-SA-00730",
                        "INTEL-SA-00738",
                        "INTEL-SA-00767",
                        "INTEL-SA-00828",
                        "INTEL-SA-00837",
                        "INTEL-SA-00960",
                        "INTEL-SA-01079",
                        "INTEL-SA-01103"
                      ],
                      "tcb": {
                        "pcesvn": 5,
                        "sgxtcbcomponents": [
                          {
                            "category": "BIOS",
                            "svn": 4,
                            "type": "Early Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 4,
                            "type": "SGX Late Microcode Update"
                          },
                          {
                            "category": "OS/VMM",
                            "svn": 3,
                            "type": "TXT SINIT"
                          },
                          {
                            "category": "BIOS",
                            "svn": 3
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 255
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          },
                          {
                            "svn": 0
                          }
                        ]
                      },
                      "tcbDate": "2018-01-04T00:00:00Z",
                      "tcbStatus": "OutOfDate"
                    }
                  ],
                  "tcbType": 0,
                  "version": 3
                }
              }
            }
          }
        },
        "signature": "kcJ6Y0qYPq71BTFRfR0qg1q+rYD2YQUVsWT1wt5h08IL/+6xeAX+ntIBehZIC0ahNR2th+Y3T9c2m27grNWMDQ=="
      },
      "hardware": 0,
      "rak": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
    },
    "node_endorsement": {
      "public_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
      "signature": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
    }
  },
  "expiration": 4,
  "extra_keys": [
    {
      "secp256k1": "AhmxMMZcvwvZOT5PzWzENnwoejXIFz7/bE/pZlJ7NdbL"
    }
  ]
}

@ptrus ptrus self-assigned this Jan 8, 2025
@ptrus ptrus marked this pull request as ready for review January 8, 2025 14:56
@ptrus ptrus force-pushed the ptrus/feature/rofl-register-body branch 2 times, most recently from bf4d583 to 69c0c89 Compare January 8, 2025 15:02
@ptrus ptrus requested a review from kostko January 8, 2025 16:01
@ptrus ptrus marked this pull request as draft January 8, 2025 17:04
@ptrus ptrus force-pushed the ptrus/feature/rofl-register-body branch 10 times, most recently from 69a3b8a to 0e16ffb Compare January 13, 2025 12:22
@ptrus ptrus force-pushed the ptrus/feature/rofl-register-body branch 2 times, most recently from 5deadbb to aef01fc Compare January 16, 2025 08:05
@ptrus ptrus force-pushed the ptrus/feature/rofl-register-body branch from aef01fc to e178745 Compare January 16, 2025 08:32
@ptrus ptrus marked this pull request as ready for review January 16, 2025 08:32
@ptrus ptrus merged commit ad9ec5d into main Jan 20, 2025
16 checks passed
@ptrus ptrus deleted the ptrus/feature/rofl-register-body branch January 20, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant