Skip to content

Thread 1: "TrustKit was initialized with an invalid domain 5X.X3X.1X4.XXX" #341

Description

@featlast

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions