USB Locks & Keys

Post Reply
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

I recently got a cool new USB "key":

Image

And it's given me an idea. We need USB Locks. The lock has a USB slot on it, you plug in your USB key and it opens. This is done by using the software that comes with the lock on your computer to put a special hash on the key. It hashes together the ID of the key iteself, the ID of the door, and a password, and sticks the results on the key in a hidden file. When you put it in the door, the door creates the same hash and if it's a match it opens.

Using all three elements in the hash gives you a high level of flexibility of use. It means you can put multiple doors on one key at will, and the doors just look at all the hashes on the key for the one that matches. Because the hash includes the specific ID of the key itself, you can't just copy the file to another key and have it work, it has to be created on that specific key by the software. And because there's a password included in the process, no one else can recreate your hash even if they somehow have your key and door IDs. Of course you have to make sure the hash is not reversible when you have two of the three elements to make it a secure system.

To "rekey" your door all you have to do is change your password in the software. It creates a special little directive file along with the regular hash for verification. The door sees that and - after authenticating - changes it's password to the new one and sets the key to regular operations again using the new hash.

This means no more locksmiths. No more going to the hardware store for more copies of keys to lose. You can rekey your door at will, and make as many copies as you want yourself. If it becomes popular it means only having one key to carry around with you that will open all the doors you have access to wherever you go. And of course it's got plenty of space so you can also carry around all your data on the same key.

The only technical issues to overcome are:

1) Making the door hardware so that it's fast to read the key instead of the relatively slow mount times you see on a computer for USB devices. This needs to be very nearly instantaneous.

2) Making the door hardware capable of running nearly indefinitely on battery power if the power is out. Also, make it so that - in extreme cases - you could use a special device that as a USB plug of both sorts on it and a big fat battery, allowing you to push power into the lock and plug in your key through it, just in case all other power has failed.

3) Making absolutely sure the system is bug free. Sure you could make firmware flashes to fix problems, but problems with this system don't just mean a little inconvenience for someone. They mean someone got robbed.

Lastly, this would also be a good thing to tie into home automation. The next step is making it so that when you open your door with your key, it sets off your custom program that turns on the light, fires up the TiVo and television, boots your computer, and turns on your coffeepot. Or whatever all you've programmed it to do when you get home.

Now, someone go make that and give me one for free.




Edited By TPRJones on 1269471386
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
TheCatt
Site Admin
Posts: 58198
Joined: Thu May 20, 2004 11:15 pm
Location: Cary, NC

Post by TheCatt »

Why USB though, why not something wireless?
It's not me, it's someone else.
GORDON
Site Admin
Posts: 56735
Joined: Sun Jun 06, 2004 10:43 pm
Location: DTManistan
Contact:

Post by GORDON »

I own one USB drive, and every now and then it corrupts itself. I wouldn't trust one to get me into my house.
"Be bold, and mighty forces will come to your aid."
User avatar
Cakedaddy
Posts: 9384
Joined: Thu May 20, 2004 6:52 pm

Post by Cakedaddy »

TheCatt wrote:Why USB though, why not something wireless?
That's what I thought. They already have proximity based security systems. You could also just hold your keys up to the scan pad like some companies do with their ID badges.
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

Mostly because USB is ubiquitous. To become widely adopted it should use common hardware if possible. The goal would be to become a new standard, to replace the common key as much as possible. Using proprietary wireless hardware would ensure that could never ever happen.

I want to carry ONE key. One key that I can program to open doors at home, at work, at my storage facility, my car, all of it. I'm tired of carrying a huge ball of metal shards all the damn time. And since most of those keys go to places where I have no way to control what sort of key is used, to make that happen I'd need to find a way to replace the standard with a new one.

It'll never happen, of course, but I still think it's a good idea.
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
TPRJones
Posts: 13418
Joined: Fri May 21, 2004 2:05 pm
Location: Houston
Contact:

Post by TPRJones »

GORDON wrote:I own one USB drive, and every now and then it corrupts itself. I wouldn't trust one to get me into my house.
You should get a different one. I've got a dozen lying around and have never had that problem with any of them.

Well, one of them, but it turns out it's because it's not what it claimed to be. I accidental bought an illegal knock-off of a name brand.
"ATTENTION: Customers browsing porn must hold magazines with both hands at all times!"
TheCatt
Site Admin
Posts: 58198
Joined: Thu May 20, 2004 11:15 pm
Location: Cary, NC

Post by TheCatt »

TPRJones wrote:Mostly because USB is ubiquitous. To become widely adopted it should use common hardware if possible. The goal would be to become a new standard, to replace the common key as much as possible. Using proprietary wireless hardware would ensure that could never ever happen.

It'll never happen, of course, but I still think it's a good idea.

Wireless USB? That's a standard. Bluetooth?

I mean, those are all just connection mechanisms. Heck, use BT and your phone is your key.




Edited By TheCatt on 1269519176
It's not me, it's someone else.
Leisher
Site Admin
Posts: 71064
Joined: Thu May 20, 2004 9:17 pm
Contact:

Post by Leisher »

I've never seen a USB drive go bad. Lucky I guess. Of course, that's offset by the 50% failure rate I used to see with 3.5" disks.

Can't Bluetooth be hacked in less than a second or did they fix that?
"Happy slaves are the worst enemies of freedom." - Marie Von Ebner
"It was always the women, and above all the young ones, who were the most bigoted adherents of the Party, the swallowers of slogans, the amateur spies..." - Orwell
Malcolm
Posts: 32040
Joined: Fri May 21, 2004 1:04 pm
Location: Minneapolis

Post by Malcolm »

I've got less than complete confidence in the security of anything that's wireless.
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Post Reply