Posts: 37
Joined: Dec 2013
Reputation:
0
pette
Junior Member
Posts: 37
Aes keys may have different lenghts. But I am not so sure why they call the first keys rsaaes, I thought rsa and aes were separate things.
An aes implementation for the correct keylength is worth a try in my opinion.
Posts: 37
Joined: Dec 2013
Reputation:
0
pette
Junior Member
Posts: 37
2014-01-12, 22:40
(This post was last modified: 2014-01-12, 22:43 by pette.)
Rsaaeskey could mean that the aes key is rsa encrypted. Would be a bit strange if the fpaes was "just" aes. What do you do with the rsaaeskey? First a rsa decode and then use the output as an aes key? How about just using the fp aes without rsa decrypt
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2014-01-12, 23:11
(This post was last modified: 2014-01-12, 23:15 by Memphiz.)
You both get me wrong. Fairplay rsa, aes - thats all in the scop of libshairplay. Thats where my region ends guys. I don't have any clue about encryption and i also don't know what shairplay does with that key. Thats where one needs to start to read the shairplay code or contact the shairplay dev (which i did).
My ios6 devices work all fine with most of these airplay.xml files ... (100% for the version of airplay.xml which i checked in into github for the last testbuild ...).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2014-01-12, 23:26
(This post was last modified: 2014-01-12, 23:27 by Memphiz.)
answer from upstream dev
"Sorry for a bit slow reply. I think this is probably the wrong path, I would really want to do the fairplay handshake instead of RSA handshake because it would allow to do airplay mirroring, but no one has published how to decrypt the fpaeskey."
I pointed him to this thread because he proposed to change the bonjour announcements until it falls back to non encrypted. (basically what we are trying here atm).
From that answer i read that it really might "only" be the issue to decode the aes key. While the key was encoded via rsa before its now encoded via apples proprietary fairplay. (just an assumption based on the answer though).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 5
Joined: Jan 2014
Reputation:
0
Would it be beneficial to reverse engineer AirServer to extract whatever keys it may be using? I can take a look at the Mac version of AirServer since I use OS X. I've also got some "friends" who do reverse engineering on OS X as well
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Well it would of course be benefitical - but i fear they use osx api to decode the key (which is not a platform independend solution...). Better would be to capture one of those airserver devs and then "ask" him ;o) *bruhhahahhaa*
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)