Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Alon Bar-Lev
On 1/22/09, Marc Rios Valles wrote: > Hi, > > I have been making some test and if I don't put the two functions in > libopensc.exports I get a segfault accessing to them... But these were prototyped at internal.h and internal.h was never made public. So whoever wrote this driver used internal f

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Marc Rios Valles
Hi, I have been making some test and if I don't put the two functions in libopensc.exports I get a segfault accessing to them... I cannot submit the driver because I'm not the owner of the code. I'm sorry. -- Marc Rios Vallès m...@c3po.es C3PO, S.L. http://www.c3po.es C/ Bertran, 113 - 080

Re: [opensc-devel] Multislot readers?

2009-01-21 Thread Martin Paljak
On 21.01.2009, at 8:56, Andreas Jellinghaus wrote: > there is an omnikey reader which has two "slots" - > one wired interface and one wireless interface. Are you sure it does not look like two different USB devices to the host (like eutron sim pocket combo for example)? > also wireless readers

Re: [opensc-devel] Multislot readers?

2009-01-21 Thread Andreas Jellinghaus
there is an omnikey reader which has two "slots" - one wired interface and one wireless interface. also wireless readers in general can communicate with several cards I think (in theory at least). but no idea how that is mapped to opensc. Regards, Andreas

Re: [opensc-devel] HAL proposal for smart cards

2009-01-21 Thread Jeffrey Hutzelman
--On Wednesday, January 21, 2009 07:27:03 PM +0100 Stanislav Brabec wrote: > Alon Bar-Lev wrote: >> I don't understand the motivation. >> Why do you care if readers are accessible by all users? > > 1) There are applications, that need direct access to the reader, not > using pcsc-lite (example:

Re: [opensc-devel] HAL proposal for smart cards

2009-01-21 Thread Alon Bar-Lev
On 1/21/09, Stanislav Brabec wrote: > Alon Bar-Lev wrote: > > I don't understand the motivation. > > Why do you care if readers are accessible by all users? > > > 1) There are applications, that need direct access to the reader, not > using pcsc-lite (example: cyberjack utilities). That is why

Re: [opensc-devel] HAL proposal for smart cards

2009-01-21 Thread Stanislav Brabec
Alon Bar-Lev wrote: > I don't understand the motivation. > Why do you care if readers are accessible by all users? 1) There are applications, that need direct access to the reader, not using pcsc-lite (example: cyberjack utilities). That is why it should allow to access not only to pcsc daemon, bu

Re: [opensc-devel] HAL proposal for smart cards

2009-01-21 Thread Alon Bar-Lev
I don't understand the motivation. Why do you care if readers are accessible by all users? On 1/21/09, Stanislav Brabec wrote: > Hallo. > > I just filled a proposal for a new HAL (Hardware Abstraction Layer, > http://hal.freedesktop.org/ ) category recognized by PolicyKit. > > Here is a propos

[opensc-devel] HAL proposal for smart cards

2009-01-21 Thread Stanislav Brabec
Hallo. I just filled a proposal for a new HAL (Hardware Abstraction Layer, http://hal.freedesktop.org/ ) category recognized by PolicyKit. Here is a proposed solution: http://bugs.freedesktop.org/show_bug.cgi?id=19663 Feel free to comment it there. I am unsure, whether it makes sense to populat

Re: [opensc-devel] current status?

2009-01-21 Thread Jeffrey Hutzelman
--On Thursday, January 08, 2009 11:40:54 AM +0100 Andreas Jellinghaus wrote: > Happy new year everyone! > > I was offline for a week or so, and due to a mail problem > all my email was lost. So what is our current status? > > Did anyone have time to test the opensc pre-release, > does it work fo

Re: [opensc-devel] Marx CrypToken MX2048-JCOP

2009-01-21 Thread Jeffrey Hutzelman
--On Monday, January 19, 2009 06:40:39 AM +0100 Peter Stuge wrote: > http://www.cryptoken.com/en/products/hardware/ct2000.php > > Anyone know about this product? Claims Linux support. I can't say for certain, but it claims to be a JavaCard, which suggests one could load the muscle applet and g

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Alon Bar-Lev
These are internal.h and never have been formally exported. Anyway... Why don't you submit your driver for merge? On 1/21/09, Marc Rios Valles wrote: > Thanks for adding, > > Can you add this functions too? > 1. _sc_match_atr > 2. _card_add_rsa_alg > > Thanks a lot. > > > On Wed, 2009-01-21

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Marc Rios Valles
Thanks for adding, Can you add this functions too? 1. _sc_match_atr 2. _card_add_rsa_alg Thanks a lot. On Wed, 2009-01-21 at 15:01 +0200, Alon Bar-Lev wrote: > Added to export. > Thanks. > > On 1/21/09, Marc Rios Valles wrote: > > Hi, > > > > I have found the problem. You are not exporting th

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Alon Bar-Lev
Added to export. Thanks. On 1/21/09, Marc Rios Valles wrote: > Hi, > > I have found the problem. You are not exporting the function > sc_get_iso7816_driver any more... I can understand why but in the file > libopensc.exports isn't this function. Why is that? > > Thanks for all, > -- > Marc

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Marc Rios Valles
A correction... Hi, I have found the problem. You are not exporting the function sc_get_iso7816_driver any more... I can't understand why but in the file libopensc.exports isn't this function. Why is that? Thanks for all, On Wed, 2009-01-21 at 13:41 +0100, Marc Rios Valles wrote: > Hi, > > I

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Marc Rios Valles
Hi, I have found the problem. You are not exporting the function sc_get_iso7816_driver any more... I can understand why but in the file libopensc.exports isn't this function. Why is that? Thanks for all, -- Marc Rios Vallès m...@c3po.es C3PO, S.L. http://www.c3po.es C/ Bertran, 113 - 08023 Ba

Re: [opensc-devel] Making a module driver on opensc-0.11.6

2009-01-21 Thread Ludovic Rousseau
2009/1/14 Marc Rios Valles : > Hello to everybody, Hello, > I send this message because I'm having problems linking with > libopensc.so in versions 0.11.5 and 0.11.6. The error is located when I > try to get the iso7816 driver. At this line: > > struct sc_card_driver *iso_drv = sc_get_iso7816_dri