Xray-core/testing/scenarios
yuhan6665 acb81ebe3d
Verify peer cert function for better man in the middle prevention (#746)
* verify peer cert function for better man in the middle prevention

* publish cert chain hash generation algorithm

* added calculation of certificate hash as separate command and tlsping, use base64 to represent fingerprint to align with jsonPb

* apply coding style

* added test case for pinned certificates

* refactored cert pin

* pinned cert test

* added json loading of the PinnedPeerCertificateChainSha256

* removed tool to prepare for v5

* Add server cert pinning for Xtls

Change command "xray tls certChainHash" to xray style

Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
2021-10-22 12:38:40 +08:00
..
command_test.go v1.1.0 2020-12-04 09:36:16 +08:00
common_coverage.go Style: format code 2021-09-20 21:00:55 +08:00
common_regular.go Style: format code 2021-09-20 21:00:55 +08:00
common.go Move from deprecated ioutil to os and io packages (#744) 2021-09-29 02:49:34 +08:00
dns_test.go Style: format code 2021-09-20 21:00:55 +08:00
dokodemo_test.go Fix some tests to use udp.PickPort() (#739) 2021-09-27 13:40:56 +08:00
feature_test.go Move from deprecated ioutil to os and io packages (#744) 2021-09-29 02:49:34 +08:00
http_test.go Move from deprecated ioutil to os and io packages (#744) 2021-09-29 02:49:34 +08:00
policy_test.go v1.1.0 2020-12-04 09:36:16 +08:00
reverse_test.go v1.1.0 2020-12-04 09:36:16 +08:00
shadowsocks_test.go Fix some tests to use udp.PickPort() (#739) 2021-09-27 13:40:56 +08:00
socks_test.go v1.1.0 2020-12-04 09:36:16 +08:00
tls_test.go Verify peer cert function for better man in the middle prevention (#746) 2021-10-22 12:38:40 +08:00
transport_test.go Fix some tests to use udp.PickPort() (#739) 2021-09-27 13:40:56 +08:00
vmess_test.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00