[opensc-devel] Segmentation fault when unloading external driver card

2006-02-23 Thread Albert Solana
Hello, I am working on an external driver using the last release version of opensc (0.10.1). I have been able to load it successfully, but I get a Segmentation Fault when opensc unloads the driver. It only happens on dynamic drivers. I attach a patch solving this error. Best Regards, -- Albert

[opensc-devel] Using graphical user interface

2006-03-23 Thread Albert Solana
t I am thinking of is trying to use the same interface that the user uses and if it fails (or has none), show the message to tty. D'you know how to show this message from my external driver? If it is not yet developed, I can manage to implement the remaining backends. Best Regards, -- Al

[opensc-devel] check private flag on public key object

2006-03-23 Thread Albert Solana
SC_PKCS15_CO_FLAG_PRIVATE is set on a public key (the same way as on certificate objects), reading only if this flag is not present and returning NULL otherwise. I attach a patch on a solution that works for me. I would be glad if you could aply this patch on OpenSC code. Thanks very much, -- Albert

Re: [opensc-devel] check private flag on public key object

2006-03-24 Thread Albert Solana
El dv 24 de 03 del 2006 a les 11:55 +0100, en/na Nils Larsch va escriure: > Albert Solana wrote: > > Hello, > > > > On a developing of an external smart card driver, there is the necessity > > of verifying the PIN before reading any public key. > > > >

[opensc-devel] OpenSC & OS/2

2006-03-24 Thread Albert Solana
Hi, Has anyone tried to compile or test OpenSC on OS/2 platform? Thanks, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 ___ opensc-devel mailing list

[opensc-devel] Compiling on MacOS X

2006-04-04 Thread Albert Solana
tting this error when compiling? TIA, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org

Re: [opensc-devel] Compiling on MacOS X

2006-04-04 Thread Albert Solana
quitecture. Thanks, [1] http://www.opensc-project.org/sca/ -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 ___ opensc-devel mailing list opensc-devel@lists

Re: [opensc-devel] Compiling on MacOS X

2006-04-04 Thread Albert Solana
your card reader driver... Our new C3PO LTC31 USB works with the generic USB CCID driver and we've tested it with both PowerPC and Intel version. Thanks, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113

[opensc-devel] Error retrieving info on pkcs11 public key objects

2006-04-07 Thread Albert Solana
cate one. If it exists, a function should fill the missing information from the certificate despite of creating a new object. Sorry for my heavy and long mail. Could you check my patch and apply it on OpenSC code? Thanks a lot, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3

[opensc-devel] returning the exact signature size length

2006-05-05 Thread Albert Solana
test my patch and, if it is correct, apply it to OpenSC code? Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 Inde

[opensc-devel] Searching certificates by its subject

2006-05-05 Thread Albert Solana
uld be. I attach a patch created against 2941 revision that works for me. Could anyone test it and, if it's correct, apply it to OpenSC code? Thanks a lot. Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 5

Re: [opensc-devel] Error retrieving info on pkcs11 public key objects

2006-05-05 Thread Albert Solana
www.opensc-project.org/pipermail/opensc-devel/2006-April/008369.html -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 El dv 07 de 04 del 2006 a les 14:56 +0200, en/na Albert Solana va escriure: > Hi all, &

Re: [opensc-devel] returning the exact signature size length

2006-05-08 Thread Albert Solana
gnature had to be returned by the functions parameter. I fixed that on the external smart card driver and now works. Thanks. > > Cheers, > Nils Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417

Re: [opensc-devel] Using graphical user interface

2006-05-08 Thread Albert Solana
Hi, El dj 23 de 03 del 2006 a les 20:39 +0100, en/na Andreas Jellinghaus va escriure: > Am Donnerstag, 23. März 2006 11:55 schrieb Albert Solana: > > I am developing an external smart card driver and I need to show a > > graphical message to the user requesting a "Yes

Re: [opensc-devel] Using graphical user interface

2006-05-09 Thread Albert Solana
El dl 08 de 05 del 2006 a les 22:41 +0200, en/na Andreas Jellinghaus va escriure: > Am Montag, 8. Mai 2006 17:46 schrieb Albert Solana: > > Does anyone knows anything about these files? Are these propietary? I've > > google'd some time but I haven't found anything

Re: [opensc-devel] Searching certificates by its subject

2006-05-09 Thread Albert Solana
Hi, El dt 09 de 05 del 2006 a les 14:10 +0200, en/na Nils Larsch va escriure: > Albert Solana wrote: > > Hi, > > > > I think i've found a bug on OpenSC. Whenever I look for any certificate > > on a smart card, searching by its subject, OpenSC returns no matches

Re: [opensc-devel] Error retrieving info on pkcs11 public key objects

2006-05-09 Thread Albert Solana
El dt 09 de 05 del 2006 a les 15:23 +0200, en/na Nils Larsch va escriure: > Albert Solana wrote: > > Hi all, > > > > Using the command "pkcs11-tool -O -l" to list all objects on a smart > > card, I have some errors on some public key objects: > > >

Re: [opensc-devel] Error retrieving info on pkcs11 public key objects

2006-05-22 Thread Albert Solana
Hi, El dl 15 de 05 del 2006 a les 20:50 +0200, en/na Nils Larsch va escriure: > please test a recent snapshot Tested and worked for me. Thanks, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12

Re: [opensc-devel] virtual test card utility?

2006-06-06 Thread Albert Solana
the Opensc-Ceres project[2]. However, we are not selling nor distributing in any way the Spanish National Digital Identification Card. Best regards, [1] http://www.c3po.es/criptonita.html?new_lang=en [2] http://opensc-ceres.software-libre.org/ -- Albert Solana Berengué [EMAIL PROTECTED] C3

Re: [opensc-devel] virtual test card utility?

2006-06-06 Thread Albert Solana
l and configure our smart card readers on any operating system. However, we also give assistence when the user uses a Ceres smart Card and gets some trouble on that. But, anyway, we does not give the official Ceres support. Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http:

Re: [opensc-devel] virtual test card utility?

2006-06-06 Thread Albert Solana
El dt 06 de 06 del 2006 a les 17:05 +0200, en/na Andreas Jellinghaus va escriure: > Am Dienstag, 6. Juni 2006 12:00 schrieb Albert Solana: > > But, anyway, we does not give the official Ceres support. > > are the apdu commands of the card and the structures of > the eid card d

[opensc-devel] Reading PKCS#15 files protected by CHV

2006-06-23 Thread Albert Solana
that the objects pointing to will not be visible on any further actions. Is there any procedure to re-read pkcs15 structure when the user has autenticated by CHV and get the remaining pkcs15 objects? Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran

Re: [opensc-devel] Reading PKCS#15 files protected by CHV

2006-06-23 Thread Albert Solana
RED is set, there must be an authentication methode called before accessing any data of the smart card including the other PKCS#15 files, such as CDF, PrKDF or PuKDF. IMHO, I think this is not supported on OpenSC code, is it? Best Regards, El dv 23 de 06 del 2006 a les 10:58 +0200, en/na Albert S

[Fwd: Re: [opensc-devel] Reading PKCS#15 files protected by CHV]

2006-06-27 Thread Albert Solana
-mails, in case they get lost. Regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 --- Begin Message --- Hi again, Looking at PKCS#15 spec v1.1, i've seen some useful information conc

Re: [Fwd: Re: [opensc-devel] Reading PKCS#15 files protected by CHV]

2006-06-28 Thread Albert Solana
Hi, El dt 27 de 06 del 2006 a les 23:51 +0200, en/na Andreas Jellinghaus va escriure: > Albert Solana wrote: > > Some days ago, I've sent two e-mails on this list, and i've got no > > answer. > > Hi Albert, sorry I got your mail, but all I can reply is "I don&

[opensc-devel] bug using opensc on solaris

2007-03-19 Thread Albert Solana
e if it can still enter on it, due to, I suppose you will want to have a look at my patch, discuss and test it. Any suggestions will be gratefully accepted. Best Regards, -- Albert Solana [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/ Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax 93

Re: [opensc-devel] bug using opensc on solaris

2007-03-20 Thread Albert Solana
nk. > I could open a bug detailing it. But I think that it's better to use getpass_r() function, isn't it? > Andreas > Best Regards, -- Albert Solana [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/ Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax 93 253 12