Commit Graph

107 Commits

Author SHA1 Message Date
martin 830ba34b67 Fix native windows build, add iconv support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3643 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-29 11:47:45 +00:00
alonbl 34a75de5d7 Rutoken updates
By Aktiv Co. Aleksey Samsonov

- use PKCS#15 (not builtin PKCS#15 emulator)
- rutoken.profile (add privdata)
- correct using ACL
- correct erase procedure



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3640 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-28 12:10:13 +00:00
aj 27d00f9265 Add new entersafe driver for ePass 3000 tokens.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3556 c6295689-39f2-0310-b995-f0e70906c6a9
2008-08-20 05:41:20 +00:00
alonbl 6c740b907e More MSVC fixups by Douglas E. Engert
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3503 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-29 06:09:00 +00:00
alonbl 8d7bce4de2 ruToken fixups
http://www.opensc-project.org/pipermail/opensc-devel/2008-April/011057.html

By Aktiv Co. Aleksey Samsonov



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3478 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-18 14:08:23 +00:00
alonbl d84077749b Distribute autoconf generated files for MSVC build
Construct resource files and winconfig.h using autoconf
substitutions.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3468 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-08 18:36:42 +00:00
alonbl 54c1c735f3 Attached are the latest mode to OpenSC svn 3462 to use the Makefile.mak
files to build on Windows.

I got rutoken to compile, and took out the #ifdef's I had in last week.
The rutoken programmer declared some variables in the middle of a block
rather then having all the declare statements at the beginning of a block
as is normally done in C. The Microsoft compile treats this as an error.
(Actual many errors.)

The makedef.pl is no longer needed, as the exports files can be used.
Note that in the original Makefile.mak files only opensc.def and
pkcs15init.def were created.

winconfig.h has a number of changes. As discussed last week this could
be created by autoconf. I also noted that the Active State Perl that
was required for the makedef.pl has a psed command that could be used
like sed to update winconfig.h.  I did not attempt to do this.



  win32/Make.rules.mak - Use ENABLE_OPENSSL and ENABLE_ZLIB

  src/tools/Makefile.mak - add the rutoken.tool.exe

  src/tools/eidenv.c - use PACKAGE_VERSION

  src/pkcs11/Makefile.mak - reorder the objest to match the list in the
           Makefile.am. Makes it easier to read.

  src/include/winconfig.h - The windows version of the config.h
           Changes based on discussions on the list last week.

  src/common/Makefile.mak - renamed modules.

  src/pkcs15init/Makefile.mak - reordered, and added back the rutoken modules
           replaced the use of makdef.pl to sue the exports file.

  src/scconf/Makefile.mak - reordered objects.

  src/libopensc/card-rutoken.c -
           error. Moved the declares to the beginning of blocks.

  src/libopensc/Makefile.mak - reorder names, and add rutoken.
           Use the libopensc.exports file.

  src/libopensc/pkcs15-prkey-rutoken.c - more moving of declare statements.

By Douglas E. Engert

http://www.opensc-project.org/pipermail/opensc-devel/2008-April/011011.html



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3464 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-07 19:42:43 +00:00
aj af9199b059 Appy patch by magog to build a static opensc_a.lib on windows.
Also removes *.lib on "make clean".


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3265 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 06:22:36 +00:00
aj 60e3e1e683 add akis support by Gürer Özen.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3222 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-17 20:01:55 +00:00
nils 8770859315 add support for asepcos
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3200 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-03 20:44:34 +00:00
martin fa272faf68 Missing file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3143 c6295689-39f2-0310-b995-f0e70906c6a9
2007-03-21 09:34:10 +00:00
aj c6954a9c33 full piv update by Thomas harning Jr. and David E. Engert,
adding compression etc. Also enables opensc to be compiled
with and without zlib support.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3125 c6295689-39f2-0310-b995-f0e70906c6a9
2007-03-10 10:46:32 +00:00
aj d2e004d09b ntohl is in ws2_32.lib / dll.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3019 c6295689-39f2-0310-b995-f0e70906c6a9
2006-09-20 12:32:59 +00:00
nils aec987df38 build fixes for win; patch supplied by Douglas E. Engert <deengert@anl.gov>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3005 c6295689-39f2-0310-b995-f0e70906c6a9
2006-08-03 21:05:59 +00:00
sth 50490acca0 Added support for MuscleCard applet. Thanks to Thomas Harning, David Corcoran of Identity Alliance
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2968 c6295689-39f2-0310-b995-f0e70906c6a9
2006-06-07 08:33:37 +00:00
martin 9213a29a34 Small fixes for windows compilation (Visual Studio Express 2005)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2855 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-23 11:02:24 +00:00
nils 5c3aed1189 - remove dependence on a specific threading library
- add two new structures: sc_thread_context_t which let
  the user specify the mutex functions to use and
  sc_context_param_t to specify parameters for the sc_context_t
  creation (including mutex functions) using sc_create_context()
- add new function sc_context_create()  
- remove timestamp code from libopensc


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2829 c6295689-39f2-0310-b995-f0e70906c6a9
2006-02-01 22:59:42 +00:00
aj 823bbffbe6 rename card-etoken.c to card-cardos.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2822 c6295689-39f2-0310-b995-f0e70906c6a9
2006-01-23 21:39:20 +00:00
nils fe3e93b625 summary: -complete rewrite of the APDU/transmission handling
code (should now support extended APDUs and is
          hopefully better documented. Note: support for
          the T0 ENVELOPE command is still missing due to
          a lack of test cards).
         -add new APDU case constants SC_APDU_CASE_2 etc.
          which let OpenSC decides, based on the card
          capabilities, whether to use short or extended
          APDUs.
         -add new capability SC_CARD_CAP_RSA_2048 for
          cards supporting 2048 bit RSA operations (note:
          this is more a preliminary hack)


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2795 c6295689-39f2-0310-b995-f0e70906c6a9
2005-12-28 20:01:43 +00:00
nils 90d1b0cc9c add support for the Italian Incrypto34 smartcard;
patch supplied by Giuseppe AMATO <giuseppe.amato@st.com>


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2661 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-24 21:58:35 +00:00
nils aec4a81304 add pkcs15 emulation support for a cardos based id card issued by tc trustcenter
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2594 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-16 08:55:09 +00:00
sth e15c54e1c5 Win32: we now need the external libtool package
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2592 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-15 05:55:53 +00:00
nils 68a49360d2 pkcs15-netkey.c -> pkcs15-tcos.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2566 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-09 19:51:38 +00:00
aj ff62b88e1c big configure update.
use pkg-config for openct, openssl, pcsc.
do not compilke libp11. do not compile sslengines.
remove scdl. use libltdl instead.
use libassuan.m4 macro for m4 detection.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2528 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-01 14:01:58 +00:00
nils cbb32e02e1 add initial support for atrust acos cards; patch supplied by Franz Brandl <f.brandl@a-trust.at>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2374 c6295689-39f2-0310-b995-f0e70906c6a9
2005-07-01 08:26:55 +00:00
nils e78d245bd3 add support for Actalis card; patch supplied by Andrea Frigido
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2338 c6295689-39f2-0310-b995-f0e70906c6a9
2005-05-08 21:30:06 +00:00
nils 315b961d9a add support for gpk16k gemsafe cards, Douglas E. Engert et al
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2310 c6295689-39f2-0310-b995-f0e70906c6a9
2005-04-16 10:40:00 +00:00
sth 8b94043a6e Removed pinpad-ccid
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2279 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-26 19:33:17 +00:00
aet 1e3623ff1b - Add cards.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2170 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-10 09:56:41 +00:00
sth c8d89211eb src/libopensc/card-belpic.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2113 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-29 12:10:52 +00:00
sth b8d92a365a Added pinpad-ccid.obj
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2106 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-28 20:41:12 +00:00
sth 08c3cc90fa Simplified the procedure to link with openssl on Windows: now you only need to slightly change Make.rules.mak instead of hacking in several Makefile.mak files
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2077 c6295689-39f2-0310-b995-f0e70906c6a9
2005-01-16 21:12:38 +00:00
nils 2d2a6d8bac add pkcs15 emulation support for the Italian postecert card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1985 c6295689-39f2-0310-b995-f0e70906c6a9
2004-11-24 17:00:53 +00:00
nils a37338352a remove obsolete module support in libopensc (scdl should now
be used)


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1958 c6295689-39f2-0310-b995-f0e70906c6a9
2004-10-27 06:41:27 +00:00
aj 23ebb42bcf Typo found by Stef Hoeben.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1856 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-21 22:10:04 +00:00
aj 268a302950 Add support for Estonian ID card. Written by Martin Paljak.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1834 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-14 21:13:54 +00:00
nils 83635047e0 add support for Telesec NetKey cards (still experimental)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1805 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-28 16:42:03 +00:00
nils 7446d43ea5 add (partial) pkcs15 emu support for StarCert V2.2 cards
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1801 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-24 06:29:51 +00:00
aj 23d92b8abd Also add oberthur files to Makefile.mak.
oops, sorry for forgetting. Reported by novakv and
fixed by Nils Larsch.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1795 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-18 09:30:21 +00:00
nils d5697cfb6e add pkcs15-syn support for infocamere card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1782 c6295689-39f2-0310-b995-f0e70906c6a9
2004-05-04 18:12:46 +00:00
sth 292e13b7d9 Add the JCOP card code
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1702 c6295689-39f2-0310-b995-f0e70906c6a9
2003-12-29 20:50:58 +00:00
aet bb97c0d094 - Add new files
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1588 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 13:59:27 +00:00
aet c693c4799c - Merging between Makefile.am<>Makefile.mak
- Add ui.h to main distribution tarball, snapshots have
  been broken for a few days


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1566 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-23 09:12:48 +00:00
sth 23d1ca554e Let the new UI code compile under Windows
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1563 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-22 08:43:27 +00:00
sth 2fa013edf0 Fix: don't link by default with openssl
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1480 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-30 09:19:06 +00:00
sth 68c885ebe1 Added version info to the Win32 binaries, and set the version number to 0.8.0.0 (4 numbers seems to be needed)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1437 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 14:08:29 +00:00
aet 5616dba08e - Stop using unflexible automake conditionals when
building PC/SC, OpenCT or USBToken support,
  use ifdef's directly in source.
- Because of above, add HAVE_PCSCLITE for winconfig.h
- Remove unnecessary includes for log.h, opensc.h and
  errors.h in libopensc sources, they're already taken
  care by internal.h.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1406 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 09:28:55 +00:00
aet bac2b601a9 Move scdl to it's own subdirectory, although it's merely
for internal purposes only.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1403 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-01 08:43:38 +00:00
sth 085ec59b3e correct makefile so that the depending libopensc is updated when a new scconf.lib exist (Ivo Pieck)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1338 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-06 12:13:09 +00:00
sth f563ee6a9e Moved padding from pkcs15-sec.c to padding.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1266 c6295689-39f2-0310-b995-f0e70906c6a9
2003-07-16 11:52:28 +00:00
sth 005590ab8f Added card-starcos
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1032 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 19:49:50 +00:00
okir 6532461cf3 - win32 fixes for mutex change
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@860 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-14 14:26:23 +00:00
okir 93c0cab7b9 - win32 fixes from stef
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@814 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-02 15:31:53 +00:00
okir b86d2e994b - First shot at pkcs15 data objects from Danny De Cock
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@788 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 10:17:01 +00:00
fabled 3837299e1e Updated win32 port for recent updates.
Noticed by Stef Hoeben.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@708 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-11 08:22:11 +00:00
fabled e4540f826a - Win32 build fixes. Should work now.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@669 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-20 12:14:18 +00:00
fabled 7635468ed9 - Initial support for win32
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@654 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-14 12:52:56 +00:00