Dear All , 
I hope I am in the correct place of the forum for this question , 
So What i have in mind of doing , 
http://www.arduino.cc/en/Main/ArduinoBoardYunArduino has released a Board with both Linux and Arduino environment, I will focus on the Linux part for now , 
So this Linux processor can run Python and c++ scripts "I think" so I would like a piece of code that would somehow verify the Key I insert onto the USB port of the Processor in the following order .: 
-firstly.: Verify that they key is authentic , to prevent spoofing and what not 
-Secondly.: I would have an Array or database to keep some sort of private key or some identifier of the key's that I will grand access to , 
-third.: I will compare somehow the Key with the database , if is in the allowed access devises then I will pass a parameter to the other processor , to do some hardware work like power up an actuator for the Door or something similar , 
But I have no idea how the keys work or are being authenticated , so please bear with me on this one 
 
 Thank you in advance 
Le Test 40