Skip to content

ertlnagoya/Blockchain-based_secure_firmware_update

Repository files navigation

Secure Update framework Using blockchain for IoT devices

About this framework

  • blockchain.py
    blocchain node.
  • nomal_req_node.py
    In nomal node, client to request.
  • nomal_res_node.py
    In nomal node, server to response.
  • valid_node.py
    In valid node, server to response.

Usage

Run those program

$ python valid_node.py   
$ python nomal_res_node.py   
$ python nomal_req_node.py [IP address](ex 0.0.0.0)   

Installation for blockchain function

  1. Make sure Python 3.6+ is installed.
  2. Install pipenv.
$ pip install pipenv 
  1. Create a virtual environment and specify the Python version to use.
$ pipenv --python=python3.6
  1. Install requirements.
$ pipenv install 
  1. Run the server:
    • $ pipenv run python blockchain.py
    • $ pipenv run python blockchain.py -p 5001
    • $ pipenv run python blockchain.py --port 5002

Licence

MIT License

Author

Reference

https://link.springer.com/article/10.1007/s11227-016-1870-0 https://github.com/dvf/blockchain

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published