instead of looking of NIDs and then using X509V3_EXT_nconf_nid, instead just pass strings to X509V3_EXT_nconf, which has all the logic for processing dealing with generic extensions also process the oid through ln2nid() to retain compati...mcr (Michael Richardson)
https://docs.ruby-lang.org/en/master/Socket.html#method-i-bind says that this code should work: ``` ruby require 'socket' # use Addrinfo socket = Socket.new(:INET, :STREAM, 0) socket.bind(Addrinfo.tcp("127.0.0.1", 2222)) p sock...mcr (Michael Richardson)
The method name "send" on UDPSocket <https://ruby-doc.org/stdlib-2.5.0/libdoc/socket/rdoc/UDPSocket.html#method-i-send> is confusing and inconsistent. The underlying libc method is called sendto(2) (or sendmsg()). The method "send" ...mcr (Michael Richardson)
Please see gist: https://gist.github.com/mcr/73e10792abd529c5f53562ed275b7c1b (I could remove the rake/rails stuff around it if you like) with X25519 selected as the curve, I get:mcr (Michael Richardson)
I tried your git tree, at: commit 7085ed6411718538c0f47f8281b9089d21d4426d I did have openssl-pre5 installed, which failed, and I installed from openssl master and rebuilt ruby again, did an rvm mount on the results, and I got:mcr (Michael Richardson)
It appears that the EC subclass returns something isn't recognized as a public key (not a subclass of OpenSSL::PKey::PKey) when asked for its' public_key:mcr (Michael Richardson)