Irdeto ECM's not correctly handled
When trying to request keys from the CWC server I found that an incorrect CAID was send to the CWC server.
This is a combination of a Ziggo irdeto smartcard attached to a SMARGO reader using newCS as the server running on a NSLU2 with openWRT.
The exact same server is also serving keys to a local dreambox that has no issue's decrypting the exact same channels.
Updated by Hein Rigolo over 9 years ago
The CAID does not matter when you talk to a irdeto card. TVHeadend does not take into account that Irdeto is makeing use of the concept of "channel ID's" in their ECM. So in a ECM data stream there can be multiple ECM's for the various channel ID's that this service belongs to. TV Headend is only sending the first ECM it encounters and therefore might send a ECM to the CW Server for a Channel ID that you can not decode.
What should happen is that TV Headend should understand that there are multiple ECM's and it should try to send the next one when there is a NOK. It could keep the service id/channel id combinations that worked in a local cache to speedup the decoding the next time the same channel is requested. It can then only send the ECM for the known working channel id.