Giter VIP home page Giter VIP logo

python_mfa's Introduction

Python_MFA

A multifactor authentication application developed in python

As part of my university course I was tasked with the creation of a multi-factor authentication project, the three levels of authentication chosen were Login with username and encrypted password, one-time password and a captcha.

The project was coded in python with the flask framework used for the front end. The database chosen was SQLite, in the database stored are the username, first name, last name, email, encrypted password using sha-256, and the OTP secret key.

Flask was chosen due to the login page library and the current user library, these would help with the ease of use in the creation of this project, instead of having to store cookies.

The otp functionality uses the library pyotp for the creation of a time-based one-time password. The captcha is generated on the backend in the python .random function and then stored in a variable then using the captcha library to create a static image that is checked against the variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.