Skip to content

Commit

Permalink
Merge pull request #1861 from oasisprotocol/kostko/fix/orc-show-crash
Browse files Browse the repository at this point in the history
tools/orc: Fix crash in component display
  • Loading branch information
kostko committed Jul 5, 2024
2 parents 9c0c402 + 906cf1f commit fe6d9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/orc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func showComponent(bnd *bundle.Bundle, comp *bundle.Component, legacy bool) {
if comp.SGX.Signature != "" {
fmt.Printf("%sSGXS signature: %s\n", indent, comp.SGX.Signature)

sigPk, sigStruct, err := sigstruct.Verify(bnd.Data[bnd.Manifest.SGX.Signature])
sigPk, sigStruct, err := sigstruct.Verify(bnd.Data[comp.SGX.Signature])
cobra.CheckErr(err) // Already checked during Open so it should never fail.

var mrSigner sgx.MrSigner
Expand Down

0 comments on commit fe6d9ec

Please sign in to comment.