datatheorem / datatheorem/TrustKit
Expected error codes
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 2.1k
- Forks
- 381
- PR merge metrics
- No merged PRs in 30d
Description
Is there a list of expected error codes that could be returned when certificate pinning fails the check? I can't find any explicit errors in TrustKit documentation or source code, so I assume they are handled by NSURLSession. I found NSURLErrorClientCertificateRejected = -1205, are there others that I should be handling?
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the TrustKit documentation and source code, then compare the certificate-pinning failure path with Apple's URL Loading System error-code documentation linked in the issue. Document the expected error codes and clarify which errors are produced by TrustKit versus NSURLSession, including any handling guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile-dev, security
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100