Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flyingrub/tornadoor
Server which trigger Raspberry pi gpio thanks to websocket.
https://github.com/flyingrub/tornadoor
Last synced: 16 days ago
JSON representation
Server which trigger Raspberry pi gpio thanks to websocket.
- Host: GitHub
- URL: https://github.com/flyingrub/tornadoor
- Owner: flyingrub
- License: gpl-2.0
- Created: 2015-06-05T14:19:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T12:49:38.000Z (over 8 years ago)
- Last Synced: 2024-10-11T00:49:34.089Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSWOD
Secure System Which Opens a Door## What is this ?
This project aims to create a server and a relation between a phone and a Raspberry Pi to open a door from the web, securely.
It runs [Tornado](http://www.tornadoweb.org/en/stable/) with tls.## How does it works ?
* Client
* hello
* Server :
* alea `myaleastring`
* Client
* `mypin` pin `myaleastring`
* Server
* Opens the door if mypin is equal to is own secret pin and myaleastring is equal to the one he sent.## Generate Keys :
Server Key :
```
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
openssl x509 -in server.crt -out server.pem
```keystore, for android client :
```
keytool -import -alias stan -file server.crt -keystore certstore
```## Android Client :
https://github.com/flyingrub/SecureKey