Skip to content

Commit 27a2e1a

Browse files
committed
add qe_type to output of list-keys command
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
1 parent be83d96 commit 27a2e1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/commands/enclave.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ fn run_list_keys<E: EnclaveCommandAPI<S>, S: CommitStore>(
166166
list_json.push(json! {{
167167
"ra_type": ra_quote.ra_type().to_string(),
168168
"address": eki.address.to_hex_string(),
169+
"qe_type": eki.qe_type.to_string(),
169170
"attested": true,
170171
"report_data": report_data,
171172
"isv_enclave_quote_status": isv_enclave_quote_status,
@@ -177,6 +178,7 @@ fn run_list_keys<E: EnclaveCommandAPI<S>, S: CommitStore>(
177178
None => {
178179
list_json.push(json! {{
179180
"address": eki.address.to_hex_string(),
181+
"qe_type": eki.qe_type.to_string(),
180182
"attested": false,
181183
}});
182184
}

0 commit comments

Comments
 (0)