-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
A companion android app has been created, though if you would like to make your own, look at the implementation section of the FAQ.
Yes you can! You will just have to edit the open_door method to work with the relay board you have chosen.
Password verification is implemented using a challenge-response system with bcrypt as the hashing algorithm. In essence, the server sends a 29 byte challenge and expects a bcrypt hash as the response. The client should respond with the hash of a valid key appended with the challenge data. If the server verifies that the client has a trusted key it calls the open_door function.
Bcrypt was chosen for its ability to adjust its work factor (which you may change as you wish) which allows for users to trade as much processing time as they want for security or vice versa.