3 ms·
Here is another idea based on audio, which doesn't require any aspect of audio to be sent to the network. 1. The phone is equipped with a public/private key.
by kazinator 11y ago
Here is another idea based on audio, which doesn't require any aspect of audio to be sent to the network.
1. The phone is equipped with a public/private key.
2. Authentication begins when the client side of the application running on the PC or other device ("authenticating device" or AD) receives a message from the network informing it of the phone's public key, and a challenge token. The AD's goal is to obtain a signed version of that same token from the phone.
3. The phone also receives a message containing the token. A handler on the phone recognizes the message and kicks into action. It retrieves the private key, signs the token, and emits audio representing the signature.
4. The authentication module on AD is listening for this audio, and decodes it. Then it uses the public key to verify the signature against the token. If the signature matches, it declares to the application that the phone is present in the room.
Simpler version, without cumbersome crypto:
1. The phone and AD receive a numeric code.
2. The phone converts the numeric code to a short sequence of musical tones. These are played out the speaker.
3. The AD hears the tones and recognizes the correct numeric code, declaring the phone to be present.
The downside is that the phone makes noise, which may not be acceptable in some circumstances. This can be mitigated by using a simple audio cable with 1/8" plugs from the phone's headset to the mic input on the PC.