diff --git a/rune/libenclave/internal/runtime/pal/pal_linux.go b/rune/libenclave/internal/runtime/pal/pal_linux.go index 4af135b3c8523d8a6b362892858c17d003c61e83..ad800dedd2bd351a2f1529bfa9dcab429a77e173 100644 --- a/rune/libenclave/internal/runtime/pal/pal_linux.go +++ b/rune/libenclave/internal/runtime/pal/pal_linux.go @@ -139,9 +139,9 @@ func (pal *enclaveRuntimePal) Attest(spid string, subscriptionKey string, produc return err } - status := svc.Verify(quote) - if status.ErrorMessage != "" { - return fmt.Errorf("%s", status.ErrorMessage) + status, _, err := svc.GetVerifiedReport(quote) + if err != nil { + return fmt.Errorf("%s", err) } svc.ShowStatus(status)