Lock Picking 101 Forum
A community dedicated to the fun and ethical hobby of lock picking.
       

Lock Picking 101 Home
Login
Profile
Members
Forum Rules
Frequent Forum Questions
SEARCH
View New Posts
View Active Topics


Live Chat on Discord
LP101 Forum Chat
Keypicking Forum Chat
Reddit r/lockpicking Chat



Learn How to Pick Locks
FAQs & General Questions
Got Beginner Questions?
Pick-Fu [Intermediate Level]


Ask a Locksmith
This Old Lock
This Old Safe
What Lock Should I Buy?



Hardware
Locks
Lock Patents
Lock Picks
Lock Bumping
Lock Impressioning
Lock Pick Guns, Snappers
European Locks & Picks
The Machine Shop
The Open Source Lock
Handcuffs


Member Spotlight
Member Introductions
Member Lock Collections
Member Social Media


Off Topic
General Chatter
Other Puzzles


Locksmith Business Info
Training & Licensing
Running a Business
Keyways & Key Blanks
Key Machines
Master Keyed Systems
Closers and Crash Bars
Life Safety Compliance
Electronic Locks & Access
Locksmith Supplies
Locksmith Lounge


Buy Sell Trade
Buy - Sell - Trade
It came from Ebay!


Advanced Topics
Membership Information
Special Access Required:
High Security Locks
Vending Locks
Advanced Lock Pick Tools
Bypass Techniques
Safes & Safe Locks
Automotive Entry & Tools
Advanced Buy/Sell/Trade


Locksport Groups
Locksport Local
Chapter President's Office
Locksport Board Room
 

Electronic Protocol

TOSL Project. A community project to "build a better mousetrap".

Electronic Protocol

Postby paddysteed » 9 Nov 2010 17:23

Image
This is a flow diagram of an authentication protocol I designed a few months back. I am happy for it to be used for this project. It would be useful for small device wireless authentication as it does not require the pass-code to be sent nor does it require encryption. There are libraries available for microcontrolers to do the hashing functions and the random number generation (http://www.das-labor.org/wiki/AVR-Crypto-Lib/en).
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby paddysteed » 10 Nov 2010 15:19

You could have a wireless key inserted into a slot, when turned powered the device and powered the key (through induction, the same method electric toothbrush's use to charge, there would be no need for a battery in either key or lock making the lock suitable for standard doors where there is no power supply. Both key and lock would just have a large capacitor for storing the power needed to unlock and lock.

You could also have a 'Master key' -- connected to a computer or smart phone (bluetooth?) which would be inserted to update the 'allowed key's' in the locks database.
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby vov35 » 10 Nov 2010 19:28

Bluetooth itself is a horribly insecure protocol. Also we discussed in the main thread how exactly the lock itself would be designed, and the vulnerabilities of having giant inductors...
The BiLock isn't the first bump proof pin tumbler because it isn't a pin tumbler.
And it's called a shear line, not a "sheerline".
vov35
 
Posts: 229
Joined: 29 Sep 2010 15:13

Re: Electronic Protocol

Postby paddysteed » 11 Nov 2010 2:12

Bluetooth+RSA is very secure!
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby jonwil » 11 Nov 2010 3:31

This is exactly the sort of authentication protocol I suggested in the other thread.

Although I would use SHA-256 (or possibly double SHA-256) to avoid vulnerabilities in SHA1.
jonwil
 
Posts: 26
Joined: 3 Jun 2009 0:42

Re: Electronic Protocol

Postby paddysteed » 11 Nov 2010 12:04

Great Minds think alike, who said anything about inductors? http://en.wikipedia.org/wiki/Piezoelectric_motor
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby mh » 11 Nov 2010 13:17

They are nice, you can build systems that can't be influenced by magnets with them.
I don't see how they relate to toothbrushes or induction, though.
And if you want power from a piezo electric generator, I'm afraid you'd have to turn a lot...

Building an electromagnetic generator somewhere into the system would be possible though, I think, and could be designed in a secure way.

Cheers
mh
"The techs discovered that German locks were particularly difficult" - Robert Wallace, H. Keith Melton w. Henry R. Schlesinger, Spycraft: The secret history of the CIA's spytechs from communism to Al-Qaeda (New York: Dutton, 2008), p. 210
Image
mh
Moderator
 
Posts: 2437
Joined: 3 Mar 2006 4:32
Location: Germany

Re: Electronic Protocol

Postby paddysteed » 11 Nov 2010 16:29

The pizo motor would turn the lock, it is not influenced by magnetic fields, there would be an electromagnetic generator when the key was turned but manipulating that would not cause the door to open, the induction is to power the key
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby vov35 » 11 Nov 2010 16:41

paddysteed wrote:You could have a wireless key inserted into a slot, when turned powered the device and powered the key (through induction, the same method electric toothbrush's use to charge, there would be no need for a battery in either key or lock making the lock suitable for standard doors where there is no power supply. Both key and lock would just have a large capacitor for storing the power needed to unlock and lock.

You could also have a 'Master key' -- connected to a computer or smart phone (bluetooth?) which would be inserted to update the 'allowed key's' in the locks database.


Giant inductors.
I don't really care if it's a piezo or not, it's a question of what happens if one were to expose it to massive RF...
The BiLock isn't the first bump proof pin tumbler because it isn't a pin tumbler.
And it's called a shear line, not a "sheerline".
vov35
 
Posts: 229
Joined: 29 Sep 2010 15:13

Re: Electronic Protocol

Postby mh » 11 Nov 2010 23:58

"Massive RF" like an open microwave oven can be more easily shielded from, than strong magnets.
I.e. wrapping things in electrically conductive material is easier than in magnetically conductive material.
"The techs discovered that German locks were particularly difficult" - Robert Wallace, H. Keith Melton w. Henry R. Schlesinger, Spycraft: The secret history of the CIA's spytechs from communism to Al-Qaeda (New York: Dutton, 2008), p. 210
Image
mh
Moderator
 
Posts: 2437
Joined: 3 Mar 2006 4:32
Location: Germany

Re: Electronic Protocol

Postby jonwil » 12 Nov 2010 8:41

IR is the best way IMO. Done right its nigh-impossible for someone to fry an IR system. (well a lot harder than frying RF type systems)

Also, IR isn't vulnerable to the kind of attacks being carried out on car keyfobs by thieves where the attacker jams the signal from the keyfob so the user thinks they locked their car but the car is still unlocked.

The keys could have batteries that charge up over USB (come into the house and plug your keyfob into a USB charger box on the front table and its right there when you want to go and will be fully charged up) or they could just have car key batteries that could be replaced at the same places car keyfob batteries get replaced (car key batteries last long enough so why wouldn't the batteries in these things)
jonwil
 
Posts: 26
Joined: 3 Jun 2009 0:42

Re: Electronic Protocol

Postby vov35 » 12 Nov 2010 21:41

mh wrote:"Massive RF" like an open microwave oven can be more easily shielded from, than strong magnets.
I.e. wrapping things in electrically conductive material is easier than in magnetically conductive material.


Which doesn't work when you need an antenna.

I agree with the IR idea... but I more or less proposed it in this project.
The BiLock isn't the first bump proof pin tumbler because it isn't a pin tumbler.
And it's called a shear line, not a "sheerline".
vov35
 
Posts: 229
Joined: 29 Sep 2010 15:13

Re: Electronic Protocol

Postby paddysteed » 13 Nov 2010 5:49

I agree, EMPing the lock would probably cause it to break, but it will never open the lock, the problem with inductors in locks is that by manipulating magnetic fields around them one may be able to open the lock, which is exactly why I propose that the motor for the bolt is a pizo motor, they are unaffected by magnetic fields.
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby paddysteed » 13 Nov 2010 10:35

IR would be very good, at the end of the key inserted into the lock. I see no way to power the lock apart from a dyno although I see no problem with a dyno due to reasons in my previous post.
paddysteed
 
Posts: 10
Joined: 9 Nov 2010 16:39

Re: Electronic Protocol

Postby vov35 » 13 Nov 2010 12:39

if you microwave it you're arcing through many semiconductors, causing things to fault open. That's my security concern here...
The BiLock isn't the first bump proof pin tumbler because it isn't a pin tumbler.
And it's called a shear line, not a "sheerline".
vov35
 
Posts: 229
Joined: 29 Sep 2010 15:13

Next

Return to The Open Source Lock

Who is online

Users browsing this forum: No registered users and 5 guests