-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to know how to generate OOB messages on the server. #7
Comments
Please contact me via email at [email protected] and I can help you better. I will also be able to answer you faster. |
The server->peer direction is implemented in version 2.5 of the code here: https://github.com/tuomaura/eap-noob/releases/tag/2.5. This version of the code has everything working but it is implementing the older version 02 of the draft and uses a different elliptic curve and database scheme. Note that this will require you to downgrade to an older version of openssl. The server->peer direction is implemented in the nodejs server. We have tested 2 methods of sending the OOB message from the server to the peer: 1. through NFC on an android phone and 2. through a QR code that is shown to a peer device with a camera. The code for sending server to peer is spread into 3 files: profile.ejs, deviceadd.ejs, and oobmessage.py. The reason for this complexity is that a server would typically have many users each of which is adding many IoT devices. Therefore, there can be many devices which have completed the initial exchange with the server. The user has to login to the server, search for the device he/she is adding based on things such as the device name, manufacturer name, serial number etc. (in deviceadd.ejs) and then transfer the oob message (either by showing the peer device a QR code or by tapping NFC). The oob message is generated in the 'def get_oob_message(peer_id, path):' function in the oobmessage.py file. You can also find more information on how the oob message from the server is sent to the peer over NFC in section 6.2 here: https://aaltodoc.aalto.fi/bitstream/handle/123456789/27982/master_Thagadur_Prakash_Shiva_2017.pdf As the standardization of EAP-NOOB progresses in the IETF, we are also planning to update the latest version of the code in the EAP-NOOB repository to support server->peer direction. |
How do I generate OOB message on the server when Server -> Peer ?
I want to know if there is source code.
I would also like to know the file name and location if it exists.
Thank you for always kind replying.
The text was updated successfully, but these errors were encountered: