RSA Cryptography Authentication Proof-of-Concept

Overview

RSA Cryptography Authentication Proof-of-Concept

GitHub Repo size GitHub Languages GitHub Issues GitHub Stars License

This project was a request by Structured Programming lectures in Computer Science college.
It runs with both a Python front-end CLI structure and API Endpoints running with Flask.

Features

This application does feature a simple authentication concept with encryption over the data transfered between the client and the endpoint.

  • User registration
  • User authentication

Requirements

  • Python v3.0 or greater is required.
  • This project was tested only in Windows. Might be able to run it on Linux and other *nix based operational systems.

Installation

Windows:

  • First, clone this repository or download the folder and extract it somewhere
    $ git clone https://github.com/bardsnight/aps-proj.git

  • Create a python virtual environment
    $ python -m venv venv

  • Activate the virtual environment
    $ .\venv\Scripts\activate

  • Install project dependencies
    $ pip install -r requirements.txt

Usage

This application is deployed with both the client main.py and the Flask API app.py. You have to run both to be able to reproduce the concept.

  • First, run the Flask API with the Virtual Environment (venv) active:
    $ (venv) $ flask run
    By default, flask run will run app.py.

Your API should now be running at http://localhost:500/.

  • Open up another CLI and run the main application:
    (venv) $ python .\main.py

You can now select whichever options you wanna test.
1 for logging in with a existent user.
2 for registering a new user.
3 to quit the application.

Dependencies

This application was developed with help of the following Python packages and its subdependencies:

Also, some other tools were used during the development process:

Contributors

Contributor Avatar on GitHub
Calebe

Author

Author Profile Picture
Dennys Marcos

Made with lots of .

Linkedin Badge Mail Badge

License

This project is licensed under the terms of the MIT license. Check the file license for deteails.

Go to the top

You might also like...
Django CAS 1.0/2.0/3.0 client authentication library, support Django 2.0, 2.1, 2.2, 3.0 and Python 3.5+

django-cas-ng django-cas-ng is Django CAS (Central Authentication Service) 1.0/2.0/3.0 client library to support SSO (Single Sign On) and Single Logou

JWT authentication for Pyramid

JWT authentication for Pyramid This package implements an authentication policy for Pyramid that using JSON Web Tokens. This standard (RFC 7519) is of

Toolkit for Pyramid, a Pylons Project, to add Authentication and Authorization using Velruse (OAuth) and/or a local database, CSRF, ReCaptcha, Sessions, Flash messages and I18N

Apex Authentication, Form Library, I18N/L10N, Flash Message Template (not associated with Pyramid, a Pylons project) Uses alchemy Authentication Authe

JSON Web Token Authentication support for Django REST Framework

REST framework JWT Auth Notice This project is currently unmaintained. Check #484 for more details and suggested alternatives. JSON Web Token Authenti

Simplifying third-party authentication for web applications.

Velruse is a set of authentication routines that provide a unified way to have a website user authenticate to a variety of different identity provider

Implements authentication and authorization as FastAPI dependencies

FastAPI Security Implements authentication and authorization as dependencies in FastAPI. Features Authentication via JWT-based OAuth 2 access tokens a

Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

Flask-HTTPAuth Simple extension that provides Basic and Digest HTTP authentication for Flask routes. Installation The easiest way to install this is t

Simple yet powerful authorization / authentication client library for Python web applications.

Authomatic Authomatic is a framework agnostic library for Python web applications with a minimalistic but powerful interface which simplifies authenti

Simple yet powerful authorization / authentication client library for Python web applications.

Authomatic Authomatic is a framework agnostic library for Python web applications with a minimalistic but powerful interface which simplifies authenti

Owner
Dennys Marcos
Sophomore year at CS & technology enthusiast! Feel free to talk with me about anything about innovation and tech.
Dennys Marcos
Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

Welcome to django-allauth! Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (soc

Raymond Penners 7.7k Jan 3, 2023
Mock authentication API that acceccpts email and password and returns authentication result.

Mock authentication API that acceccpts email and password and returns authentication result.

Herman Shpryhau 1 Feb 11, 2022
Luca Security Concept

Luca Security Concept This is the document source of luca's security concept. Please go here for the HTML version: https://luca-app.de/securityconcept

luca 43 Oct 22, 2022
Python's simple login system concept - Advanced level

Simple login system with Python - For beginners Creating a simple login system using python for beginners this repository aims to provide a simple ove

Low_Scarlet 1 Dec 13, 2021
A JSON Web Token authentication plugin for the Django REST Framework.

Simple JWT Abstract Simple JWT is a JSON Web Token authentication plugin for the Django REST Framework. For full documentation, visit django-rest-fram

Simple JWT 3.3k Jan 1, 2023
Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

Flask-HTTPAuth Simple extension that provides Basic and Digest HTTP authentication for Flask routes. Installation The easiest way to install this is t

Miguel Grinberg 1.1k Jan 5, 2023
REST implementation of Django authentication system.

djoser REST implementation of Django authentication system. djoser library provides a set of Django Rest Framework views to handle basic actions such

Sunscrapers 2.2k Jan 1, 2023
Authentication Module for django rest auth

django-rest-knox Authentication Module for django rest auth Knox provides easy to use authentication for Django REST Framework The aim is to allow for

James McMahon 878 Jan 4, 2023
Authentication for Django Rest Framework

Dj-Rest-Auth Drop-in API endpoints for handling authentication securely in Django Rest Framework. Works especially well with SPAs (e.g React, Vue, Ang

Michael 1.1k Jan 3, 2023
Simple yet powerful authorization / authentication client library for Python web applications.

Authomatic Authomatic is a framework agnostic library for Python web applications with a minimalistic but powerful interface which simplifies authenti

null 1k Dec 28, 2022