https://github.com/isnackable/secure-socket-system
Example Python socket cryptography implementation. Security mechanisms are needed to ensure the confidentiality, integrity, and non-repudiation of important data being exchanged and stored using RSA & AES.
https://github.com/isnackable/secure-socket-system
Last synced: 25 days ago
JSON representation
Example Python socket cryptography implementation. Security mechanisms are needed to ensure the confidentiality, integrity, and non-repudiation of important data being exchanged and stored using RSA & AES.
- Host: GitHub
- URL: https://github.com/isnackable/secure-socket-system
- Owner: ISnackable
- Created: 2020-02-01T13:49:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T16:21:51.000Z (over 4 years ago)
- Last Synced: 2025-02-06T02:07:39.735Z (3 months ago)
- Language: Python
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cryptography-Assignment 2
## Basic requirement of assignment
- Implement a secure socket progamming
- A `server-socket.py` which is your file system
- A `client-socket.py `which is your front end
- Provide integrity, confidentiality and non-repudiation protection## About The Project
Cryptography-Assignment 2 is a extension of our PSEC socket programming. The project is for students to reinforce the cryptographic concepts and information security principles covered in ACG.### Context
- Your team has developed an automated menu system with a whole list of features.
- With overwhelming demand and limited budget, the management has decided to setup additional outlets outside SP, using public WIFI (e.g. Wireless@SG).### Tasks to be done:
- Enhance the design
- Implement security mechanisms needed to ensure the
**confidentiality**, **integrity**, and **non-repudiation**
- Other enhancement features## Dependencies
The following tools should be installed before starting:
- [OpenPyXL](https://openpyxl.readthedocs.io/en/stable/)
- [Captcha](https://pypi.org/project/captcha/)
- [pycryptodomex](https://pypi.org/project/pycryptodomex/)
- [Cryptography](https://pypi.org/project/cryptography/)## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.### Prerequisites
You should update pip to the latest version to improve the functionality or be obligatory for security purposes.
* pip
```sh
python -m pip install --upgrade pip
```### Installation
1. Install OpenPyXL module
```sh
pip install openpyxl
```
2. Install Captcha module
```sh
pip install captcha
```
3. Install PyCryptodomex
```sh
pip3 install pycryptodomex
```
4. Install Cryptography
```sh
pip3 install cryptography
```### Usage
To start trying out the code, run the python files in this order. Run each of them in a different terminal.
```sh
# terminal 0
python3 server-socket.py
```
```sh
# terminal 1
python3 client-socket.py
```#### Login Details
| UID | Username | Password |
| ----|:--------:|:--------:|
| 01 | root | toor |
| 02 | John | John |## License
Currently there is no licensing to this project.## Contributor
- [junyan-l](https://github.com/junyan-l)