Proper use of -T with security import

Hey everyone,


I'm trying to import a code signing certificate into my keychain on a CI machine. Since Sierra changed the way code signing credentials are handled I'd like to try to make the key available to /usr/bin/codesign (only) by running this command:


security import ./cert.p12 -T /usr/bin/codesign


but that does not work. I've also tried the default key type that you get from upon creation without luck.



Does anyone know how to achieve this?



Thanks,

Constantin

Proper use of -T with security import
 
 
Q