-
Notifications
You must be signed in to change notification settings - Fork 26
feat: ATS certificate pinning narrow down on iOS #593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alexruzenhack
wants to merge
15
commits into
master
Choose a base branch
from
poc/network-hardening
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
57f5826
feat: extends RCTHTTPRequestHandler to handle authentication challeng…
alexruzenhack d289ee8
chore: add extension name
alexruzenhack 48b386a
review: apply suggestions
alexruzenhack 3db050e
feat: add session scoped auth challenge validation for anchor certifi…
alexruzenhack c06c895
review: apply suggestions
alexruzenhack 9760b13
wip: custom pin validation
alexruzenhack d056f77
chore: add cert config
alexruzenhack e80397c
chore: configure ATS with trust.hathor.network
alexruzenhack 2687298
feat: remove custom pin validation
alexruzenhack 2433884
chore: configure ATS with a PIN for the intermediate CA
alexruzenhack 7b11d5f
chore: add network configuration to Android
alexruzenhack 6bd6d7a
chore: configure constants to point to trust.hathor.network
alexruzenhack 89e4ba6
chore: update Android network configuration
alexruzenhack 06babf3
chore: update ios project with a reference to hathor_network_root_ca_…
alexruzenhack ccdd9a9
chore: remove metro configuration from android network config
alexruzenhack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@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u2qRSiSoQ5aqdlHhQJPW7wAMtRk3CLoe+pE1sl1mFyj25W/omG+nqPGMB5TU3o6q | ||
vY3UV+GwzkB1TCdA3VdGSaux6NqDdh0cT0Rj5DNhR9c1TrLqUqmjdRCNLXE72k10 | ||
HlvIJxwG+wyEMvCFDVVHE0eHCp7ePXwI/GtkRAbUQg2m819y8qn7bs+nzaUbF/1B | ||
O388GkefQiwz4E0c70k3N8nwoeuLMY/QS7zguFK3vCJ9YJJF2DPqJGach0VfYV2F | ||
H5LUfQxbWEtDm+7vcf1U0tvodQAxH75Idm5N8Ni5LwpC7nnUaL2i81m6ieSduUq+ | ||
kZ+qLwPzjKv/ | ||
-----END CERTIFICATE----- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<network-security-config> | ||
<base-config cleartextTrafficPermitted="false"> | ||
<trust-anchors> | ||
<certificates src="@raw/trusted_roots"/> | ||
</trust-anchors> | ||
</base-config> | ||
<domain-config cleartextTrafficPermitted="true"> | ||
<domain includeSubdomains="true">trust.hathor.network</domain> | ||
<pin-set> | ||
<pin digest="SHA-256">GeKKl76tI0ZgnY1mM6PfsCLT7OenVQ3R5sD5Qx+HlPE=</pin> | ||
</pin-set> | ||
</domain-config> | ||
</network-security-config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.