From: Nikos M. <n.m...@gm...> - 2016-05-17 06:10:52
|
On Mon, May 16, 2016 at 7:20 PM, Douglas E Engert <dee...@gm...> wrote: >> I didn't find any test suite or unit tests for OpenSC project. As I >> noticed, there is a lot of hand-testing work on pull requests for >> various cards and users. I believe everyone has some use cases to verify >> basic functionality of their cards. >> I understand that this fields is very divergent, there is a lot of card >> variants and it is almost impossible to build automatic test suite that >> would run in cloud with every build. But would it make sense to have >> something that devels (or users) can simply run and what would verify >> basic functionality and possible regressions? > In-cloud testing would require the cloud test machine to have physical cards. > (Unless you are suggesting some RDC access to cards.) Such a test suite has two goals. (1) for the card makers to verify that their cards run with opensc, and (2) for the opensc developers to verify that their new code does not regress. The cloud testing is mainly applicable for (2), and that may be addressed with a card simulator. >> And there is the twist. What would you expect from PKCS#11/Smartcard >> testsuite? Would it make sense to have something like this upstream? >> What use cases would you expect from that to check? > Enhancing the functionality of the pkcs11-tool -t would be a good start. What would be the advantage of having as part of that tool? regards, Nikos |