stephen / airsonos

:musical_note: AirPlay to Sonos
MIT License
2.1k stars 255 forks source link

Error: Invalid key length #375

Closed 2ge closed 7 years ago

2ge commented 7 years ago
Searching for Sonos devices on network...

Dining Room (@ 192.168.1.3:1400, RINCON_5CAAFDF48CCC01400:720103872)

Search complete. Set up 1 device tunnel.
crypto.js:265
  this._handle.initiv(cipher, toBuf(key), toBuf(iv));
               ^

Error: Invalid key length
    at new Decipheriv (crypto.js:265:16)
    at Object.Decipheriv (crypto.js:262:12)
    at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25)
    at RtpServer.<anonymous> (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtp.js:32:23)
    at emitTwo (events.js:125:13)
    at Socket.emit (events.js:213:7)
    at UDP.onMessage [as onmessage] (dgram.js:623:8)
2ge commented 7 years ago

https://github.com/stephen/airsonos/issues/316#issuecomment-255663049