Commit Graph

18 Commits

Author SHA1 Message Date
frankmorgner
170ec3c703 cleaned up command line options of pace-tool and made it independant from ccid
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@89 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-04 20:03:54 +00:00
frankmorgner
06375ec693 added support for changing CAN and PIN for PACE
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@83 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-28 13:14:40 +00:00
frankmorgner
6e81cb30cd added option to select card driver. beautified usage dialog.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@80 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-19 18:12:26 +00:00
frankmorgner
b40ec45e5a added option to scan for available readers
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@77 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-16 14:08:13 +00:00
frankmorgner
35f75abe1d - Fixed error when testing pace without card
- Testing pace allows now to choose the type of the secret (mrz, pin, can, puk).
  The secret can be given as commandline option or interactively.
- Cleaned prompt for getting the password
- Fixed error when inserting an empty password
- When PACE is successfully finished, APDUs for testing can be given
  interactively


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@73 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-15 07:37:32 +00:00
frankmorgner
62e48e2a7c - Work in progress: Almost finished (hopefully) flexible sm implementation
(untested).  struct sm_ctx needs external cipher and authentication
  implementations.  Here only routines for encryption/decryption/authentication
  with PACE are given.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@54 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-09 20:36:32 +00:00
frankmorgner
d91b45c47a - pace-testing is not done in threads anymore, program exits when test is finished
- bugfix in debug_ossl
- more generic aproach to select EF.CardAccess
- EF.CardAccess is read sequencially, to get a correct send sequence counter


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@42 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-03-05 09:53:44 +00:00
frankmorgner
69b8e3fc65 - bugfix: moved ASN.1 declaration of PACE-APDUs to pace.c
- added commandline-option to test PACE currently with hard coded secret etc.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@41 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-03-01 16:22:41 +00:00
frankmorgner
7b5be6ccd9 - added functions for simplified debugging
- changed functions to pass pointers instead of structs and using realloc
  instead of malloc to reduce memory overhead/usage
- changed functions to return opensc-errors to pass printout-debugging to the
  top level
- included functionality of get_RDR_to_PC_Parameters in
  perform_PC_to_RDR_GetParamters


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@31 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-29 18:04:30 +00:00
frankmorgner
431354dac3 added support for bNumberMessage
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@29 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-24 07:13:29 +00:00
frankmorgner
afeea72f23 - added defines for pin modification
- debugging apdu and rapdu there where they are created
- splitted pin block operations into several functions


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@26 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-23 21:37:52 +00:00
frankmorgner
05861588ed - switched from libpcsc to libopensc. This brings some new features:
- Support for 4 slots per reader
  - abstraction of user interface
  - interactive pin verification
  - BCD encoding of PIN
  - Support for new readers (OpenCT)
  - automatically skip to a reader with a card
- added defines
- changed interface of ccid_initialize


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@23 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-21 21:48:01 +00:00
frankmorgner
1a53223f64 changed naming
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@22 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-14 22:29:11 +00:00
frankmorgner
450e6a81ab code split into multiple files, added include guards
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@20 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-14 19:20:36 +00:00
frankmorgner
b4862e9be6 perform_PC_to_RDR_Secure works, read actual PIN is still missing
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@17 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-12 10:06:19 +00:00
frankmorgner
8d5b7f8744 added support for pinpad. doesn't work atm, somehow abPINApdu is wrong.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@16 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-10 23:09:11 +00:00
frankmorgner
a4ec33c83e changed vendorid/productid, added new structures for future PIN support.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@11 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-05 18:44:22 +00:00
schertz123456
93f814548c Initial commit.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@1 96b47cad-a561-4643-ad3b-153ac7d7599c
2009-08-06 20:25:45 +00:00