1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
Christophe De La Fuente 17998ad3bb [ruby/openssl] Add support to SSL_CTX_set_keylog_callback
- This callback is invoked when TLS key material is generated or
  received, in order to allow applications to store this keying material
  for debugging purposes.
- It is invoked with an `SSLSocket` and a string containing the key
  material in the format used by NSS for its SSLKEYLOGFILE debugging
  output.
- This commit adds the Ruby binding `keylog_cb` and the related tests
- It is only compatible with OpenSSL >= 1.1.1. Even if LibreSSL implements
  `SSL_CTX_set_keylog_callback()` from v3.4.2, it does nothing (see
  648d39f0f0)

https://github.com/ruby/openssl/commit/3b63232cf1
2022-10-17 16:35:35 +09:00
..
fixtures/pkey
test_asn1.rb
test_bn.rb [ruby/openssl] Add tast cases to OpenSSL::BN using ractor 2021-12-25 03:31:59 +09:00
test_buffering.rb
test_cipher.rb [ruby/openssl] cipher: update test_ciphers 2021-12-20 23:42:02 +09:00
test_config.rb
test_digest.rb
test_engine.rb
test_fips.rb
test_hmac.rb [ruby/openssl] hmac: use EVP_PKEY_new_raw_private_key() if available 2022-10-17 16:35:35 +09:00
test_kdf.rb
test_ns_spki.rb
test_ocsp.rb [ruby/openssl] Let OpenSSL choose the digest if digest for Openssl::OCSP::BasicResponse#sign is nil. 2022-07-08 23:18:22 +09:00
test_ossl.rb
test_pair.rb
test_pkcs7.rb
test_pkcs12.rb
test_pkey.rb
test_pkey_dh.rb [ruby/openssl] pkey: deprecate PKey#set_* methods 2021-12-20 23:42:02 +09:00
test_pkey_dsa.rb [ruby/openssl] pkey/dsa: let PKey::DSA.generate choose appropriate q size 2022-10-17 16:35:35 +09:00
test_pkey_ec.rb [ruby/openssl] pkey/ec: check existence of public key component before exporting 2022-10-17 16:35:35 +09:00
test_pkey_rsa.rb [ruby/openssl] Check if the option is an Hash in pkey_ctx_apply_options0() 2022-10-17 16:35:35 +09:00
test_random.rb
test_ssl.rb [ruby/openssl] Add support to SSL_CTX_set_keylog_callback 2022-10-17 16:35:35 +09:00
test_ssl_session.rb
test_ts.rb
test_x509attr.rb
test_x509cert.rb
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb
test_x509store.rb
ut_eof.rb
utils.rb