Hi Ahmad,

On 2025-10-22 11:43, Ahmad Fatoum wrote:
+               printf("KEY: %*phN\tTYPE: %s\tKEYRING: %s\tHINT: %s\n", 
key->hashlen,
+                      key->hash, public_key_type_string(key->type), key->keyring, 
key->key_name_hint);

Given that hint is only relevant to FIT, I think it would be better to
hide it when it's empty.

The key name hints are still defined, and unique amongst all keys. Just
like before my series, if no hint is provided in keyspec, keytoc
generates one: key_<num>.

Therefore it should always be shown.

Regards,
Jonas

--
Pengutronix e.K.                           | Jonas Rebmann               |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

Reply via email to