[mythtv-commits] Ticket #7923: CA key updates broken - Smartcard does not get key updates on some providers

MythTV mythtv at cvs.mythtv.org
Sun Jan 17 12:58:15 UTC 2010


#7923: CA key updates broken - Smartcard does not get key updates on some
providers
-----------------------------------------+----------------------------------
 Reporter:  Mike Nix <mnix@…>            |       Owner:  janne  
     Type:  defect                       |      Status:  new    
 Priority:  major                        |   Milestone:  unknown
Component:  MythTV - DVB                 |     Version:  head   
 Severity:  medium                       |     Mlocked:  0      
-----------------------------------------+----------------------------------
 While watching an encrypted channel, decryption stops working. Verbose
 logging shows the conditional access module reporting the channel is
 encrypted at the time of failure.

 Encryption will not start working until the smartcard is inserted into
 another decoder, or the channel is viewed with other software.

 Reason: MPEGStreamData::CreatePMTSingleProgram strips out all conditional
 access mpeg descriptors. None of these are put back into the PMT.

 This will only be a problem where CA descriptors are used to send key
 updates on PIDs that are not part of the data stream for the channel being
 watched. As the PIDs are not enabled, they are never sent to the
 CAM/smartcard and the card is never updated. The Optus Aurora service on
 Optus C1 is one such service.

 Changing the call to MPEGDescriptor::ParseAndExclude to a call to
 MPEGDescriptor::Parse at libs/libmythtv/mpeg/mpegstreamdata.cpp:520 seems
 to have fixed this for me.

 It may be desirable to remove all the CA descriptors and place only one
 back in, but I think leaving them all in is better as the Aurora service
 has two entries, and I know that at least for now, BOTH are used (they are
 transmitting both Irdeto1 and Irdeto2 encryption and the two CA PIDs are
 used one for each set of keys).

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7923>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list