Re: [opensc-devel] [opensc-commits] [OpenSC] #155: engine_pkcs11: Return value mismatch

2007-07-31 Thread Andreas Jellinghaus
Hi Stanislav, thanks for reporting the problem. I had another look at the code and it seems, both set_pin and get_pin are only used internally. So I can get rid of set_pin and replace it with a one liner, and I can change the get_pin function to return 0 or 1. this should solve the problems, I

Re: [opensc-devel] [opensc-user] pkcs15 application DF different from 5015

2007-07-31 Thread Andreas Jellinghaus
On Tuesday 31 July 2007 10:34:16 Gürer Özen wrote: > 2F00 is EF(DIR) file (in the PKCS-15 standard) where you can put a list of > application IDs and their paths. ... > In the AKIS, we put PKCS-15 stuff under 3D00 directory, and object parsing > and signing/crypting work well with opensc (given th

Re: [opensc-devel] CardOs 4.3b what I wrong?

2007-07-31 Thread Nils Larsch
Eddy Nigg (StartCom Ltd.) wrote: > mkarmowski wrote: >> >> Eddy Nigg (StartCom Ltd.) wrote: >> >>> Perhaps try the latest OpenSC version (0.11.3) >>> >> >> I using currently revision from trunk. >> > Thanks! Guess that's another call for Nils ;-) the CREATE FILE apdu isn't available in

Re: [opensc-devel] reading data objects using opensc-pkcs11 module

2007-07-31 Thread kamal kumar
I am currently using opensc version 0.11.2 . I will check with 0.11.3. Regards, Kamal. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Yes, "pkcs15-tool -C" enumerates the data objects. > > But I want to make sure that opensc-pkcs11 module > > support reading dat

Re: [opensc-devel] reading data objects using opensc-pkcs11 module

2007-07-31 Thread Douglas E. Engert
kamal kumar wrote: > Yes, "pkcs15-tool -C" enumerates the data objects. > But I want to make sure that opensc-pkcs11 module > support reading data objects. I can read the CCC on the PIV card eith either of these: pkcs11-tool -r -y data -a "Card Capability Container" pkcs11-tool -r -y data --ap

Re: [opensc-devel] reading data objects using opensc-pkcs11 module

2007-07-31 Thread kamal kumar
Yes, "pkcs15-tool -C" enumerates the data objects. But I want to make sure that opensc-pkcs11 module support reading data objects. Regards, Kamal. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi all, > > Can we read data object from the smartcard using > > o

Re: [opensc-devel] reading data objects using opensc-pkcs11 module

2007-07-31 Thread Douglas E. Engert
kamal kumar wrote: > Hi all, > Can we read data object from the smartcard using > opensc-pkcs11 module. I could not find the data > objects present in the card using "pkcs11-tool -O" > command. You can on the PIV with 0.11.3. So it might depend on the card and if it uses emulation, and the emul

[opensc-devel] reading data objects using opensc-pkcs11 module

2007-07-31 Thread kamal kumar
Hi all, Can we read data object from the smartcard using opensc-pkcs11 module. I could not find the data objects present in the card using "pkcs11-tool -O" command. Please give your opinion. Regards, Kamal.

Re: [opensc-devel] CardOs 4.3b what I wrong?

2007-07-31 Thread Eddy Nigg (StartCom Ltd.)
mkarmowski wrote: Eddy Nigg (StartCom Ltd.) wrote: Perhaps try the latest OpenSC version (0.11.3) I using currently revision from trunk. Thanks! Guess that's another call for Nils ;-) -- Regards Signer: Eddy Nigg, StartCom Ltd. Jabber: [EMAIL PROTECTED] Phone: +1

Re: [opensc-devel] CardOs 4.3b what I wrong?

2007-07-31 Thread mkarmowski
Eddy Nigg (StartCom Ltd.) wrote: > > Perhaps try the latest OpenSC version (0.11.3) > I using currently revision from trunk. -- View this message in context: http://www.nabble.com/CardOs-4.3b-problem-tf4169699.html#a11921433 Sent from the OpenSC - Dev mailing list archive at Nabble.com. __

Re: [opensc-devel] [opensc-user] pkcs15 application DF different from 5015

2007-07-31 Thread Gürer Özen
On Tuesday 31 July 2007 10:17:23 Andreas Jellinghaus wrote: > > What do you mean by ddo file? > this is a special file, I think the fid is "2f00" where you can set the > application directory. our code in dir.c and pkcs15.c seems to handle it. 2F00 is EF(DIR) file (in the PKCS-15 standard) where

Re: [opensc-devel] CardOs 4.3b what I wrong?

2007-07-31 Thread Eddy Nigg (StartCom Ltd.)
Perhaps try the latest OpenSC version (0.11.3) mkarmowski wrote: I try to using opensc with CardOs 4.3b, ATR: 3b:f2:18:00:02:c1:0a:31:fe:58:c8:08:74 I can't create any file using opensc-explorer: C:\opensc\trunk\src\tools>opensc-explorer OpenSC Explorer version 0.11.2 OpenSC [3F00]> ls FileID

Re: [opensc-devel] [opensc-user] pkcs15 application DF different from 5015

2007-07-31 Thread Andreas Jellinghaus
On Tuesday 31 July 2007 00:03:01 Mister T wrote: > Dear Andreas, > > What do you mean by ddo file? this is a special file, I think the fid is "2f00" where you can set the application directory. our code in dir.c and pkcs15.c seems to handle it. > The idea to make opensc generic, sound like music

Re: [opensc-devel] CardOs 4.3b what I wrong?

2007-07-31 Thread Andreas Jellinghaus
On Monday 30 July 2007 14:10:01 mkarmowski wrote: > I try to using opensc with CardOs 4.3b, ATR: > 3b:f2:18:00:02:c1:0a:31:fe:58:c8:08:74 > I can't create any file using opensc-explorer: ... > card.c:367:sc_create_file: returning with: Unsupported INS byte in APDU > CREATE FILE failed: Unsupporte

Re: [opensc-devel] NEW: infinity usb unlimited phoenix driver v0.3

2007-07-31 Thread Andreas Jellinghaus
On Tuesday 31 July 2007 00:27:51 Alain Degreffe wrote: > I wrote a new driver for this device to have a virtual serial port > /dev/ttyUSBx en phoenix mode > Details can be found next week on the manufacturer site and in the meantime > here: > > http://eczema.ecze.com/iuu_phoenix.html > > This new d