the HAB Code-Signing Tool User’s Guide Rev. 2.2 10/2014 states that slots of the i.MX6 public key store range from 0 to 5 with 1=SRK and 2=CSF, hence 2 to 5 are for signing keys.
5.2.6 Install Key
Target Index 2, ..., 5 (HAB4)
Using the Code Signing Tool I cannot use the slot no. 5. CST fails will error
Invalid argument TargetIndex exceed max allowed in command InstallKey
while others are working.
Version = 4.0
Security Configuration = Open
Hash Algorithm = sha256
Engine Configuration = 0
Certificate Format = X509
Signature Format = CMS
File = "./Keys/keys/SRK_1_2_3_4_table.bin"
Source index = 0
File = "./Keys/crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"
Verification index = 0
Target index = 5
File = "./Keys/crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"
Verification index = 5
fixed Version entry in csf: neither with 4.1 nor 4.0 it is working.