forked from ckdo/airplay2-receiver
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hitherto, a subtle bug existed in the HAP module. During various rounds of verification, signing was done by a temporally generated key, instead of the 'accessory' long term (LT) key. Accessory is the ap2-receiver. We now generate an Ed25519 key at startup and put it into the "pk" TXT record which makes the LTK available to other devices via the out-of-band channel, for long term access. More info: https://developer.apple.com/homekit/specification/ This means that non-transient pairing now works :) To test, add -ftxor 48 (disable Ft48TransientPairing), e.g.: python3 ap2-receiver.py -m myap2 -n en0 -ftxor 48
- Loading branch information
1 parent
57e4a3b
commit b88bcc6
Showing
3 changed files
with
43 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters