On Wed, 13 Sep 2006 16:32:57 -0700 Iain MacDonnell <[EMAIL PROTECTED]> wrote:
> Connecting to card in reader SCM SCR 3310 (21120519102745) 00 00... > Now I'm running into an issue when trying to do key-related stuff - > like generate a key-pair, or inject a PKCS#12 file: > > > In the output from pcscd, I see: > > commands.c:1039:() Command too long (260 bytes) for max: 253 bytes > ifdwrapper.c:735:() Card not transacted: 612 > winscard.c:1481:() Card not transacted: 0x80100016 Looks to me like the reader is one of those that doesn't support full 260-byte commands. I'm putting together a build that is less hard-coded as to what the maximum data length is (it's going to be in a 'define'). I don't know how I would access the actual maximum APDU length allowed... I also found some other typos and bugs (such as one that prevented changing PINS.. because I allocated buffer on the stack inside a formatting function...). A patch should be ready soon. -- Thomas Harning @ Identity Alliance _______________________________________________ Muscle mailing list Muscle@lists.musclecard.com http://lists.drizzle.com/mailman/listinfo/muscle