摘要 |
A secure wireless communication link (pairing) between two devices can be established using wireless transmissions between devices not joined to a network ("probes"). One device can broadcast a first probe indicating that it is seeking to establish a pairing. The other device can respond with a second probe, and the two devices can establish a shared secret, e.g., by exchanging further information using additional probes. A shared secret is established by exchanging public keys with a controller using a plurality of additional probes including at least a third probe sent by an accessory and a fourth probe received by the accessory, validating by the accessory that the shared secret is shared by the controller. The accessory then generates a further cryptographic key using the shared secret and receives a fifth probe from the controller which contains an encrypted message. Thereafter, either device can send a message to the other by encrypting the message using a cryptographic key derived from the shared secret; encrypted messages can also be sent within probes. The receiving device can extract an encrypted message from a probe and decrypt it using the cryptographic key. The encrypted message can include credentials usable by the receiving device to join a wireless network. |