Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lokranjanp/cryptcommsim_py
Simulating real time encrypted communication between clients and server using python socket and ssl modules
https://github.com/lokranjanp/cryptcommsim_py
Last synced: 6 days ago
JSON representation
Simulating real time encrypted communication between clients and server using python socket and ssl modules
- Host: GitHub
- URL: https://github.com/lokranjanp/cryptcommsim_py
- Owner: lokranjanp
- Created: 2024-02-28T09:50:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T02:07:52.000Z (4 months ago)
- Last Synced: 2024-07-11T03:52:04.270Z (4 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cryptcommsim_py
Simulating real time encrypted communication between clients and server using python socket and ssl modules.Client and server simulated using SSH between 2 remote laptops. Server Program can also be deployed to
cloud based application to replicate real environments.SSL Certificates created using OpenSSL - self signed digital keychain using following UNIX/ LINUX Terminal commands :
SERVER CERTIFICATE : openssl req -x509 -newkey rsa:4096 -keyout serverkey.pem -out servercert.pem -days 3650CLIENT CERTIFICATE : openssl req -x509 -newkey rsa:4096 -keyout clientkey.pem -out clientcert.pem -days 3650
-> Public Key Certificate format : X.509
-> Encryption Symmetric Algorithm used : RSA - 4096 bit [Private + Public] keys
-> -days 3650 : Duration of certificate validity [10 years]
Refer https://docs.python.org/3/library/ssl.html#exceptions for further SSL/TSL functions and error handling
SSL Certificates created using OpenSSL - self signed digital keychain using following UNIX/ LINUX Terminal commands :SERVER CERTIFICATE : openssl req -x509 -newkey rsa:4096 -keyout serverkey.pem -out servercert.pem -days 3650
CLIENT CERTIFICATE : openssl req -x509 -newkey rsa:4096 -keyout clientkey.pem -out clientcert.pem -days 3650
->Public Key Certificate format X.509
->Encryption Symmetric Algorithm used : RSA - 4096 bit [Private + Public] keys
-> -days 3650 : Duration of certificate validity [10 years]