According to https://developer.apple.com/forums/thread/677139 such certs dont appear in Keychain assistant or security find-identities
******, but sure, I can take that.
security export-smartcard
shows my cert up:
==== certificate #4
class : "cert"
subj : <aaaaaaaaaa
cenc : 3
ctyp : 3
pkhh : <aaaaa aaaa>
agrp : "com.apple.token"
pdmn : "dk"
labl : "Certificate For Card Authentication (Developer ID Application: XXXXX)"
UUID : "XXXX-XXXXX"
mdat : 2000-00-00-00
slnr : <XXXXX>
sync : 0
sha1 : <XXXXX>
tkid : "com.apple.pivtoken:XXXXXX"
musr : <>
cdat : 2000-***-XX-***
tomb : 0
issr : <XXXX>
skid : <XXXXX>
accc : constraints: {
ord : true
}
protection: {
tkid : "com.apple.pivtoken:XXXX"
}
Now that question is, how do I tell codesign to use this certificate?