[opensc-devel] Is any ISO 7816 smart card simulator available

2009-03-11 Thread kamal kumar
Hi all, I am currently learning the ISO 7816 APDU'S. Is there any smart card simulators available so that I can try these APDU'S like Create File, Read record, write record, read binary and update binary. I am currently working in XP os. Regards, Kamal. __

Re: [opensc-devel] few basic clarification in file based smart card

2009-03-04 Thread kamal kumar
devel-boun...@lists.opensc-project.org > [mailto:opensc-devel-boun...@lists.opensc-project.org] On > Behalf Of kamal > kumar > Sent: Tuesday, March 03, 2009 10:56 PM > To: opensc-devel@lists.opensc-project.org; Peter Stuge > Subject: Re: [opensc-devel] few basic clarification in

Re: [opensc-devel] few basic clarification in file based smart card

2009-03-03 Thread kamal kumar
ource file name. Regards, Kamal. --- On Sun, 2/22/09, Peter Stuge wrote: > From: Peter Stuge > Subject: Re: [opensc-devel] few basic clarification in file based smart card > To: opensc-devel@lists.opensc-project.org > Date: Sunday, February 22, 2009, 9:03 PM > kamal kumar wrote:

[opensc-devel] few basic clarification in file based smart card

2009-02-22 Thread kamal kumar
I have some basic questions in file based smart card(not java card). Please clarify. When we buy new smart card, Will it be already initialized with directory and file structure. Will it have any PIN object and other files in it. Can we create our own new directory ,files and PIN object(for each

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 sur

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, > > C

[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] Issue in Certificate logon in XP

2007-07-18 Thread kamal kumar
Yes, Winlogon process calls IDAlly CSP which calls opensc-pkcs11 module. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi, > > Yes, Two processes are calling opensc-pkcs11 > module. > > And C_Finalize is called b

Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-18 Thread kamal kumar
function. I think we need to investigate more throughly on this issue. Regards, Kamal. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi, > > I slightly differ from Douglas assesments. > C_Finalize > > is n

Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-17 Thread kamal kumar
that an > application is finished > >> with the Cryptoki library." > >> If IdAlly wants to use the library again, it > should call C_Initialize. > >> > >> > >> IdAlly tries some other thinks, and gets back in > sync so the next > >>

[opensc-devel] SC_AC_OP_REHABILITATE,SC_AC_OP_INVALIDATE meaning

2007-07-16 Thread kamal kumar
Hi, I like to know meaning of following operation flag SC_AC_OP_REHABILITATE,SC_AC_OP_INVALIDATE. Can any one please explain me what these flags mean. Regards, Kamal. Got a little couch potato? Check ou

Re: [opensc-devel] Issue in Certificate logon in XP

2007-07-12 Thread kamal kumar
wrote: > I see you have two theards active on the mailing > list. > You have a PIV card, and some other card you are > trying to > initialize. What is the other card? > > kamal kumar wrote: > > Hi, > > Today i tried certificate logon in XP with PIV > card. >

Re: [opensc-devel] command to erase card using pin

2007-07-12 Thread kamal kumar
My card need authentication with PIN before tryin these operations. Please give your opinion. Regards, Kamal. --- Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: > On Wednesday 11 July 2007 13:11:30 kamal kumar > wrote: > > Hi all, > > I am trying to implement >

[opensc-devel] command to erase card using pin

2007-07-11 Thread kamal kumar
Hi all, I am trying to implement sc_pkcs15init_operations::erase_card function for my card. My card need PIN value to clean the card. i tried "pkcs11-init -E --pin 1234" command. But opensc module is trying to clean the card without authenticating with the pin. Am i missing anything. Regards, K

Re: [opensc-devel] regarding p15 emulation support

2007-07-09 Thread kamal kumar
rovide any standard way to solve these issues? Regards, Kamal. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > Andreas Jellinghaus wrote: > > On Monday 09 July 2007 12:15:41 kamal kumar wrote: > >> Hi all, > >> I need clarification. I

[opensc-devel] regarding p15 emulation support

2007-07-09 Thread kamal kumar
emulates P15 structures and also support these operations. Does OpenSC restrain p15 emulation for only reading data. Please give your opinion. Regards, Kamal. --- "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi, > > > &

[opensc-devel] generation of keypair is failing

2007-07-03 Thread kamal kumar
Hi, I tried keypair generation using pkcs11-tool in our card. The operation was failing. I debugged the code and found that below code in the function sc_pkcs15init_generate_key of opensc-pkcs11 module is failing. = if (!check_key_compatibility(p15car

Re: [opensc-devel] reg sc_card_operations::update_binary function

2007-06-29 Thread kamal kumar
Thanks Andreas. Then I will implement in such a way that it will not erase the data after idx+count offset. I just wanted it to make it satisfy opensc. --- Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: > On Thursday 28 June 2007 15:56:13 kamal kumar wrote: > > Hi, > >

[opensc-devel] reg sc_card_operations::update_binary function

2007-06-28 Thread kamal kumar
Hi, I have one doubt regarding implementing sc_card_operations::update_binary(card,idx,buf,count,flag) function in the card driver. Will this function delete all the file data after idx+count offset. Regards, Kamal. __

Re: [opensc-devel] find key information when creating the certificate in card driver

2007-06-28 Thread kamal kumar
t; <[EMAIL PROTECTED]> wrote: > > > kamal kumar wrote: > > Hi all, > > I am trying to develop a external OpenSC card > driver > > and PKCS#15 initialization libary to make our card > to > > work with OpenSC pkcs#11 module. I am designing > the > >

[opensc-devel] setting the path of the newly created ceritificate from card driver

2007-06-27 Thread kamal kumar
Hi, While creating the private key "sc_pkcs15init_operations::select_key_reference" function can be used by the card specific module to select the key reference and path of the newly created key. Is there any function provided in the pkcs15init routines or card driver funtions, to control the path

[opensc-devel] find key information when creating the certificate in card driver

2007-06-26 Thread kamal kumar
Hi all, I am trying to develop a external OpenSC card driver and PKCS#15 initialization libary to make our card to work with OpenSC pkcs#11 module. I am designing the smart card such that each key is mapped to certificate in particular path. I am currently implementing the functions required for l

[opensc-devel] Issue in Certificate logon in XP

2007-06-15 Thread kamal kumar
Hi all, I tried certificate logon with "Identity Alliance CSP" and opensc-pkcs11 module in XP machine. The certificate logon works fine for the first time. But if we logoff and again tries to do certificate logon, the logon fails second time. I want to confirm whether it is a issue. I analysed t