Patent ID: 8731466

Claim:
A system comprising: at least one lock provided with electronic circuits for NFC transmission/reception and with electric circuits for the control of locking/unlocking mechanical elements, and a portable telephone provided with circuits enabling it to operate in NFC mode, said system being characterized in that the telephone comprises means for performing an initial programming of the lock, said means including: means for downloading from a remote site an applet operable to automatically execute the sequence of next steps for the lock programming; means for downloading from the remote site the elements required for the lock programming, said elements including: a recorded lock identifier, a unique random algorithm, a transport key and a cryptographic key; means for establishing a bidirectional NFC coupling between the lock and the telephone; means for making the telephone verify the matching of the identifier and the transport key stored in the lock with the identifier and the transport key downloaded from the remote site; means for deactivating the transport key of the lock in favor of the unique random algorithm and the cryptographic key; means for uploading into the lock the unique random algorithm and the cryptographic key; and means for generating a message for notifying the completion of the lock programming.