Skip to content

Commit

Permalink
Changes prior to release v0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Mar 22, 2018
1 parent 47b27bb commit 8936ec7
Show file tree
Hide file tree
Showing 15 changed files with 1,890 additions and 102 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@ All notable changes to this project will be documented in this file.

## [Unreleased]
#### Added
- [firmware] !!! BREAKING CHANGE !!! 2 MB Flash 2 MB SPIFFS size for future proof firmware updates plase make sure you made a backup before updating to this version. You need to format SPIFFS.
- [firmware] Experimental PN532 RFID Reader Support
- [webui] Try to connect button upon inprogress complete.
- [webui] Restart without saving changes.
- [firmware] Staging framework for platformio

#### Changed
- [firmware] Reduced serial outputs.

#### Fixed
- [webui] wrong version is shown #80 .
- [webui] whole html was shifted previous css change.
- [webui] wrong version is shown #80.
- [webui] whole html was shifted with previous css change.

#### Removed
- [firmware] MQTT Specific code, will switch to asyc mqtt
- [firmware] Factory reset via pin

## [0.6.1] - 2018-03-14
#### Added
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ESP RFID - Access Control with ESP8266, RC522
# ESP RFID - Access Control with ESP8266, RC522 PN532 Wiegand

[![Chat at https://gitter.im/esp-rfid/Lobby](https://badges.gitter.im/esp-rfid.svg)](https://gitter.im/esp-rfid/Lobby) [![Build Status](https://travis-ci.org/omersiar/esp-rfid.svg?branch=stable)](https://travis-ci.org/omersiar/esp-rfid) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc424f75d12644da8b6fe248a5e95157)](https://www.codacy.com/app/omersiar/esp-rfid?utm_source=github.com&utm_medium=referral&utm_content=omersiar/esp-rfid&utm_campaign=Badge_Grade) [![Bountysource](https://api.bountysource.com/badge/team?team_id=242217)](https://salt.bountysource.com/checkout/amount?team=esp-rfid)

Access Control system using a cheap MFRC522 RFID Hardware or Wiegand RFID readers and Espressif's ESP8266 Microcontroller.
Access Control system using a cheap MFRC522, PN532 RFID readers or Wiegand RFID readers and Espressif's ESP8266 Microcontroller.

[See Demo Here](https://bitadvise.com/esp-rfid/)

Expand Down Expand Up @@ -69,13 +69,13 @@ The resulting (built) image(s) can be found in the directory ```/bin``` created

The following table shows the typical pin layout used for connecting MFRC522 hardware to ESP:

| Signal | MFRC522 | WeMos D1 mini | NodeMcu | Generic |
|---------------|:-------------:|:--------------:| :------:|:------------:|
| RST/Reset | RST | N/C [1] | N/C [1] | N/C [1] |
| SPI SS | SDA [3] | D8 [2] | D8 [2] | GPIO-15 [2] |
| SPI MOSI | MOSI | D7 | D7 | GPIO-13 |
| SPI MISO | MISO | D6 | D6 | GPIO-12 |
| SPI SCK | SCK | D5 | D5 | GPIO-14 |
| Signal | PN532 | MFRC522 | WeMos D1 mini | NodeMcu | Generic |
|---------------|:-------------:|:-------------:|:--------------:|:-------:|:------------:|
| RST/Reset | RST | RST | N/C [1] | N/C [1] | N/C [1] |
| SPI SS | SS | SDA [3] | D8 [2] | D8 [2] | GPIO-15 [2] |
| SPI MOSI | MOSI | MOSI | D7 | D7 | GPIO-13 |
| SPI MISO | MISO | MISO | D6 | D6 | GPIO-12 |
| SPI SCK | SCK | SCK | D5 | D5 | GPIO-14 |

1. Not Connected. Hard-reset no longer needed.
2. Configurable via settings page.
Expand Down Expand Up @@ -111,9 +111,9 @@ This will require you to do syncing manually. ESP can store and hold time for yo
So you have to login to settings page and sync it in a timely fashion.

## **Security**
We assume **ESP-RFID** project -as a whole- does not ready for actual day-to-day usage in the means of security. [Crypto 1](http:https://www.cs.virginia.edu/~kn5f/Mifare.Cryptanalysis.htm) cipher is cracked which is used to secure Mifare Classic RFID PICCs (tags). There are PICCs available that their UID (Unique Identification Numbers) can be set manually (Currently esp-rfid relies only UID to identify it's users). Also there may be a bug in the code that result free access to your belongings. And also, like every other network connected device esp-rfid is vulnerable to many attacks including Man-in-the-middle, Brute-force, etc.
We assume **ESP-RFID** project -as a whole- does not offer strong security. There are PICCs available that their UID (Unique Identification Numbers) can be set manually (Currently esp-rfid relies only UID to identify it's users). Also there may be a bug in the code that may result free access to your belongings. And also, like every other network connected device esp-rfid is vulnerable to many attacks including Man-in-the-middle, Brute-force, etc.

These sound devastating security problems for a simple project, but we can not be held liable any damages done because of this software.
This is a simple, hobby grade project, do not use it where strong security is needed.

What can be done to increase security? (by you and by us)

Expand Down
Binary file modified bin/firmware.bin
Binary file not shown.
15 changes: 8 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
env_default = nodemcu

[common]
version = -DBUILD_TAG=0.6.0
platform = espressif8266
platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
lib_deps =
ArduinoJson
PubSubClient
ESPAsyncTCP
ESPAsyncUDP
ESP Async WebServer
Time
MFRC522
ESPAsyncUDP
63
https://github.com/monkeyboard/Wiegand-Protocol-Library-for-Arduino.git

; boards which GPIO0 and RESET controlled using two NPN transistors as nodemcu devkit (includes wemos d1 mini)
Expand All @@ -20,9 +19,10 @@ board_f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
board_flash_mode = qio
upload_resetmethod = nodemcu
lib_deps = ${common.lib_deps}
build_flags = -Wl,-Teagle.flash.4m.ld
build_flags = -Wl,-Teagle.flash.4m2m.ld
extra_scripts = scripts/pio_script.py
upload_speed = 921600
; Serial Monitor options
Expand All @@ -33,9 +33,10 @@ board_f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
board_flash_mode = qio
lib_deps = ${common.lib_deps}
extra_scripts = scripts/pio_script.py
build_flags = -Wl,-Teagle.flash.4m.ld
build_flags = -Wl,-Teagle.flash.4m2m.ld
src_build_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG

[env:dout]
Expand All @@ -46,7 +47,7 @@ board = esp12e
board_flash_mode = dout
upload_resetmethod = ck
lib_deps = ${common.lib_deps}
build_flags = -Wl,-Teagle.flash.4m.ld
build_flags = -Wl,-Teagle.flash.4m2m.ld
extra_scripts = scripts/pio_script.py
upload_speed = 921600
; Serial Monitor options
Expand Down
Loading

0 comments on commit 8936ec7

Please sign in to comment.