Infineon / linux-optiga-trust-m

Linux tools and examples for OPTIGA™ Trust V1/V3 security solution
MIT License
22 stars 18 forks source link

Shield Connection settings #10

Closed yoshi-ohta closed 3 years ago

yoshi-ohta commented 3 years ago

The following source is taken as an example, but the other commands are the same. https://github.com/Infineon/cli-optiga-trust-m/blob/master/linux_example/trustm_cert.c

My understanding is that specifying the "-X" option will use Shield Connection. If "-X" is specified, "uOptFlag.flags.bypass = 1". In the source code L.186, the judgment condition when using Shield Connection is "uOptFlag.flags.bypass! = 1", so when "-X" is specified, it will not be Shield Connection. Is judgment condition of L.186 correct?

yoshi-ohta commented 3 years ago

I'm sorry, I misunderstood the meaning of the "-X" option. Therefore, please close this case.