GithubHelp home page GithubHelp logo

crestaa / agritech Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 101 KB

University of Bologna - Internship: IoT & Agritech (a.y. 2022-23).

License: MIT License

C++ 26.29% Go 39.10% Dockerfile 0.45% C 1.61% HTML 17.76% JavaScript 14.79%
agritech esp32 iot

agritech's Introduction

agritech's People

Stargazers

 avatar

Watchers

 avatar

agritech's Issues

Secure LoRa communication

Idea di base:

Cifrare il payload nell'end device prima che venga inviato con crittografia simmetrica (possibile lavoro futuro: implementare scambio chiavi a inizio comunicazione / implementare crittografia asimmetrica).
La chiave è derivabile dall'hash di una stringa "password" condivisa su tutti i dispositivi.
L'inserimento dell'id casuale nel pacchetto inviato funziona come nonce per evitare replay attack, la cifratura garantisce segretezza e autenticità molto basilari.

Suddivisione dispositivi:

  • enddevice cifra il payload prima di inviarlo
  • gateway riceve il pacchetto, lo decifra e se ne risulta un contenuto non conforme lo scarta, altrimenti inoltra al server il pacchetto cifrato
  • server riceve il pacchetto, lo decifra e se ne risulta un contenuto non conforme lo scarta, altrimenti controlla se il nonce (id) è già stato ricevuto, se è nuovo salva il contenuto nel database altrimenti lo scarta

Server codebase

  • Golang codebase for server
  • Retrieving data from MQTT broker

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.