ruby/ext/openssl
Kazuki Yamaguchi f4bf80623f [ruby/openssl] [DOC] remove top-level example for
OpenSSL::Cipher#pkcs5_keyivgen
(https://github.com/ruby/openssl/pull/647)

OpenSSL::Cipher#pkcs5_keyivgen should only be used when it is
absolutely necessary for compatibility with ancient applications.
Having an example can be misleading. We already have another example
for OpenSSL::Cipher in which PBKDF2 is used to derive a key.

As described in the rdoc of OpenSSL::Cipher#pkcs5_keyivgen, it is
compatible with PKCS#5 PBES1 (PKCS#5 v1.5) only when used in combination
of a hash function MD2, MD5, or SHA-1, and a cipher DES-CBC or RC2-CBC.
This example uses MD5 as the hash function and combines it with AES.
This is considered insecure and also using a non-standard technique to
derive longer keys.

https://github.com/ruby/openssl/commit/e379cc0cca
2023-07-12 23:40:58 +09:00
..
lib [ruby/openssl] [DOC] Remove repeated example from Digest 2023-01-31 13:14:06 +09:00
History.md [ruby/openssl] Ruby/OpenSSL 3.1.0 2022-12-23 09:39:15 +09:00
depend [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
extconf.rb [ruby/openssl] extconf.rb: apply RUBY_OPENSSL_EXT{C,LD}FLAGS after checking features 2023-06-19 01:57:09 +09:00
openssl.gemspec [ruby/openssl] Drop support for Ruby 2.6 2023-06-19 01:57:09 +09:00
openssl_missing.c [ruby/openssl] engine: disable OpenSSL::Engine on OpenSSL 3.0 2021-12-20 23:42:03 +09:00
openssl_missing.h [ruby/openssl] pkey, ssl: use EVP_PKEY_eq() instead of EVP_PKEY_cmp() 2021-10-25 00:40:47 +09:00
ossl.c [ruby/openssl] [DOC] remove top-level example for 2023-07-12 23:40:58 +09:00
ossl.h [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_asn1.c proper function prototypes for openssl 2022-09-21 11:44:09 +09:00
ossl_asn1.h
ossl_bio.c
ossl_bio.h
ossl_bn.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_bn.h openssl is ractor-safe 2020-12-18 18:19:33 +09:00
ossl_cipher.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_cipher.h
ossl_config.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_config.h [ruby/openssl] config: replace DupConfigPtr() with GetConfig() 2021-03-16 19:16:10 +09:00
ossl_digest.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_digest.h
ossl_engine.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_engine.h
ossl_hmac.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_hmac.h
ossl_kdf.c [ruby/openssl] Enable HKDF support for LibreSSL 3.6 and later 2022-12-13 18:07:41 +09:00
ossl_kdf.h
ossl_ns_spki.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ns_spki.h
ossl_ocsp.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ocsp.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs7.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_pkcs7.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs12.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_pkcs12.h
ossl_pkey.c [ruby/openssl] Add support for raw private/public keys 2023-07-12 23:40:58 +09:00
ossl_pkey.h [ruby/openssl] Constify when building with OpenSSL 3 2022-12-23 09:39:15 +09:00
ossl_pkey_dh.c [ruby/openssl] Constify when building with OpenSSL 3 2022-12-23 09:39:15 +09:00
ossl_pkey_dsa.c [ruby/openssl] Constify when building with OpenSSL 3 2022-12-23 09:39:15 +09:00
ossl_pkey_ec.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_pkey_rsa.c [ruby/openssl] Constify when building with OpenSSL 3 2022-12-23 09:39:15 +09:00
ossl_provider.c [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_provider.h [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_rand.c openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
ossl_rand.h
ossl_ssl.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ssl.h
ossl_ssl_session.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ts.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ts.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_x509.c [ruby/openssl] require OpenSSL >= 1.0.2 and LibreSSL >= 3.1 2021-07-18 17:44:41 +09:00
ossl_x509.h
ossl_x509attr.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509cert.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509crl.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509ext.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509name.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509req.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509revoked.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509store.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00