Alon Bar-Lev wrote: > On 2/27/08, Douglas E. Engert <[EMAIL PROTECTED]> wrote: >> PIV cards are being issued with compressed certificates, and so they need >> to be decompressed. (Its in the NIST-800-73 specs, I don't think they >> gain much be compressing ASN.1, but that is out of my control.) > > I've created a binary bundle with zlib for you to test, please > download it from [1].
Thanks, I can read the gziped cert off the PIV card using pkcs15-tool or pkcd11-tool. So far it works. Will need to try with the IdAlly CSP, with login and IE, but will have to wait till tomorrow. > It is based on a package at [2], if you use it you won't have to > provide extra dependencies. > > I use the following command to configure this package on Linux (cross > compile to Windows): > ./configure LTLIB_CFLAGS="-I${w32root}/include" > LTLIB_LIBS="-L${w32root}/lib -lltdl" > OPENSSL_CFLAGS="-I${w32root}/include" OPENSSL_LIBS="-L${w32root}/bin > -leay32" ZLIB_CFLAGS="-I${w32root}/include" > ZLIB_LIBS="-L${w32root}/lib -lzdll" --enable-pcsc --prefix=/ > --host=i686-pc-mingw32 > > All libraries had some issues with mingw, in the future I will provide > some script to build it all. > >> That is what I am doing, checkout using Unix to shared file system in >> OpenAFS, run bootstrap on Unix, then run the configure and make on >> Windows. The configure complained about not having the xsltproc, wget, svn, >> but by adding the packaged file it got by all of that. > > This is not what you are doing. > You had to do this: > svn export ... > ./configure > make dist > cp *.gz <shared directory> > cd <shared directory> > tar -xf *.gz > Use <shared directory> on Windows. No, I did on unix: svn co http://www.opensc-project.org/svn/opensc/branches/alonbl/mingw ./bootstrap cd .. mkdir win32_dee cd win32_dee lndir ../mingw touch packaged The on windows under msys cd /x/.../win32_dee ./configure ... make > >> This is getting to be a bigger and bigger project. I will see what I can do. >> I wanted to use the OpenSSL and zlib that worked with the Makefile.mak and >> the Microsoft build to keep it simple. > > All I ask is to test the outputs... Building using Mingw is not > straight forward for everyone. > I will provide some scripts to do so in the future, for now I need > confirmation that the output works as expected. > > Thank you for your help, > Alon Bar-Lev. > > [1] http://alon.barlev.googlepages.com/opensc-trunk-mingw32-004.tar.bz2 > [2] http://alon.barlev.googlepages.com/opensc-0.11.4-svn.tar.gz > > -- Douglas E. Engert <[EMAIL PROTECTED]> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel