/masterpassword-nodemcu

Manage your passwords using NodeMCU (esp8266) running Master Password Algorithm

Primary LanguageHTML

Master Password on NodeMCU

What's this?

Always want to find a password manager, yet still considering security problems? Thanks to Master Password, now here comes a solution.

Your passwords are generated instantly and will never be stored anywhere.

No Storage - Nothing to Intercept - Nothing to Lose

This project makes it possible to take it with you everywhere like this :

A pretty cute tiny password manager. It generates a wireless network which you can connect with :

    SSID: masterpassword
    PSK : masterpassword

Then open your favorite browser and navigate to :

    http://192.168.111.1

Here it is :

Now you can generate your passwords instantly. Of course, nothing is gonna to be stored in it thus nothing to lose even if someone else got this module. Still you can regenerate your passwords later. To know more, you can visit :

http://masterpasswordapp.com

How it works

Actually I just fit mpw-js into esp8266 with 50K RAM and 1MB flash storage. I'm using nodemcu to run a tiny http server written in lua script language. You can find more useful resources at the bottom.


Prerequisites

You can just use your favorite esp8266 module.

As for now, I've tested all of these modules.

You just need to get one.

Then clone the source code and have fun.

git clone https://github.com/wuhanstudio/masterpassword-nodemcu.git

git submodule init && git submodule update 

Oh, Remember you need Python.

How to install

  1. Check out your serial port and modify Makefile

    For Linux :

     PORT=/dev/ttyUSB0
    

    For Windows :

     PORT=COM5
    
  2. Erase your flash

    Though this is not necessary but recommended.

     sudo make clean
    
    • For Linux, you need sudo to get access to serial connection.

    • For Windows, sudo is not necessary.

  3. Copy files

    This will get all configuration files ready.

     sudo make install
    
  4. Upload Firmware

     sudo make upload_firmware
    
  5. Upload Server and HTML files

     sudo make upload_all 
    
  6. Done, now connect to it and open your favorite browser

     SSID: masterpassword       PSK : masterpassword
    
     http://192.168.111.1
    

Related Projects

Master Password :

https://github.com/Lyndir/MasterPassword

MPW JS :

https://github.com/tmthrgd/mpw-js

Nodemcu Firmware :

https://github.com/nodemcu/nodemcu-firmware

Nodemcu Uploader :

https://github.com/kmpm/nodemcu-uploader

Nodemcu Http Server :

https://github.com/marcoskirsch/nodemcu-httpserver