Infineon / linux-optiga-trust-m

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

Bypass Shielded Communication by default #19

Closed ayushev closed 3 years ago

ayushev commented 3 years ago

Is your feature request related to a problem? Please describe.

It is not obvious and not described anywhere that calling a command without an -X option will trigger SEC counter growing up, event data read.

Describe the solution you'd like

make the choice reversed, leave the -X for backward compatibility but mark it as deprecated + add a special option to actively enable shielded communication. By default the communication should bypass the shielded connection.

Additional context

https://github.com/Infineon/optiga-trust-m/issues/67 shows that -X usage isn't obvious

RaymWong commented 3 years ago

Add important notes for users to decide whether to disable the Shielded connection based on their application. https://github.com/Infineon/linux-optiga-trust-m#important-notes