sslconn | Experimental golang wrapper around OpenSSL | TLS library

 by   vadims Go Version: Current License: No License

kandi X-RAY | sslconn Summary

kandi X-RAY | sslconn Summary

sslconn is a Go library typically used in Security, TLS applications. sslconn has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This is an experimental golang (CGO) wrapper around OpenSSL. The crypto/tls package does not support (1) SSLv2 compatible handshakes, so this is an attempt to use OpenSSL in golang. The reason SSLv2 handshake is desired is for compatibility (2) with a variety of clients. The suggested approach is to provide SSL termination upstream, however some protocols upgrade plain text connections using STARTTLS (3) which would require a smart and protocol aware SSL terminator. This wrapper only exposes only a tiny subset of the OpenSSL API, just enough to enable the use-case described above. In order to multiplex a OpenSSL connection the underlying IO needs to be non blocking. To support that, a NonBlockingReader and NonBlockingWriter were implemented to provide the necessary semantics. Most of the OpenSSL integration is done in C to avoid locking the OS thread required for error checking (thread locals.).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sslconn has a low active ecosystem.
              It has 18 star(s) with 8 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              sslconn has no issues reported. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sslconn is current.

            kandi-Quality Quality

              sslconn has 0 bugs and 0 code smells.

            kandi-Security Security

              sslconn has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              sslconn code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              sslconn does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              sslconn releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi has reviewed sslconn and discovered the below as its top functions. This is intended to give you an instant insight into sslconn implemented functionality, and help decide if they suit your requirements.
            • newSSLConnConfig creates a new SSLConnConfig
            • NewConn creates a new connection .
            • NewPrivateKey creates a new PrivateKey .
            • NewCert creates a new TLS connection .
            • query io . Reader
            • NewNonBlockingWriter returns a new non - blocking writer
            • gocn .
            • NewNonBlockingReader returns a new NonBlockingReader .
            • writeBytesTo writes bytes to io . Writer .
            • Cleanup SSLConnConfig object
            Get all kandi verified functions for this library.

            sslconn Key Features

            No Key Features are available at this moment for sslconn.

            sslconn Examples and Code Snippets

            No Code Snippets are available at this moment for sslconn.

            Community Discussions

            QUESTION

            Received data from python SSL server is incorrect
            Asked 2018-Mar-14 at 00:29

            I am trying to modify a socket server I wrote with the python socket library to use encryption using python's SSL library.

            I am no able to successfully open a connection to the server, wrap it with an SSL context and send data to the server, but data sent back to the client is not what it should be.

            My suspicion is that the server responses are not being decrypted on the client side, but I don't know why. I'm pretty new to SSL/TLS, and networking in general so... what am I missing?

            The client is also written in python (for now, to facilitate testing)

            Code:

            Relevant Server stuff:

            ...

            ANSWER

            Answered 2018-Mar-14 at 00:29

            It is not legal to shutdown a socket that is being used for SSL. It is a protocol violation. You must close via the SSL/TLS API you are using.

            Source https://stackoverflow.com/questions/49264265

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sslconn

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/vadims/sslconn.git

          • CLI

            gh repo clone vadims/sslconn

          • sshUrl

            git@github.com:vadims/sslconn.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular TLS Libraries

            mkcert

            by FiloSottile

            v2rayN

            by 2dust

            acme.sh

            by acmesh-official

            nginxconfig.io

            by digitalocean

            v2ray

            by 233boy

            Try Top Libraries by vadims

            sslconn-examples

            by vadimsGo

            hystrix-test

            by vadimsJava

            python-import-sample

            by vadimsPython