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

2009-01-23 Thread Jeffrey Hutzelman
--On Friday, January 23, 2009 12:38:54 PM +0100 Andreas Jellinghaus wrote: > hmm. I always wondered if loading binary only pkcs#11 libraries > via pam_p11/pkcs11 into login and gdm/kdm would be ok. Loading? Yes, always -- despite the FSF's best efforts to force people to use only open-source

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

2009-01-23 Thread Andreas Jellinghaus
Am Freitag 23 Januar 2009 14:56:54 schrieb Alon Bar-Lev: > On 1/23/09, Andreas Jellinghaus wrote: > > Am Freitag 23 Januar 2009 08:48:53 schrieb Alon Bar-Lev: > > > So the rules of having a plugin to GPL or LGPL should be the same. > > > > absolutely not. > > > > LGPL is "make changes to my code

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

2009-01-23 Thread Alon Bar-Lev
On 1/23/09, Andreas Jellinghaus wrote: > Am Freitag 23 Januar 2009 08:48:53 schrieb Alon Bar-Lev: > > > So the rules of having a plugin to GPL or LGPL should be the same. > > > absolutely not. > > LGPL is "make changes to my code open source under LGPL, but > any code you write on your own is yo

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

2009-01-23 Thread Andreas Jellinghaus
Am Freitag 23 Januar 2009 08:48:53 schrieb Alon Bar-Lev: > So the rules of having a plugin to GPL or LGPL should be the same. absolutely not. LGPL is "make changes to my code open source under LGPL, but any code you write on your own is yours to keep" from my point of view. Thus keeping totaly ne

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

2009-01-23 Thread Alon Bar-Lev
On 1/23/09, Ludovic Rousseau wrote: > 2009/1/23 Alon Bar-Lev : > > > On 1/23/09, Andreas Jellinghaus wrote: > >> > It cannot be unless we explicitly specify some exceptions in OpenSC > >> > license. A plugin for LGPL should be also GPLed. > >> > Read [1] and on. > >> > >> > >> opensc is

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

2009-01-23 Thread Ludovic Rousseau
2009/1/23 Alon Bar-Lev : > On 1/23/09, Andreas Jellinghaus wrote: >> > It cannot be unless we explicitly specify some exceptions in OpenSC >> > license. A plugin for LGPL should be also GPLed. >> > Read [1] and on. >> >> >> opensc is not under GPL. > > GPL and LGPL are the same, except of that

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

2009-01-22 Thread Alon Bar-Lev
On 1/23/09, Andreas Jellinghaus wrote: > > It cannot be unless we explicitly specify some exceptions in OpenSC > > license. A plugin for LGPL should be also GPLed. > > Read [1] and on. > > > opensc is not under GPL. GPL and LGPL are the same, except of that none GPLed application can be linked

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

2009-01-22 Thread Andreas Jellinghaus
Am Donnerstag 22 Januar 2009 19:34:10 schrieb Alon Bar-Lev: > On 1/22/09, Jeffrey Hutzelman wrote: > > provide source. I think it's also important to consider cases where > > there _is_ an open-source driver, but with a GPL-incompatible license. I'm not aware of any open-source driver for opensc

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

2009-01-22 Thread Andreas Jellinghaus
Am Donnerstag 22 Januar 2009 18:49:07 schrieb Alon Bar-Lev: > > I think we should discuss this scenario: > > is it ok if someone uses opensc, changes it as he likes, and published > > the resulting code and binaries - with one file only published as *.o > > (his new card driver)? I guess that cap

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

2009-01-22 Thread Alon Bar-Lev
On 1/22/09, Jeffrey Hutzelman wrote: > provide source. I think it's also important to consider cases where there > _is_ an open-source driver, but with a GPL-incompatible license. It cannot be unless we explicitly specify some exceptions in OpenSC license. A plugin for LGPL should be also GPLed.

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

2009-01-22 Thread Jeffrey Hutzelman
--On Thursday, January 22, 2009 06:24:58 PM +0100 Andreas Jellinghaus wrote: > my point of view is: > there is not a single external driver that I'm aware off. > thus we could remove the whole code for allowing external > loadable drivers, as there are none, and that would simplify > the code.

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

2009-01-22 Thread Alon Bar-Lev
On 1/22/09, Andreas Jellinghaus wrote: > the only one using the internal api is openssh, and it can be ported > to pkcs#11 - alon has done that, but it is a part of a huge change that > is unlikely to find many adopters (my personal guess - I think people > like that ssh is very easy and simpl

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

2009-01-22 Thread Andreas Jellinghaus
Am Donnerstag 22 Januar 2009 08:08:43 schrieb 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 inter

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] 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

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

2009-01-20 Thread Marc Rios Valles
Hello to everybody, 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_driver(); When the execution arribes to this line