I am trying to accomplish the signature using Digicert for imx93 with AHAB.
I am able to sign both os_cntr_signed.bin and imx-boot-imx93-var-som-aski-sd.bin-flash_singleboot_gdet but once I try to verify them using ~/cst-4.0.0/linux64/bin/ahab_image_verifier I get a incoherent result:
By doing: ahab_image_verifier os_cntr_signed.bin 0 0 I get
Signature Block:
Version: 0
Length: 2648 bytes
Tag: 0x90
Certificate Offset: 0x0
SRK Table/Array Offset: 0x10
SRK Table:
Tag: 0xD7
Length: 2112 bytes
Version: 66
SRK Record:
Tag: 0xE1
Length: 527 bytes
Sign Algorithm: RSA
Hash Algorithm: SHA2_384
Key Size/Curve: RSA4096
SRK Flags: CA Flags
Modulus (N):
.....
Signature verification failed
While by doing: ahab_image_verifier imx-boot-imx93-var-som-aski-sd.bin-flash_singleboot_gdet 0 0 I get:
Signature Block:
Version: 0
Length: 400 bytes
Tag: 0x90
Certificate Offset: 0x0
SRK Table/Array Offset: 0x10
SRK Table:
Tag: 0xD7
Length: 308 bytes
Version: 66
SRK Record:
Tag: 0xE1
Length: 76 bytes
Sign Algorithm: ECDSA
Hash Algorithm: SHA2_256
Key Size/Curve: PRIME256V1
SRK Flags: None
X Coordinate: ....
Y Coordinate: ...
......
Signature verification successful
I used the same csf.cfg as input to cst-signer, thus same SRK Table and Digicert Token are used in cst's .csf files
does anybody have a clue?! I also posted this question in here