Add a subcommand of `teaclave_cli`. Here is an example of the usage.
``` $ ./teaclave_cli attest --address accvm-dev:7776 --as-ca-cert ../../keys/ias_root_ca_cert.pem Report Freshness: 1854s SGX Quote status: SwHardeningNeeded Version and signature/key type: Version 2, EPID Linkable signature GID or reserved: 3014 Security version of the QE: 11 Security version of the PCE: 10 ID of the QE vendor: 00000000-XXXX-XXXX-XXXX-XXXXXXXXXXXX Custom user-defined data (hex): 75b6024c00000000000000000000000000000000 CPU version (hex): 0f0f0305ff8006000000000000000000 SSA Frame extended feature set: 0 Attributes of the enclave (hex): 07000000000000000700000000000000 Enclave measurement (hex): eadeb5537962d2451a8619fb6a4b10b72f56479e0b7db0bb9c3f5edc143ca6eb Hash of the enclave singing key (hex): 83d719e77deaca1470f6baf62a4d774303c899db69020f9c70ee1dfc08c7ce9e Enclave product ID: 0 Security version of the enclave: 0 The value of REPORT (hex): 317cb5c0d9a26747a08833e51bac8ca2ce814aa362c8cd0e2672fdcb6bfee77b9ba32ed7d605778aa52b9f2d2ce698f83ec49e6beecb89c684d861bb078d7dc2 ``` You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/432 -- Commit Summary -- * [cli] Add the attest subcommand to display attestation report from the remote Teaclave service * Add discription of the subcommand -- File Changes -- M attestation/src/report.rs (68) M cli/Cargo.toml (6) M cli/README.md (27) M cli/src/main.rs (86) -- Patch Links -- https://github.com/apache/incubator-teaclave/pull/432.patch https://github.com/apache/incubator-teaclave/pull/432.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/432