Latest version
Released:
TLS/SSL and crypto library. Contribute to openssl/openssl development by creating an account on GitHub.
Command line interface to OpenSSL with Python3
Project description
- Download OpenSSL for free. The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.
- List all projects. Project Description Owner Last Change; archaic-openssl.git: Ancient OpenSSL branches.
- Some third parties provide OpenSSL compatible engines. As for the binaries above the following disclaimer applies: Important Disclaimer: The listing of these third party products does not imply any endorsement by the OpenSSL project, and these organizations are not affiliated in any way with OpenSSL other than by the reference to their independent web sites here.
# openssl-python
This tool is a command line interface to OpenSSL, written with Python3.It permits encrypting/decrypting files, as well as generating RSA keys, encrypting private RSA keys, signing files using an RSA key, and also verifying signatures using RSA.
## Dependencies
Before running this tool, the following dependency must be installed, as well as being on the path:
- openssl
Usually, this dependency exists by default in most of the supported platforms(see below). In case it doesn't, try consulting the official [OpenSSL documentation](https://www.openssl.org/docs/); or consult your operating system' documentation on how to install new software.
## Usage
To launch openssl-python tool, just download the source code, and run the following command:`python3 main.py`Or alternatively, if python is in the path, run the following commands:`chmod +x main.py./main.py`
## Platform support
This tool was initially developed and tested on Linux systems, so it does also support Unix-like systems: BSDs, Mac OS…Windows support though is not guaranteed.
Release historyRelease notifications | RSS feed
0.1.1
0.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size openssl_python-0.1.1-py3-none-any.whl (3.8 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size openssl-python-0.1.1.tar.gz (3.1 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for openssl_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | e7acddd889fd27bbef093ccf731fa7a3153695b7822fb18a6602175ffeb5e6c7 |
MD5 | 56078567b773dcacaaeae5fa33bae577 |
BLAKE2-256 | f6d4166a67145490b0fa41194e9e5358700ef8b673ffa5c19da6273e0c286e51 |
Openssl Source Download Pc
Hashes for openssl-python-0.1.1.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | f01e6953338897d6b60ad9b061f08efc9aa0d1a834e680a6099aabd054c756d9 |
MD5 | fd6a47b51e12121c884c238fb82d4534 |
BLAKE2-256 | ccbe6755939573772d152f6cb56ebebc7f0aaa5e747600e21e47e661e9ca0fc3 |
OpenSSL is a full-featured software library that contains an open-source implementation of the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols, used for securing information transmitted over computer networks.
It is a general-purpose cryptography library and supports a number of different cryptographic algorithms including AES, Blowfish; MD5, MD4, SHA-1, SHA-2 cryptographic hash functions; RSA, DSA, Diffie–Hellman key exchange, Elliptic curve and many others.
In this article, we will explain how to install the latest stable version of OpenSSL from sources on CentOS and Ubuntu based distributions.
Step 1: Install Development Tools
1. To compile OpenSSL manually from sources, you need to first install few dependencies such as 'Development Tools' under RHEL/CentOS/Fedora or 'build-essential' in Debian/Ubuntu as shown.
Step 2: Compile OpenSSL from Sources
2. Next, download the latest stable version of OpenSSL (v1.0.2 at the time of writing, which is a Long Term Support (LTS) release, supported until 31st December 2019), from the download page using following wget command and unpack it using tar command.
3. Now, move into the extracted directory, configure, build, after a successful build, test the libraries and install OpenSSL in the default location, which is /usr/local/ssl, by running the following commands.
4. Once you have successfully installed OpenSSL, you can move into the installation directory and view the various sub-directories and files using ls command.
Openssl Source Download Mac
The following are important directories you need to take note of:
- bin – contains the openssl binary and some utility scripts.
- include/openssl – contains the header files needed for building your own programs that use libcrypto or libssl.
- lib – contains the OpenSSL library files.
- lib/engines – contains the OpenSSL dynamically loadable engines.
- man – contains the OpenSSL man-pages.
- share/doc/openssl/html – contains HTML rendition of the man-pages.
- certs – the default location for certificate files.
- private – the default location for private key files.
5. To check the version of OpenSSL you have just installed, run the following command.
6. To use the newly installed OpenSSL version on your system, you need to add the directory /usr/local/ssl/bin/ to your PATH, in the file ~/.bashrc (or the equivalent for your shell).
Add this line at the bottom of the file.
Hashes for openssl_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | e7acddd889fd27bbef093ccf731fa7a3153695b7822fb18a6602175ffeb5e6c7 |
MD5 | 56078567b773dcacaaeae5fa33bae577 |
BLAKE2-256 | f6d4166a67145490b0fa41194e9e5358700ef8b673ffa5c19da6273e0c286e51 |
Openssl Source Download Pc
Hashes for openssl-python-0.1.1.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | f01e6953338897d6b60ad9b061f08efc9aa0d1a834e680a6099aabd054c756d9 |
MD5 | fd6a47b51e12121c884c238fb82d4534 |
BLAKE2-256 | ccbe6755939573772d152f6cb56ebebc7f0aaa5e747600e21e47e661e9ca0fc3 |
OpenSSL is a full-featured software library that contains an open-source implementation of the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols, used for securing information transmitted over computer networks.
It is a general-purpose cryptography library and supports a number of different cryptographic algorithms including AES, Blowfish; MD5, MD4, SHA-1, SHA-2 cryptographic hash functions; RSA, DSA, Diffie–Hellman key exchange, Elliptic curve and many others.
In this article, we will explain how to install the latest stable version of OpenSSL from sources on CentOS and Ubuntu based distributions.
Step 1: Install Development Tools
1. To compile OpenSSL manually from sources, you need to first install few dependencies such as 'Development Tools' under RHEL/CentOS/Fedora or 'build-essential' in Debian/Ubuntu as shown.
Step 2: Compile OpenSSL from Sources
2. Next, download the latest stable version of OpenSSL (v1.0.2 at the time of writing, which is a Long Term Support (LTS) release, supported until 31st December 2019), from the download page using following wget command and unpack it using tar command.
3. Now, move into the extracted directory, configure, build, after a successful build, test the libraries and install OpenSSL in the default location, which is /usr/local/ssl, by running the following commands.
4. Once you have successfully installed OpenSSL, you can move into the installation directory and view the various sub-directories and files using ls command.
Openssl Source Download Mac
The following are important directories you need to take note of:
- bin – contains the openssl binary and some utility scripts.
- include/openssl – contains the header files needed for building your own programs that use libcrypto or libssl.
- lib – contains the OpenSSL library files.
- lib/engines – contains the OpenSSL dynamically loadable engines.
- man – contains the OpenSSL man-pages.
- share/doc/openssl/html – contains HTML rendition of the man-pages.
- certs – the default location for certificate files.
- private – the default location for private key files.
5. To check the version of OpenSSL you have just installed, run the following command.
6. To use the newly installed OpenSSL version on your system, you need to add the directory /usr/local/ssl/bin/ to your PATH, in the file ~/.bashrc (or the equivalent for your shell).
Add this line at the bottom of the file.
Save and close the file and reload the configuration using the command below.
Openssl Source Code Download
7. Now open a new terminal window and run the following commands to confirm that the new OpenSSL binary is located in your PATH and that you can run it without typing its full path.
That's all! In this article, we have explained how to install the latest OpenSSL version from source on Linux systems. If you have any questions, use the command form below to reach us.