You are importing a certificate with security import supplying mutually exclusive options -A and -T. For example, following your implementation, a cert would be imported with the following:
Option -A negates -T, as "-A Allow any application to access the imported key without warning".
Could you give some explanation to why its implemented this way? Is option -A specified to cover some edge-case and make the action applicable to a wider audience?
Given that it is insecure, maybe it is worth offering -A via an action's own option toggle?
You are importing a certificate with
security import
supplying mutually exclusive options-A
and-T
. For example, following your implementation, acert
would be imported with the following:Option
-A
negates-T
, as "-A Allow any application to access the imported key without warning".Could you give some explanation to why its implemented this way? Is option
-A
specified to cover some edge-case and make the action applicable to a wider audience?Given that it is insecure, maybe it is worth offering
-A
via an action's own option toggle?