Skip to content

Commit

Permalink
fixup! fixup! adjust e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead committed Oct 16, 2023
1 parent 1f4cd5a commit f432802
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/internal/cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ func newSNPReport(reportBytes []byte) (res verify.SNPReport, err error) {
SignerInfo: verify.SignerInfo{
AuthorKey: signerInfo.AuthorKeyEn,
MaskChipKey: signerInfo.MaskChipKey,
SigningKey: signerInfo.SigningKey,
SigningKey: signerInfo.SigningKey.String(),
},
ReportData: report.ReportData,
Measurement: report.Measurement,
Expand Down
7 changes: 3 additions & 4 deletions internal/verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ package verify

import (
"crypto/x509"
"fmt"

"github.com/golang-jwt/jwt/v5"
)
Expand Down Expand Up @@ -57,9 +56,9 @@ type PlatformInfo struct {

// SignerInfo contains the signer information.
type SignerInfo struct {
AuthorKey bool `json:"author_key_en"`
MaskChipKey bool `json:"mask_chip_key"`
SigningKey fmt.Stringer `json:"signing_key"`
AuthorKey bool `json:"author_key_en"`
MaskChipKey bool `json:"mask_chip_key"`
SigningKey string `json:"signing_key"`
}

// SNPReport contains the SNP report data.
Expand Down

0 comments on commit f432802

Please sign in to comment.