()
| 240 | } |
| 241 | |
| 242 | fn cmd_show_mrs() -> Result<()> { |
| 243 | let attestation = |
| 244 | ra_tls::attestation::Attestation::local().context("Failed to get attestation")?; |
| 245 | let app_info = attestation |
| 246 | .into_v1() |
| 247 | .decode_app_info(false) |
| 248 | .context("Failed to decode app info")?; |
| 249 | serde_json::to_writer_pretty(io::stdout(), &app_info).context("Failed to write app info")?; |
| 250 | println!(); |
| 251 | Ok(()) |
| 252 | } |
| 253 | |
| 254 | fn cmd_replay_imr() -> Result<()> { |
| 255 | use sha2::Digest; |
no test coverage detected