WIP: rebase fork onto upstream/main (v1.103.0) #15

Closed
codinget wants to merge 670 commits from webnet into save/webnet-2026-07-29
Showing only changes of commit c07bf57eba - Show all commits
+3 -1
View File
@@ -923,7 +923,9 @@ func handleTPMFlags() {
case !args.hardwareAttestation.set:
policyHWAttestation, _ := policyclient.Get().GetBoolean(pkey.HardwareAttestation, false)
if err := canUseHardwareAttestation(); err != nil {
log.Printf("[unexpected] policy requires hardware attestation, but device does not support it: %v", err)
if policyHWAttestation {
log.Printf("[unexpected] policy requires hardware attestation, but device does not support it: %v", err)
}
args.hardwareAttestation.v = false
} else {
args.hardwareAttestation.v = policyHWAttestation