Opened 12 years ago

Closed 12 years ago

#327 closed enhancement (fixed)

Enable Nagra TIGER/NCMED cards using PCSC reader

Reported by: neoen Owned by:
Priority: major Component:
Severity: medium Keywords: PCSC
Cc: Sensitive: no

Description

To enable tiger cards with pcsc, a little code modification is needed.

pcsc_reader_do_api should be called only if the command is not for the reader (dad=0), otherwise reader_doapi should return 0.

In NegotiateSessionKey_Tiger, signature check is not necessary, it works even if it is NOK, tiger_rsa must be correct but tiger_ideakey has no impact.

Attachments (1)

pcsc.diff (1.2 KB ) - added by neoen 12 years ago.

Download all attachments as: .zip

Change History (3)

by neoen, 12 years ago

Attachment: pcsc.diff added

comment:1 by rorothetroll, 12 years ago

I added the test in reader-common.c
I won't do the nagra changes as I don't want to break stuff (I don't know enough about nagra).

comment:2 by nightmann, 12 years ago

Resolution: fixed
Status: newclosed

signature check is necessary to determine if RSA is correct.
So this should be there as it is.
Otherwise we detect that RSA is not correct even if first ecm arrived, this is not good in my opinion.
If we say card init is okay, and card is ready for request then this should be a valid state!

rorothetroll has added the pcsc part so for me this ticket is fixed.

Note: See TracTickets for help on using tickets.