-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
I am currently using L. Rousseau Secure PIN Management ideas [1] in a smartcard hardware token I am building an IFD driver for. Now I would like to be able to know, from the client's point of view (the one calling SCardControl, like in this [2] example), when the PIN entry has been cancelled on the token (i.e. smart card reader) part. Unfortunately, even after a quick reading of the USB CCID specs [3] (note: it inspired our VERIFY_PIN idea, but my smart card reader is not using USB nor the CCID methods, so I'm not familiar with it), I am not sure how to format my IFDHControl [4] RxBuffer answer to tell my client, in the most standard way we can, that the user refused to enter the PIN. In Appendix I of the CCID spec [3], I noticed a PIN_CANCELLED (0xEF) error code exists, but how are we supposed to translate CCID error codes into a IFD level RxBuffer? Many thanks in advance [1] http://lists.drizzle.com/pipermail/muscle/2004-April/001850.html [2] http://pcsclite.alioth.debian.org/pcsc-lite/node28.html [3] http://www.usb.org/developers/devclass_docs/ccid_classspec_1_00a.pdf [4] http://pcsclite.alioth.debian.org/ifdhandler-3/node18.html - -- clem / Cl�ment S�veillac Guest Researcher, Computer Security Division National Institute of Standards and Technology, MD, USA Tel: (301) 975 2593 - Web: http://csrc.nist.gov/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Secure Email! http://dudu.dyn.2-h.org/gpg-enigmail-howto iQEVAwUBQZ6WSsU+9tkmxwzxAQLzwgf8DnsH4rF0MkgAJBAyB9MxveJVBg+8zSs6 ZMMSTFiVodONj2tSNT1Qf4Q4V9aP+GLQFXXmQcX/HSkatPj1qghjIISExfCEe5jA olYFWgdPfoRk3YzFcaKhsUm1E3G7IrUh9gzGaYWjuSB8hxrKU6Tnuo8Df0Na1Onw o47HWCnousPKXheIR+bYfh5NT0flHHNmPdkBDkRIBY37zL4+JGILPCpatNha0A/k +FwQ8C6nMh1inXlB8V6pY0w5gFBqpANA5xnED+qSPZrpPuMaQbhk3tVyj3kUXesU JQVRWifJa0H2tZl6L1espKh+jhmuJfaIDssMkDVO+Kx54PsrrK9o9A== =80Xy -----END PGP SIGNATURE----- _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
