Skip to content

akonring/srp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Secure Remote Password Protocol

This is a Python proof-of-concept implementation of the Secure Remote Password protocol. The notation used is similar to the one from the original protocol design. Some code snippets are borrowed from Wikipedia.

Bear in mind that this is only a poc implementation meaning that the server does not store the user data on any persistent storage i.e. a registered user will only be authenticated if the two requests occur in the same process life cycle.

Server Usage

Open a terminal and launch the server

 python srp_server.py

Client Usage

Clients can issue requests of type register or authenticate

Client Register

To register on a running server issue the following command

 python srp_client.py register 'username' 'password'

Client Authentication

To authenticate to the server

 python srp_client.py authenticate 'username' 'password'

About

A python poc implementation of the SRP protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages