Skip to content
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

Question about pair-pin-start protocolc #32

Closed
fduncanh opened this issue Sep 21, 2023 · 2 comments
Closed

Question about pair-pin-start protocolc #32

fduncanh opened this issue Sep 21, 2023 · 2 comments

Comments

@fduncanh
Copy link

fduncanh commented Sep 21, 2023

Hi

I hope you dont mind me asking for any advice.

I am a maintainer of the AirPlay (mirror and Audio-streaming) server UxPlay http://github.com/FDH2/UxPlay which
acts like an AppleTV. Its codebase is C and derives from ShairPlay/AirPlayServer/RpiPlay.

UxPlay handles legacy pairing, but this is now off by default and the Features bit for this and password is turned off. With these features enabled the client initiates pair-pin-start etc. and when clients are managed with MDM they may request pair-pin-start even if the server does not require a password.So I am considering adding it, but it has never been in the ancestral codebase of ShairPlay from which our implementation derives.

  • Am I right that your codebase is only implementing it for the client but not the server?

  • will I find enough information in you codebase to handle the (C implementation ) of pair-setup-pin on the server before pair verify?

Grateful for any suggestions.

Uxplay with the features bit (27) for "supports legacy pairing" turned on currently just does:

pair_setup
pair_verify 1
pair_verify 2
fp_setup

etc

I suppose that pair-pin-setup replaces pair-setup ?

@fduncanh

@philippe44
Copy link
Owner

Hi - no worries, happy to help if I can. AFAIK, pair-pin-setup is what is used now, I've never implement legacy pairing.

@fduncanh
Copy link
Author

@philippe44
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants