openssl
openssl copied to clipboard
Provides SSL, TLS and general purpose cryptography.
HI, how do I use the existing private key and public key to encrypt the message? The keys are immutable now. ``` Fastfile:821:in `private_key=': \e[31m[!] pkeys are immutable on OpenSSL...
These APIs can be quite important for certain types of servers. I started trying to implement it and then realised how tricky it is to correctly support flags. ``` def...
Hi everyone, I don't know much about SSL understanding and I have a question because I try to verify a certifcate. I hope someone can help me and/or maybe guide...
We have a server using openssl 3.0.3 (i.e. written i C). This has worked with all kinds of different clients (ruby, C, java...) without any problem... except now, with the...
Instead of an ivar, so other ossl functions that take a store (such as `OpenSSL::Timestamp::Response#verify`) will use the correct time when verifying
## Prerequisites - OpenSSL version ``` > gem list openssl *** LOCAL GEMS *** openssl (3.2.0, default: 3.1.0) ``` ``` irb(main):003:0> OpenSSL::VERSION => "3.2.0" ``` - OpenSSL Library Version ```...
Issue https://github.com/ruby/openssl/issues/654 closed but it doesn't seem to be resolved. Here's what we created using the legacy provider: ``` openssl pkcs12 -in xx.p12 -info -noout -legacy Enter Import Password: MAC:...
The returned Hash from these methods contain 0 in place of a missing parameter in the key, for example: pkey = OpenSSL::PKey.read(OpenSSL::PKey::RSA.new(2048).public_to_pem) pp pkey.params #=> # {"n"=>#, # "e"=>#, #...
OpenSSL::ASN1 is being rewritten in Ruby. To make it easier, let's remove dependency to the instance variables and the internal-use function ossl_asn1_get_asn1type() outside OpenSSL::ASN1. This also fixes the insufficient validation...
This adds OpenSSL::SSL::SSLContext#sigalgs= method and according unit tests to provide access to the OpenSSL SSL_CTX_set1_sigalgs_list() method. Using this method, the enabled/supported signature algorithms for client/server authentication can be configured.