Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key-less Door Entry System #27

Open
nelsonic opened this issue Mar 3, 2017 · 14 comments
Open

Key-less Door Entry System #27

nelsonic opened this issue Mar 3, 2017 · 14 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Mar 3, 2017

At present we have "traditional" metal keys for locking the QuietSpace office.
While this has worked in the past it has 3 important disadvantages:

  • Keys cost money to copy for each new member 💸
  • Keys cannot be "revoked" when lost/stolen (or a member leaves) 👎
  • No Accountability for who entered/exited (if the door is left open and things go missing!) ❓

We therefore propose (for discussion) the installation of a key-less door entry system.
A key-less entry system will eliminate all the disadvantages of an "old school" key system.

Baseline Requirements:

  • Key card entry system with cheap individually identifiable keys. (MVP can be "blank"/white cards) 🗝 >> 💳
  • Card Exit (no "latch") so people leaving remember to take their key with them (so they can get back in!) 🚪
  • Basic key-card management system which will allow key registration and revocation. ⛔️

Really Nice-to-Have Features:

  • NFC reader for smartphone 📱
  • Bluetooth for older devices without NFC/RFID 📶

Background

@barisbalic has recently implemented a key-less entry system for "The Arch Climbing Wall" http://www.archclimbingwall.com so has plenty of experience and could help us if we ask nicely and feed him plenty of vegan curry ... 😋
@mk4111 if you want to help/pair on this we'd be delighted to get your input! 👍

London Hackspace https://london.hackspace.org.uk/ have had an RFID door entry system tied to their membership database for at least 4 years (since we've been members) so we could ask someone there to help us with getting our system installed. 💭

This could be a paid dwyl "Mini Project" because we are going to need this system for "Phase 2". 🌱

@iteles
Copy link
Member

iteles commented Mar 5, 2017

I particularly like this because it mean that 'opening hours' are a thing of the past.
Thanks for emailing @barisbalic!

@barisbalic
Copy link

Hey gang, my experience hasn't actually included a locking mechanism, but I did look into them for future use. Your MVP may be to buy an electronic door lock with a remote and then control the remote with a relay circuit, this lets you build with off the shelf parts, and, importantly means you would have a key as a backup, because as we all know, tech breaks :(

In my project the NFC tags only act as an identifier, and prompt a member of staff with an image of the owner, so it's hard for someone to abuse. In your case you want things to be fully automated so you need to consider all of the attack vectors and then work out how much risk you're willing to accept.

Standard NFC tags have their ID set by manufacturer, meaning that if you have a limited set of IDs you will accept, an attacker will need to copy those also, which is possible but is a bit harder. If you validate both ID and some other arbitrary data on the tag then you can also rate-limit tags and head off any brute-force attempts. Of course by it's nature that means it's possible for an attacker to DoS the door, but probably better than letting someone in.

There are 'secure' tags, such as the MIFARE DESFire (latest version possible), that allow you to encrypt data in such a way that it cannot be accessed without a key, but I suspect you need a specifically compatible reader for these kinds of cards, this would be worth looking into now as they may require some terrible proprietary hardware.

Another idea I toyed with is two factor auth: registering both tags and the MAC addresses of the tag owners hardware (phone/laptop/tablet), you can limit access to tags that are accompanied by their owners hardware.

Some general advice which might seem obvious:

  • Build a standalone unit that doesn't require network access
  • Consider adding a battery to the unit alongside mains power
  • Have some kind of public heartbeat for the unit so you can see if it's potentially down

I'm not sure if this was helpful, but if there are any questions this raises then let me know and I'll do my best to provide an answer or more detail, and let me know if you need any help.

@nelsonic
Copy link
Member Author

nelsonic commented Mar 8, 2017

@barisbalic this is more helpful than you can imagine! (seriously thank you!)
We've done some basic research on electronic door locks:
https://www.locksonline.co.uk/Electronic-Strike-Releases/Electronic-Composite-Door-Locks.html
But not been able to determine which is a good one to choose for the door we have... 🤔
I think a good "next action" would be to take lots of photos of the "QuietSpace" door so we can ask for advice from a door/lock expert. 👍

@mk4111
Copy link
Member

mk4111 commented Mar 8, 2017

@nelsonic - keen! I always leave my keys behind; this'd be siiiick

@nelsonic
Copy link
Member Author

nelsonic commented Mar 9, 2017

@mk4111 glad you like the idea. want to be "lead" for this "Mini Project". 😉
(it just means you making sure we get this done. sadly I don't have time to focus on it...)

@barisbalic is our "implementation/design expert". fairly certain you've met at meetup ... 👍
(you're both vegan, like coding and climbing so should work well as a "team")

@markwilliamfirth is your "Product Owner" and will order anything you need (e.g. components/tools) from Amazon etc.

@eliasCodes is also into hardware hacking so you should get his input/feedback. 💭

We don't have a "deadline" for this, but it would be great to get it done by Friday 24th March
because we need to start actively "recruiting" New Members for QuietSpace see: #26

@ghost
Copy link

ghost commented Mar 9, 2017

@nelsonic I don't think it's been fully decided if we're doing this (or even staying in QuietSpace) yet

and if we do go through with it, there might be a good case for getting a security company to do it for us rather than us building it in-house

@ghost ghost self-assigned this Mar 9, 2017
@ghost ghost added the priority-3 label Mar 9, 2017
@barisbalic
Copy link

FYI @nelsonic, @iteles, @mk4111, @markwilliamfirth in return for any help, I must insist that any cards are printed as keycards from doom...

red keycard

@nelsonic
Copy link
Member Author

nelsonic commented Mar 9, 2017

@markwilliamfirth agreed. we are at the "research and feasibility study" stage.
For insurance purposes we should definitely get a pro/company to assess (and then potentially install) the initial electronic lock on the door so we have a receipt.
but we would not use a closed source "black box" system because it's not re-useable by anyone.
We absolutely need to cost how much it will be to install and write up a business case beyond my initial "user story" (above) because we cannot spend tons of money at this stage which we might not see the return/benefit of. 👍
With that said, I know we will be using digital locks in "Phase 2"
and @iteles's brother will cross-subsidise the project if he can use it for his development
if we can package it up nicely with high quality card readers and eventually a nice interface, etc.
Yes, we need to decide soon if we are going to be running QuietSpace beyond May 2017, I have a sense that it's a "strategic" investment that goes way beyond the "Desk Space cost".

@nelsonic
Copy link
Member Author

Photos of the current door lock:
img_4356
img_4357
img_4358
img_4359
img_4360
img_4361
img_4362

@barisbalic
Copy link

I suspect you will have to find a lock that matches/fits this kind of door. I would hope that there is a standard but I can't tell you what it is, otherwise you would likely need to replace the whole door.

@mk4111
Copy link
Member

mk4111 commented Mar 15, 2017

@nelsonic, can I just double check whether we still want to aim to complete the research and feasibility study by 24th March 2017? Just because it's soon, and I'd like to think about the next few steps to get this rolling! (I have seen the issue about investigating digital locks in Phase 2)

@nelsonic
Copy link
Member Author

@mk4111 good question! We need to call East London Locksmith or UPVC door installers to find out if it's possible to install an electronic door lock on the door @quietspace ... without that info we cannot proceed any further with this project ... please let me know if you're happy to make a few phonecalls and/or send emails.

E.g: last week I sent out the following email: (which I have Forwarded to you in case you want to re-use it)
image

Got this reply:
image

And the chap is right we need to speak to the "right" people before doing anything else.
I've just been caught up in other work and haven't followed up on it, but if you have time it would be awesome if you can. (please let us know)

@mk4111
Copy link
Member

mk4111 commented Mar 16, 2017

@nelsonic - yup yup, would be happy to make phonecalls/send emails!! Will need to have a wee googley to find out about companies! I'll spend a pommy or two doing this tomorrow morning and will list out a few companies here; hope that's okidokie(?)!

@ghost
Copy link

ghost commented Oct 4, 2017

@mk4111 I hope you're well and enjoying airsorted! Wanted to ask if there was an update for where this issue ended up? Did anyone reply to you?

@jammur jammur unassigned ghost Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants