<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Exactly,</div><div><br data-mce-bogus="1"></div><div>however, I seem to have no control which reader with which card goes to each container.<br>As I mentioned before I am worried that this will kill a few of our test cases...<br data-mce-bogus="1"></div><div>I will come back when I need and/or found a better solution.<br></div><div><br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Ludovic Rousseau" <ludovic.rousseau@gmail.com><br><b>To: </b>"pcsclite-muscle" <pcsclite-muscle@lists.alioth.debian.org><br><b>Sent: </b>Monday, January 30, 2017 4:59:23 PM<br><b>Subject: </b>Re: [Pcsclite-muscle] How to Identify USB devices on        linux/ubuntu/debian<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-01-30 14:41 GMT+01:00 Uv Wildner <span dir="ltr"><<a href="mailto:uv.wildner.ext@openlimit.com" target="_blank">uv.wildner.ext@openlimit.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div>I see, the stack introduces a level of abstraction which discards this information. <br></div><br><div><div>I will  try to workaround this by reinitializing the crypto parts each time. <br>I hope I can cover all my test cases like this. <br></div><br></div><div>So for the use case:<br><br>In an automated test setup I will be running a number  of containerized systems needing exactly one card reader containing the right card. <br></div><br><div>On the host level I am assigning a USB device to the container , inside the container I am just using the first card available. <br></div></div></div></blockquote><br><div>So each container will see exactly 1 smart card reader at the USB level.<br></div><div><div>Each container will have its own pcscd.<br></div>pcscd executed inside the container will list exactly 1 smart card reader at the PC/SC level.<br><br></div><div>Am I right?<br></div> <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div>When the (usb) device - card mapping is going wrong I will end up in encryption problems when the wrong card with the wrong key is connected to my current container. </div><br><div>Thanks a lot for the quick & efficient support!!!</div></div></div></blockquote><br><div>You are welcome.<br><br></div><div>Bye <br></div><div> </div></div>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>
<br>_______________________________________________<br>Pcsclite-muscle mailing list<br>Pcsclite-muscle@lists.alioth.debian.org<br>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle<br></div></div></body></html>