Re: [opensc-devel] [opensc-commits] svn opensc changed[3929] Add simclist, also used by pcsc-lite, for list operations.

2010-01-25 Thread Alon Bar-Lev
On Mon, Jan 25, 2010 at 8:10 PM, Martin Paljak wrote: > On Jan 25, 2010, at 18:06 , Alon Bar-Lev wrote: >> On Mon, Jan 25, 2010 at 9:07 AM, Andreas Jellinghaus >> wrote: >>> Am Sonntag 24 Januar 2010 21:45:07 schrieb Alon Bar-Lev: If it is imported from other place, why not just link agains

Re: [opensc-devel] [opensc-commits] svn opensc changed[3929] Add simclist, also used by pcsc-lite, for list operations.

2010-01-25 Thread Martin Paljak
On Jan 25, 2010, at 18:06 , Alon Bar-Lev wrote: > On Mon, Jan 25, 2010 at 9:07 AM, Andreas Jellinghaus > wrote: >> Am Sonntag 24 Januar 2010 21:45:07 schrieb Alon Bar-Lev: >>> If it is imported from other place, why not just link against it? >> >> what do you exactly propose? >> create a second

Re: [opensc-devel] [opensc-commits] svn opensc changed[3929] Add simclist, also used by pcsc-lite, for list operations.

2010-01-25 Thread Alon Bar-Lev
On Mon, Jan 25, 2010 at 9:07 AM, Andreas Jellinghaus wrote: > Am Sonntag 24 Januar 2010 21:45:07 schrieb Alon Bar-Lev: >> If it is imported from other place, why not just link against it? > > what do you exactly propose? > create a second noinst_ lib in common/ and link it in opensc/ the same > w

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Alon Bar-Lev
On Mon, Jan 25, 2010 at 11:55 AM, Peter Stuge wrote: > > Certainly! This example is meant for Windows MinGW, but just add the > cross prefix for gcc and windres in Makefile and you're done. > > With my i686-mingw32 it builds to dlg.exe size 5632. libtool does it [almost] automatically. opensc use

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Peter Stuge
Andreas Jellinghaus wrote: > > Andreas Jellinghaus wrote: > > > > - Improve register key management and .inf file to manage all > > > > cards (with options to not manage some cards) - Documentation > > > > > > hmm. a simple gui app could help users to manage that. but no idea > > > what an easy w

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
Am Montag 25 Januar 2010 10:20:55 schrieb Peter Stuge: > Andreas Jellinghaus wrote: > > > - Improve register key management and .inf file to manage all > > > cards (with options to not manage some cards) - Documentation > > > > hmm. a simple gui app could help users to manage that. but no idea >

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
On Jan 25, 2010, at 11:21 , Andreas Jellinghaus wrote: > Am Montag 25 Januar 2010 09:21:01 schrieb Martin Paljak: >> Hello, >> >> Some thoughts on the minidriver topic. >> >> In theory, it should look like this: >> >> minidriver -> libopensc -> pcsc > > hu? I thought the smart card base driver

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
Am Montag 25 Januar 2010 09:21:01 schrieb Martin Paljak: > Hello, > > Some thoughts on the minidriver topic. > > In theory, it should look like this: > > minidriver -> libopensc -> pcsc hu? I thought the smart card base driver opens the reader and looks at the ATR, and then loads the correspo

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Peter Stuge
Andreas Jellinghaus wrote: > > - Improve register key management and .inf file to manage all > > cards (with options to not manage some cards) - Documentation > > hmm. a simple gui app could help users to manage that. but no idea > what an easy way to write a simple gui is on windows these days.

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
Hello, On Jan 25, 2010, at 10:10 , Andreas Jellinghaus wrote: > A few things I noticed: > * latest changes martin made to slot/reader logic etc. will break > your code. martin, can you help to port it to latest trunk? 1. sc_disconnect_card() does not have the unused action parameter. 2. there are

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Martin Paljak
Hello, Some thoughts on the minidriver topic. In theory, it should look like this: minidriver -> libopensc -> pcsc like there is on macosx: Tokend -> libopensc -> pcsc or the PKCS#11 module: opensc-pkcs11 -> libopensc -> pcsc Thus it could sit in a separate driectory like src/minidriv

Re: [opensc-devel] debugging opensc-tool with gdb gives error: generic error

2010-01-25 Thread Andreas Jellinghaus
Am Montag 25 Januar 2010 08:02:05 schrieb Bart Vanherck: > On Wed, Jan 20, 2010 at 05:30:53PM +0100, Andreas Jellinghaus wrote: > > you need to compile opensc with "-pthread" in CFLAGS and LIBS. > > OpenSC itself is not multi-threaded AFAIK, but it loads > > libraries that are, and that confuses th

Re: [opensc-devel] card minidriver update for windows.

2010-01-25 Thread Andreas Jellinghaus
A few things I noticed: * latest changes martin made to slot/reader logic etc. will break your code. martin, can you help to port it to latest trunk? * the reader driver for the card module: maybe it would be clearer if it had a file of its own? or does it share code with the pcsc reader driv