HP-UX Trusted Computing Services A.01.00 Administrator's Guide
4b609166 fe4eea3e 7459bf10 8dbdbe52 05b44323 dd380699 b0a25ad1 05e1d7aa
f2adb64a fa16a5f4 53cd0c10 5ac0ae15 3f964ce7 d2361557 72867c62 42918b10
16130505 ee391f2f 539977a8 7d28cbed 52ad11ed 8ac3591b 0892cde2 5510d597
The tpmlist keys command searches for keys matching the specified criteria. In the following
example, tpmlist keys searches for all keys that are descendants of the RK.
# tpmlist keys ancestoruuid=rk
Key(s) matching the above criteria:
Key UUID: 5aa84553-c08d-417b-af49-8c2de7e0ff3c
Parent Key UUID: 7e404894-b167-4fbd-b944-b20ae6c8e251
Key UUID: ddd67e42-cc54-4d27-817b-0b061c810c22
Parent Key UUID: 05f922a7-f5d5-4730-8621-c815f69419bd
Key UUID: 639a58e6-3723-4c6c-9a58-26bb2b6bcf91
Parent Key UUID: 6134f004-28d0-4f3d-a6b4-94ee9da04706
Key UUID: 06fd4198-6908-45a5-a90b-4820d46e7b9c
Parent Key UUID: 295de71f-e050-42d7-a265-9c759ccd2736
Key UUID: 65f75d31-2923-45bd-b879-cc13843a9972
Parent Key UUID: a7f1e86c-84bf-4b8f-8af8-700eaa5ed4f2
Key UUID: 73ae8971-3eda-46c8-af54-5f88394e5b9c
Parent Key UUID: 1a5cec23-1d1c-4736-a6dd-1d546c78ea4c
Key UUID: fabafcd9-672a-47cc-b7e5-015dec88ab31
Parent Key UUID: cdf746f9-6485-4a3d-a2f3-00605966b627
…
Key UUID: 9715a011-9d6d-4199-aa84-1d3695c07407
Parent Key UUID: 00000000-0000-0000-0000-000000000003
Number of keys found: 146
The tpmadm deletekeys command deletes keys matching the specified criteria. In the following
example, tpmadm deletekeys deletes all keys that have an RSA key algorithm.
# tpmadm deletekeys alg=rsa
Key(s) matching the above criteria:
Key UUID: 5aa84553-c08d-417b-af49-8c2de7e0ff3c
Parent Key UUID: 7e404894-b167-4fbd-b944-b20ae6c8e251
Key UUID: ddd67e42-cc54-4d27-817b-0b061c810c22
Parent Key UUID: 05f922a7-f5d5-4730-8621-c815f69419bd
Key UUID: 639a58e6-3723-4c6c-9a58-26bb2b6bcf91
Parent Key UUID: 6134f004-28d0-4f3d-a6b4-94ee9da04706
Key UUID: 06fd4198-6908-45a5-a90b-4820d46e7b9c
Parent Key UUID: 295de71f-e050-42d7-a265-9c759ccd2736
Key UUID: 65f75d31-2923-45bd-b879-cc13843a9972
Parent Key UUID: a7f1e86c-84bf-4b8f-8af8-700eaa5ed4f2
Key UUID: 73ae8971-3eda-46c8-af54-5f88394e5b9c
Parent Key UUID: 1a5cec23-1d1c-4736-a6dd-1d546c78ea4c
…
Note: key 00000000-0000-0000-0000-000000000003 can not be deleted.
34 Advanced HP-UX TCS Administration