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
Yusuke Endoh 3d37e5d11c [ruby/openssl] Add OpenSSL::BN#set_flags and #get_flags
Also, OpenSSL::BN::CONSTTIME is added.

OpenSSL itself had a feature that was vulnerable against a side-channel
attack. The OpenSSL authors determined that it was not a security issue,
and they have already fixed the issue by using BN_set_flags.

https://github.com/openssl/openssl/pull/13888

If a Ruby OpenSSL user was faced with a similar issue, they couldn't
prevent the issue because Ruby OpenSSL lacks a wrapper to BN_set_flags.
For the case, this change introduces the wrapper.

https://github.com/ruby/openssl/commit/1e565eba89
2021-07-18 17:45:02 +09:00
..
fixtures/pkey [ruby/openssl] Implement Certificate.load to load certificate chain. (https://github.com/ruby/openssl/pull/441) 2021-07-18 17:44:55 +09:00
test_asn1.rb
test_bn.rb [ruby/openssl] Add OpenSSL::BN#set_flags and #get_flags 2021-07-18 17:45:02 +09:00
test_buffering.rb
test_cipher.rb
test_config.rb
test_digest.rb
test_engine.rb
test_fips.rb
test_hmac.rb
test_kdf.rb
test_ns_spki.rb
test_ocsp.rb
test_ossl.rb
test_pair.rb
test_pkcs7.rb
test_pkcs12.rb
test_pkey.rb [ruby/openssl] pkey: implement #to_text using EVP API 2021-07-18 17:44:50 +09:00
test_pkey_dh.rb [ruby/openssl] pkey/dh, pkey/ec: use EVP_PKEY_check() family 2021-07-18 17:44:52 +09:00
test_pkey_dsa.rb [ruby/openssl] pkey: implement PKey#sign_raw, #verify_raw, and #verify_recover 2021-07-18 17:44:58 +09:00
test_pkey_ec.rb [ruby/openssl] pkey: implement PKey#sign_raw, #verify_raw, and #verify_recover 2021-07-18 17:44:58 +09:00
test_pkey_rsa.rb [ruby/openssl] pkey: implement PKey#sign_raw, #verify_raw, and #verify_recover 2021-07-18 17:44:58 +09:00
test_random.rb
test_ssl.rb [ruby/openssl] Add SSLSocket#getbyte 2021-07-18 17:44:53 +09:00
test_ssl_session.rb
test_ts.rb
test_x509attr.rb
test_x509cert.rb [ruby/openssl] Implement Certificate.load to load certificate chain. (https://github.com/ruby/openssl/pull/441) 2021-07-18 17:44:55 +09:00
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb
test_x509store.rb
ut_eof.rb [ruby/openssl] Add SSLSocket#getbyte 2021-07-18 17:44:53 +09:00
utils.rb