airsonos icon indicating copy to clipboard operation
airsonos copied to clipboard

Crypto Error

Open rickeames opened this issue 7 years ago • 5 comments

Running airsonos against 7.7.4, played from iOS 10.3, get:

crypto.js:241 this._handle.initiv(cipher, toBuf(key), toBuf(iv)); ^

Error: Invalid key length at new Decipheriv (crypto.js:241:16) at Object.Decipheriv (crypto.js:238:12) at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25) at RtpServer. (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtp.js:32:23) at emitTwo (events.js:106:13) at Socket.emit (events.js:194:7) at UDP.onMessage [as onmessage] (dgram.js:545:8)

rickeames avatar Mar 28 '17 18:03 rickeames

same here :(

tommy60703 avatar Mar 29 '17 08:03 tommy60703

yep same :(

danno-ax avatar Mar 31 '17 02:03 danno-ax

I had this issue (MacOS 10.12.4). This solution fixed it for me: https://github.com/stephen/airsonos/issues/316

nedjam avatar Apr 04 '17 09:04 nedjam

Also try my comment here: https://github.com/stephen/airsonos/issues/342#issuecomment-295770479 This is what worked for me

lfilho avatar Apr 20 '17 21:04 lfilho

I just installed, had the exact same issue and #316 corrected the crypto issue. Works great now!

net4unner avatar Apr 29 '17 12:04 net4unner