Coder Social home page Coder Social logo

bunnylab / flask-zkpp Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 1.0 5 KB

Flask Zero Knowledge Password Proof: extension to add interactive public-private key based login method to flask-login

License: Do What The F*ck You Want To Public License

Python 92.57% HTML 7.43%

flask-zkpp's Introduction

Flask-ZKPP

Flask-ZKPP adds a interactive login proof based on public key cryptography to flask-login. The goal is to have a simple and secure way to use public key crypto in addition to or instead of classic username/password based login systems.

Flask-ZKPP login proof does not require any user data to be persisted so it can be used without a database. Everything still under construction don't use lol.

Installation

$ python setup.py install

Usage

Install, and import the extension into your flask application. Requires flask-login and PyCrypto. Extension can be initialized with a flask application and a loginmanager from flask_login. If you don't provide a loginmanager on initialization the extension will create one for you.

import flask
from flask_zkpp import ZKPP

app = flask.Flask(__name__)
app.secret_key = 'no one will ever guess this'
zkpp = ZKPP()
zkpp.init_app(app)

flask-zkpp's People

Contributors

bunnylab avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

bellyfat

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.