Skip to content

Commit

Permalink
Set cert fingerprint in attestation document after worker sync
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Jul 29, 2024
1 parent ebb3a34 commit 42dfbcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@ func (e *Enclave) setupWorkerPostSync(keys *enclaveKeys) error {
return err
}
e.httpsCert.set(&cert)
if err = e.setCertFingerprint(keys.NitridingCert); err != nil {
return err
}

if !e.heartbeatActive {
worker := getSyncURL(e.myHostname, e.cfg.ExtPrivPort)
Expand Down

0 comments on commit 42dfbcf

Please sign in to comment.