File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -1386,11 +1386,19 @@ def system_info(ctx: Context) -> None:
1386
1386
role."""
1387
1387
with connect (ctx ) as nethsm :
1388
1388
info = nethsm .get_system_info ()
1389
- print (f"Host: { nethsm .host } " )
1390
- print (f"Firmware version: { info .firmware_version } " )
1391
- print (f"Software version: { info .software_version } " )
1392
- print (f"Hardware version: { info .hardware_version } " )
1393
- print (f"Build tag: { info .build_tag } " )
1389
+ print (f"Host: { nethsm .host } " )
1390
+ print (f"Firmware version: { info .firmware_version } " )
1391
+ print (f"Software version: { info .software_version } " )
1392
+ print (f"Hardware version: { info .hardware_version } " )
1393
+ print (f"Build tag: { info .build_tag } " )
1394
+ if info .attestation_keys :
1395
+ print ("Attestation keys" )
1396
+ for key , value in info .attestation_keys .items ():
1397
+ print (f" { key } : { value } " )
1398
+ if info .platform_configuration_registers :
1399
+ print ("Platform Configuration Registers" )
1400
+ for key , value in info .platform_configuration_registers .items ():
1401
+ print (f" { key } : { value } " )
1394
1402
1395
1403
1396
1404
@nethsm .command ()
You can’t perform that action at this time.
0 commit comments