Hi again, I wrote:
> > Hi, > > I loaded the CardEdge.cap file included with the distribution of > mcardapplet 0.8.9 to a Cyberflex Access Developer 32K card, installed it > with 18K instance size and setup object size of 10K. Random number > generation, key generation, object storing works, but a crypt init APDU > like b0 36 00 01 05 00 03 01 00 00 0A always fails with an 'unspecified > error' (=0x6F00). The ATR is 3B 17 13 9C 12 02 01 01 07 40. I could not > find any crypto export restrictions concerning that card, that i.e. > prevented older 16K cards from encrypting, or generating cutted > signatures. > What could be the reason for 0x6F00? > I actually still do not know the reason for that failure, but to track down the problem, I rebuild CardEdge.cap with the converter from the JCDK 2.1.2. Since the CAP file produced by the converter actually is a JAR file containing the real JavaCard-2.1.2 binary CAP files, I unpacked it and concatenated the results (except Descriptor.cap) in reference order as described in the JCVM Spec. The result is a loadable file. And even more than that, _all_ functions work now! Pretty strange, isn't it? @David: Which tools did you use to build the CardEdge.cap included with the mcardapplet-0.8.9? Are the JCVMs slightly different in a GPK and Cyberflex card? -- Martin Buechler *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
