I used to have a multi-factor authenticating door lock using this QR code mechanism. The lock is powered by Raspberry Pi, and have a 128px by 64px monochromatic screen, a camera and an RFID reader attached on it.
Procedure to unlock the door: 1. You swipe a RFID card across the lock. A QR code challenge including the hash of the ID of the card and a cryptographic nonce concatenated is displayed on the screen. 2. You start an app on your phone, scan the code and type the PIN. A QR code of hash of the aforementioned challenge hash, some secret stored in the phone, and the PIN concatenated is displayed on the phone screen. 3. You scan the response QR code on the lock. If the RFID card ID/phone secret/PIN tuple matched a record in the database stored within the lock, the lock unlocks. Sent from my iPhone > On Sep 17, 2015, at 13:06, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Sep 16, 2015, at 9:06 PM, Jonathan Hull <jh...@gbis.com> wrote: >> >> The big question would be why you want to do it. It is most likely easier >> to transfer via wifi (also traveling at the speed of light, and optimized >> for data transfer) or bluetooth. > > Secure pairing, as you said, is one use. You need to ensure that the two > devices involved are exactly the ones you think they are, and WiFi or > Bluetooth don’t work because they see everything in range. > > But it’s much higher bandwidth to use something like a QR code, where you can > send several thousand bits simultaneously. It’s pretty easy to send and > receive QR codes using APIs already available in iOS and Mac OS. You can send > an entire cryptographic key, and use that to bootstrap secure communication > over traditional networking. > > —Jens > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/max%40maxchan.info > > This email sent to m...@maxchan.info
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com