(&self)
| 170 | } |
| 171 | |
| 172 | fn ensure_attested(&self) -> Result<&VerifiedAttestation> { |
| 173 | let Some(attestation) = &self.attestation else { |
| 174 | bail!("No attestation provided"); |
| 175 | }; |
| 176 | Ok(attestation) |
| 177 | } |
| 178 | |
| 179 | async fn ensure_kms_allowed(&self, vm_config: &str) -> Result<BootInfo> { |
| 180 | let att = self.ensure_attested()?; |
no outgoing calls
no test coverage detected