Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bbrown-cw
Copy link

@bbrown-cw bbrown-cw commented Jun 20, 2025

Since the TrustedComponent schema became available in Redfish Release 2022.2, it has been an object rather than a string. Gofish currently features a TPM string field, but there is a TPM struct present, which matches the actual redfish schema.

This PR proposes a change to utilize the TPM struct, and will allow users to successfully Unmarshal TrustedComponents from redfish.

...
  "TPM": {
    "CapabilitiesVendorID": "IFX",
    "HardwareInterfaceVendorID": "0x15D1"
  },
...

@bbrown-cw bbrown-cw closed this Jun 21, 2025
@bbrown-cw bbrown-cw deleted the trusted-component-patch branch June 23, 2025 18:41
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.

2 participants