Greetings community, would it be possible to add any additional properties or settings to be able to add an IP address as a domain in TrustKit? It would be very helpful.
let trustKitConfig: [String: Any] = [
kTSKSwizzleNetworkDelegates: true,
kTSKPinnedDomains: [
"5X.X3X.1X4.XXX": [
kTSKIncludeSubdomains: true,
kTSKEnforcePinning: true,
kTSKDisableDefaultReportUri: true,
kTSKPublicKeyHashes: [
"sha256/cXXXXXXX8d1cba4028XXXXXXXXXXXXXXXX"
]
]
]
]
TrustKit.initSharedInstance(withConfiguration:trustKitConfig)