On 07/15/2013 12:23 PM, Peter Stuge wrote:
Harald Welte wrote:
In the ideal world, a MITM firmware would export two USB interfaces:

However, using the AT91SAM7S this is unfortunately not possible,
given the small number of USB endpoints :(

So my next-best idea was then:
* use the CCID reference example from atmel for the card-reader part,
   this way standard opensc/openct/pcsc-lite drivers can handle the card
   reader like any other card reader
* encapsulate the phone-facing part in the PC_to_RDR_Escape /
   RDR_to_PC_Escape messages of the CCID protocol
Another method would be type=vendor recipient=device control requests
over the default endpoint. This works well everywhere except on Windows.

Does this work if the device is already bound by another driver - in this case libccid?
If so it would probably the simplest of all approaches mentioned so far.


Reply via email to