openssl
openssl copied to clipboard
Provides SSL, TLS and general purpose cryptography.
Hey there, In OpenSSL 3.2, support for Argon2 was added. `OpenSSL::KDF` has support for scrypt but it would be great if it also supported Argon2. This would mean applications would...
allowing the openssl propq to be set. Unclear what else might be required going forward, which is why keyword arguments. It uses X509_new_ex() to create the X509 object, allowing a...
This code uses the openssl 3.x OSSL_STORE_* APIs to load key objects. The older d2i_* and PEM_read_* do not interact at all with providers. This does not solve generating keys...
This updates the patch to support openssl 3.x. I have maintained a patch for some years for openssl1.1.1 that adds CMS support. (This is needed for RFC8995 code)
It is implied that OpenSSL::PKey::EC.new can take a public key/EC::Point to form a key, but I could not make it work. Since 3.x wants keys immutable, they have to be...
This new routine reads a public in DER format only. Other routines get confused by too many heuristics and do not support doing this.
This adds a few more clues to the documentation, as the straight reference to the genpkey didn't help me update from openssl 1. to openssl 3.
Closes https://github.com/ruby/openssl/issues/892
Follow-up to #806. Implements #802 by adding the `OpenSSL::MAC` and `OpenSSL::MAC::CMAC` classes. The classes are defined if compiled against OpenSSL 3.
Expose `OSSL_PROVIDER_add_conf_parameter()` for OpenSSL 3.5. This allows setting parameters for an OpenSSL provider directly from Ruby code. Currently, configuring providers requires a configuration file and setting the `OPENSSL_CONF` environment variable...