openssl.cr
openssl.cr copied to clipboard
OpenSSL binding for Crystal language
Ran `crystal tool format` and moved a couple things around. Mostly cosmetic changes, `a :: Int32` to `a = uninitialized Int32`, `MemoryIO` to `IO::Memory`, etc. The only spec that doesn't...
Posted an issue here and raising here as well, as it likely has to do with how this lib is being implemented. https://github.com/manastech/crystal/issues/2168 For reference, you can see the issue...
@datanoise @asterite What do you guys think about instead of doing ``` crystal tcp_server = TCPServer.new(443) client = tcp_server.accept OpenSSL::SSL::Socket.new_server(client, context) do |ssl_server| ``` To do it like Ruby ```...
Is there a way we can achieve something like this: http://ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ciphers ?
@datanoise When would you feel the repo is at a good enough stage to be integrated back to crystal ? Right now most of my tests shows everything is working...
That can be really nice for developer who do not know much about SSL\TLS Using TLS_method as the default should be considered responsible. See here: https://www.openssl.org/docs/ssl/SSL_CTX_new.html ``` SSLv23_method(void), SSLv23_server_method(void), SSLv23_client_method(void)...
Hi! The code you are writing in Crystal is quite amazing! Mongo, AMQP, and now correct and complete bindings for OpenSSL. The OpenSSL bindings in Crystal are poor/incomplete because we...