Invalid key format when generating public key hash from RSA

Hi,
I am trying to generate a PublicKeyHash from an RSA key pair as explained here and here, but I get an “Invalid key format” error message.

The following steps can be used to replicate the problem:

> tar xvjf secureboot_R35.1.0_aarch64.tbz2
> cd Linux_for_Tegra/bootloader
> openssl genrsa -out rsa_priv.pem 3072
> sudo ./tegrakeyhash --pkc rsa_priv.pem --chip 0x23
Invalid key format

Thank you

hello qwertypanda,

you may refer to Generate PublicKeyHash value from a PKC key pair for steps.
BTW, could you please moving to the latest release, i.e. JetPack 5.1.2 for verification.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.