Skip to content

Commit 2f97a08

Browse files
committed
Cleans up the PR
1 parent 5c941ab commit 2f97a08

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

azure-tcbinfo-override/override.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func OverrideV6InstanceOutdatedSEAMLoader(log *slog.Logger, tcbInfo pcs.TcbInfo)
1515
for l, tcbLevel := range tcbInfo.TcbLevels {
1616
if tcbLevel.TcbStatus == pcs.TcbComponentStatusUpToDate {
1717
if tcbLevel.Tcb.SgxTcbcomponents[7].Svn > 3 {
18-
log.Info("overriding Azure v6 instance outdated SEAM loader")
18+
log.Debug("overriding tcb info to allow outdated Azure v6 SEAM loader")
1919
tcbInfo.TcbLevels[l].Tcb.SgxTcbcomponents[7].Svn = 3
2020
}
2121
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.4
55
replace github.com/martinjungblut/go-cryptsetup => github.com/daniel-weisse/go-cryptsetup v0.0.0-20230705150314-d8c07bd1723c
66

77
replace (
8-
github.com/google/go-tdx-guest => github.com/flashbots/go-tdx-guest v0.0.0-20250825120232-7b8345f036ef
8+
github.com/google/go-tdx-guest => github.com/flashbots/go-tdx-guest v0.0.0-20250812101008-c4de93fd5a34
99
k8s.io/cloud-provider => k8s.io/cloud-provider v0.30.2
1010
k8s.io/controller-manager => k8s.io/controller-manager v0.30.2
1111
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.30.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
167167
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
168168
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
169169
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
170-
github.com/flashbots/go-tdx-guest v0.0.0-20250825120232-7b8345f036ef h1:gndl3tG3RJEz0YOmLjKxNxlLC0gTnLpe8BmWim6+REw=
171-
github.com/flashbots/go-tdx-guest v0.0.0-20250825120232-7b8345f036ef/go.mod h1:uHy3VaNXNXhl0fiPxKqTxieeouqQmW6A0EfLcaeCYBk=
170+
github.com/flashbots/go-tdx-guest v0.0.0-20250812101008-c4de93fd5a34 h1:rqyx3e+CwPtKBbopWz0amKweDkiuSb9fB/rF9y3RlBw=
171+
github.com/flashbots/go-tdx-guest v0.0.0-20250812101008-c4de93fd5a34/go.mod h1:uHy3VaNXNXhl0fiPxKqTxieeouqQmW6A0EfLcaeCYBk=
172172
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
173173
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
174174
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=

internal/attestation/azure/tdx/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (v *Validator) validateQuote(tdxQuote *tdx.QuoteV4) error {
121121
if exts, err := pcs.PckCertificateExtensions(chain.PCKCertificate); err == nil {
122122
if exts.FMSPC == AZURE_V6_BAD_FMSPC {
123123
if tdxQuote.TdQuoteBody.TeeTcbSvn[7] == 3 {
124-
v.log.Info("allowing azure's outdated SEAM loader")
124+
v.log.Warn("allowing azure's outdated SEAM loader")
125125
}
126126
}
127127
}

0 commit comments

Comments
 (0)