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
 

RSA public key

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

RSA public key

Postby skan » 6 May 2012 19:53

Hello

I'm thinking in something like RSA public key.
The lock and the key store two encrypted key numbers.

The lock, using his internal encrypted number and a random number generates another one.
The key checks this number and if it's right (only a few are truly generated by the lock) generates another number with his own.
The lock checks the latter number and opens the lock.

This is very common in computer science, and has been mathematically proved to be really difficult to hack.

I speak about random numbers in order to repeating always the same, that could be eavesdropped.
skan
 
Posts: 26
Joined: 2 May 2012 16:27

Re: RSA public key

Postby MacGyver101 » 6 May 2012 22:33

I agree: there are a lot of approaches to cryptographic key exchange that are all the product of a lot of careful thought and formal proofs -- and electronic locking systems would be wise to build on them.

My only hesitation with using Public Key crypto in a case like this, though, is that the real benefits of Public Key cryptography (e.g., a trusted central service to sign the keys and a key-revocation list) would be difficult to implement unless both the lock and the key each had the ability to communicate with a central signing authority... which may not be practical. (It's very costly to wire and network every door.) Public Key crypto also needs fairly long keys (thousands of bits).

It might be simpler to use an anonymous key-exchange protocol (e.g., some Diffie-Hellman variant), and the key could then use that to encrypt wherever data it needs to send to the lock. This would allow the crypto keys to be much shorter -- and Public Key without a signing authority is basically an anonymous exchange anyhow.

There are a lot of approaches, though, and they each have their merits: that's just my $0.02. :)
Image
User avatar
MacGyver101
Moderator Emeritus
 
Posts: 1560
Joined: 21 Jun 2006 14:40
Location: Toronto, Canada

Re: RSA public key

Postby skan » 7 May 2012 5:10

I agree
skan
 
Posts: 26
Joined: 2 May 2012 16:27


Return to The Open Source Lock

Who is online

Users browsing this forum: No registered users and 0 guests