-
Notifications
You must be signed in to change notification settings - Fork 148
Add SPKI certificate pinning support #910
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
o-nnerb
wants to merge
40
commits into
swift-server:main
Choose a base branch
from
o-nnerb:main
base: main
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
40 commits
Select commit
Hold shift + click to select a range
9ce1b9e
Implemented SPKIPinningConfiguration
o-nnerb eeb3726
Added Hashable conformance
o-nnerb 8c6e782
Fix tlsPinning usage
o-nnerb 5f1dfd9
Fix hash digestion
o-nnerb a224e7e
Lint code
o-nnerb 32a4100
Provide support for various algorithms for comparing SPKI
o-nnerb 26675d1
Improved properties names and applications
o-nnerb 6c585a6
Implemented tests
o-nnerb 8c673f6
Added back removed code
o-nnerb 1e56600
Add SPKI pinning with runtime safety checks and explicit TLS requirement
o-nnerb c5c0198
Included length difference in the diff
o-nnerb b71085f
Merge branch 'main' into main
o-nnerb 51b3015
Removed Executor, fix `constantTimeAnyMatch(_:_:)` and update context…
o-nnerb 87fd63f
Updated `SPKIPinningPolicy` and adjust documentation
o-nnerb 885a2bd
Merge branch 'main' into main
o-nnerb e3d0b27
Merge branch 'main' into main
o-nnerb d8d9767
Merge branch 'main' into main
o-nnerb e0baecb
Applied swift format
o-nnerb 6cb7f2c
Merge branch 'main' into main
o-nnerb 39f6b77
Added new init for HTTPHandler and undo some changes
o-nnerb 8d6ec8a
Revert the modifications made to the method documentation
o-nnerb c599656
Added support for the old version of Swift Package configuration
o-nnerb 362dc7d
Revert the modifications made to the method documentation
o-nnerb b73d62a
Added a new initializer for HTTPHandler that accepts a String url and…
o-nnerb 3fd423f
Merge branch 'main' into main
o-nnerb 9ffdfd7
Change code to import FoundationEssentials
o-nnerb 30f8807
Merge branch 'main' into main
o-nnerb d8c153a
Adds missing license header
o-nnerb 89ab903
Merge branch 'main' into main
o-nnerb b573359
Disable all traits to prevent linking Foundation for swift-crypto
o-nnerb e3f2b76
Updated Swift Crypto package
o-nnerb cdcfcbc
Updated swift-crypto to 4.5.0
o-nnerb c5f0c6b
Merge commit '7744c2a035c68ec14726c709f031835e3e30bde1' into spki-imp…
o-nnerb 96e5ec0
Incorporate some suggestions from the code review
o-nnerb cd17f27
Implement the setupSPKIPinningHandlerIfNeeded(_:logger:) method to ha…
o-nnerb 1245bee
Add errors for Network.framework and unsupported platforms
o-nnerb 797847d
Adds documentation for SPKI limitations
o-nnerb 0d1ca48
Centralize tests on SPKIPinningTests and also cover HTTP1.1 and Netwo…
o-nnerb 4ae4d44
Apply Swift format
o-nnerb c15c34e
Enhances the digest error handling and documentation for unsupported …
o-nnerb 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
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
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.