FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.9k stars 354 forks source link

lib/pairing.c fix ancient bug that silently omits 2nd pair-verify check #300

Closed fduncanh closed 2 years ago

fduncanh commented 2 years ago

The bug is present in the original code imported by FD-, but is not in shairplay. It is also not in dsafa22's code as indirectly seen in his paper about it (available at https://github.com/FDH2/UxPlay/wiki/AirPlay2 ), or https://github.com/SteeBono/airplayreceiver/wiki/AirPlay2-Protocol (bug found during UxPlay development)

Bug is innocuous if pairing interaction between client and RPiPlay is correct, but the check made by the 2nd POST pair-verify call is part of the protocol.

fduncanh commented 2 years ago

Features incorporated into UxPlay: no need to modify RPiPlay

fduncanh commented 2 years ago

Features incorporated into UxPlay: no need to modify RPiPlay

fduncanh commented 2 years ago

Features incorporated into UxPlay: no need to modify RPiPlay