tlshandshake - tool for testing and benchmarking TLS handshake
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

5 lat temu
5 lat temu
5 lat temu
5 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # Intro
  2. ``tlshandshake`` is a tool which can be used for troubleshooting and benchmarking TLS handshake. It is written in GoLang.
  3. # Usage
  4. Example:
  5. ```
  6. > go run cmd/tlshandshake/tlshandshake.go -tls_min 1.2 -tls_max 1.3 -groups X25519-SIDHp503 pqcrypto.uk
  7. | TLS-Session:
  8. -----------------------------------------------------------------
  9. Protocol : 1.3
  10. Cipher : TLS_AES_128_GCM_SHA256
  11. Negotiated Group : X25519-SIDHp503
  12. Connection ID : d0129f4dea986b72
  13. SCTs : []
  14. Connection resumed : FALSE
  15. EMS used : FALSE
  16. Stapled OCSP response : 308201350a0100a082012e3082012a06092b0601...
  17. | Connection:
  18. -----------------------------------------------------------------
  19. Local address : 10.0.1.242:51536
  20. Remote address : 198.41.214.162:443
  21. | Server Certificates:
  22. -----------------------------------------------------------------
  23. Depth : 0
  24. Issuer : CN=DigiCert ECC Extended Validation Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
  25. Certificate:
  26. Data:
  27. Version: 3 (0x2)
  28. Serial Number: 13836083707412516537413894398330316720 (0xa68bb984a507399f4716e809a44a7b0)
  29. Signature Algorithm: ECDSA-SHA256
  30. Issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert ECC Extended Validation Server CA
  31. Validity
  32. Not Before: Oct 30 00:00:00 2018 UTC
  33. Not After : Nov 3 12:00:00 2020 UTC
  34. Subject: UnknownOID=2.5.4.15,UnknownOID=1.3.6.1.4.1.311.60.2.1.3,UnknownOID=1.3.6.1.4.1.311.60.2.1.2,UnknownOID=2.5.4.5,C=US,ST=California,UnknownOID=2.5.4.7,O=Cloudflare, Inc.,CN=cloudflare.com
  35. Subject Public Key Info:
  36. Public Key Algorithm: ECDSA
  37. Public-Key: (256 bit)
  38. X:
  39. ce:d7:61:49:49:fd:4b:35:8b:1b:86:bc:a3:c5:bc:
  40. d8:20:6e:31:17:2d:92:8a:b7:34:f4:db:11:70:4e:
  41. 49:16
  42. Y:
  43. 61:fc:ae:fa:7f:ba:6f:0c:05:53:74:c6:79:7f:81:
  44. 12:8a:f7:e2:5e:6c:f5:fa:10:69:6b:67:d9:d5:96:
  45. 51:b0
  46. Curve: P-256
  47. X509v3 extensions:
  48. X509v3 Authority Key Identifier:
  49. keyid:F8:25:D9:A6:39:C7:C3:81:87:25:3E:30:54:91:18:21:40:9B:17:9D
  50. X509v3 Subject Key Identifier:
  51. DE:7F:7F:E6:7C:ED:ED:61:43:60:47:67:5D:86:2F:84:FD:A6:78:AD
  52. X509v3 Subject Alternative Name:
  53. DNS:cloudflare.com, DNS:www.cloudflare.com
  54. X509v3 Key Usage: critical
  55. Digital Signature
  56. X509v3 Extended Key Usage:
  57. TLS Web Server Authentication, TLS Web Client Authentication
  58. X509v3 CRL Distribution Points:
  59. Full Name:
  60. URI:http://crl3.digicert.com/DigiCertECCExtendedValidationServerCA.crl, URI:http://crl4.digicert.com/DigiCertECCExtendedValidationServerCA.crl
  61. X509v3 Certificate Policies:
  62. Policy: 2.16.840.1.114412.2.1
  63. Policy: 2.23.140.1.1
  64. Authority Information Access:
  65. OCSP - URI:http://ocsp.digicert.com
  66. CA Issuers - URI:http://cacerts.digicert.com/DigiCertECCExtendedValidationServerCA.crt
  67. X509v3 Basic Constraints: critical
  68. CA:FALSE
  69. Unknown extension 1.3.6.1.4.1.11129.2.4.2
  70. Signature Algorithm: ECDSA-SHA256
  71. 30:65:02:30:1e:1b:3d:10:9a:50:23:2e:e6:86:11:13:46:a8:
  72. 1d:e8:63:f8:2f:60:96:43:49:0a:49:30:73:55:f8:25:63:1d:
  73. 46:59:da:a9:4b:98:68:99:3d:50:a8:c4:fc:52:0f:e3:02:31:
  74. 00:d2:64:cc:ad:f8:92:b6:6b:fe:b7:a9:4e:8c:06:3b:fb:d3:
  75. 08:9f:d9:04:10:80:b9:52:97:0a:14:24:a4:5a:8a:d7:27:3c:
  76. 1e:86:cb:b7:a8:be:c3:c0:98:fa:4a:91:ae
  77. ```
  78. # Installation
  79. ```
  80. go get -u github.com/henrydcase/tlshandshake/...
  81. ```
  82. # Dependencies
  83. We use [``th5``](https://github.com/henrydcase/th5) library.
  84. # License
  85. See LICENSE file