Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#341 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
ios, objective-c, swift

Research direction

No source file or test is named in the issue. Start by locating TrustKit’s configuration validation for pinned-domain keys and the handling of invalid domains; done means an IP address can be accepted for pinning without the reported initialization error.

Written by the indexing model from the issue text.

Description

enhancement help wanted

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)
Dominant language
Objective-C
Stars
2.1k
Forks
381
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from datatheorem/TrustKit

All issues in datatheorem/TrustKit

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.