Re: [opensc-devel] Comments on R5212 cardmod changes for use with Makefile.mak

2011-02-18 Thread Martin Paljak
Hello, On Feb 18, 2011, at 11:17 PM, Douglas E. Engert wrote: > The _WIN32_WINNT was change to 502 which supports XP SP2 and 2003 SP1 > and above. If there is some reason to support any systems older > then these, place change this back. (VS 2010 may mot support anything > less then 502.) That

[opensc-devel] Comments on R5212 cardmod changes for use with Makefile.mak

2011-02-18 Thread Douglas E. Engert
The changes in R5212 were added to get the cardmod to build using Visual Studio 2008 run on W7 64 to produce 32 bit modules. I tested on Vista with login, and partially tested on XP. ZLIB-1.2.5 was used but OpenSSL was not. My testing consisted of copying the opensc-cardmod.dll to some location, th

Re: [opensc-devel] Helping reporting bugs with a template?

2011-02-18 Thread Martin Paljak
Hello, On Feb 18, 2011, at 6:45 PM, Ludovic Rousseau wrote: > Is it possible to have templates in bug reports with trac? I could not > find anything like that. But I am not a trac admin. > > I can use an URL like > https://www.opensc-project.org/opensc/newticket?description=foobar but > I don't k

[opensc-devel] Helping reporting bugs with a template?

2011-02-18 Thread Ludovic Rousseau
Hello, 2011/2/17 OpenSC : >  If you claim this behavior is a regression, how does it look like with >  OpenSC versions before 0.12.0? If you think that something is a >  regression, it would be best if you demonstrated it and show the evidence >  (output with a working version, output with a probl

Re: [opensc-devel] Secure Messaging and concurrent access to card

2011-02-18 Thread Frank Morgner
> > But why don't you store the needed SM-data in the card's > > private data? This way each card handle has it's own SM context and > > could access the card with different SM parameters (if supported). > > Sorry I can't: AFAIK DNIe is "read only", at least at user level > Ideally, virtual channe

Re: [opensc-devel] CA key on card: how?

2011-02-18 Thread NdK
On 18/02/2011 10:54, NdK wrote: >>> *But* if I specify a slot too, it asks me for a PIN. Too bad *none* of >>> the PINs I created works: >>> $ openssl req -days 3650 -new -out rootca.csshl.org.csr -config >>> openssl.conf -engine pkcs11 -keyform engine -key 1:10 -sha1 Today openssl refusess to l

Re: [opensc-devel] CA key on card: how?

2011-02-18 Thread NdK
Il 18/02/2011 07:07, Martin Paljak ha scritto: >> Yup. That's why keys are generated on card :) > Unless the key is exportable Always asked why one needs to mark a private key exportable: if you need it exportable, create it externally and load to card. It's even faster. :) > If you want to

Re: [opensc-devel] Strange VS preprocessor behavior

2011-02-18 Thread Viktor TARASOV
On 17.02.2011 20:11, Martin Paljak wrote: > On Feb 17, 2011, at 7:56 PM, Viktor TARASOV wrote: > >> Hi, >> >> I'm trying to compile OpenSC on the >> Windows Server 2008 R2 Enterprise OS 64-bit >> using compiler >> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for >> 80x86 >

Re: [opensc-devel] Strange VS preprocessor behavior

2011-02-18 Thread Viktor TARASOV
On 17.02.2011 19:59, Peter Stuge wrote: > Viktor TARASOV wrote: >> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 > .. >> It seems that for the quoted form of #include macro preprocessor do >> not looks for the file to include in the directory of the file that >> contains thi