Thread 1: "TrustKit was initialized with an invalid domain 5X.X3X.1X4.XXX"
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
- Domain
- mobile-dev, security
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from datatheorem/TrustKit
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
datatheorem/TrustKit#360 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 48/100
datatheorem/TrustKit#340 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
datatheorem/TrustKit#333 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
datatheorem/TrustKit#330 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
datatheorem/TrustKit#328 · 1 comment ·
All issues in datatheorem/TrustKit
Similar issues
-
iOS: hidden scale bar invalidates its intrinsic content size on every layout pass of MLNMapViewOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
maplibre/maplibre-native#4723 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Shopify/react-native-skia#4130 ·
-
[Type] Bug Self-hosted Webviews
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wordpress-mobile/WordPress-iOS#26115 ·
Maintainers usually reply within 1 day
-
agent-work needs-manual-intervention
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Provenance-Emu/Provenance#3726 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
organicmaps/organicmaps#13712 · 3 comments ·
Maintainers usually reply within 2 days