forked from scionproto/scion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trust: extend TLSCryptoManager with support for verifying correctness…
… of extKeyUsage extensions (scionproto#4222) This PR includes the following changes: - Adds extKeyUsage verification for TLS HS [1] [2]. - Replaces `VerifyPeerCertificate` with `VerifyClientCertificate` and `VerifyServerCertificate`. - Extends `X509KeyPairLoader` with two separate functions to load a client and a server certificate. - Adds `VerifyConnection` callback implementation, available as of Go1.16.
- Loading branch information
1 parent
75f0180
commit ec9074c
Showing
3 changed files
with
146 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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