Commit Graph

  • 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 frankmorgner 2010-03-05 09:53:44 +00:00
  • 69b8e3fc65 - bugfix: moved ASN.1 declaration of PACE-APDUs to pace.c - added commandline-option to test PACE currently with hard coded secret etc. frankmorgner 2010-03-01 16:22:41 +00:00
  • 4900d205ce Added support for Password Authenticated Connection Establishment (PACE) using OpenPACE (http://sourceforge.net/projects/openpace/). Since it is currently untested, it is disabled by default. frankmorgner 2010-02-28 18:58:35 +00:00
  • 0a06537cee moved operations for opening sockets into separate functions frankmorgner 2010-02-02 14:29:12 +00:00
  • 5e9a299eaa - Object orientated refactoring of CardGenerator - PassportOS class in VirtualSmartcard.py is no longer needed, because all the functionallity is now in CardGenerator - Removed hard coded image - Added version number and type to file format oepen 2010-02-01 16:40:27 +00:00
  • 638e5301d0 - implemented option parsing with getopt_long frankmorgner 2010-01-31 15:57:38 +00:00
  • c4b69cd4cb - Some minor code improvements: catch and fix some rare errors, taking more usage of opensc debugging methods, removed not needed variables and code fragments frankmorgner 2010-01-31 01:47:52 +00:00
  • e500aa3382 Refactoring and Bugfixing: - CryptoUtils: - removing hard coded keylength from append_padding in CryptoUtils - rewrote append_padding, slightly modified strip_padding in CryptoUtils - added get_cipher_keylen and get_cipher_blocklen to CryptoUtils - Updated UnitTest in CryptoUtils. Note: PBKDF2.self_test() fails!!! - added new function protect_string to encrypt and authenticate a string - Removed hard coded padding pattern - VirtualICC: - Added and integrated functions to load and save VirtualICC objects - Added exception handling for opening of the socket - SmartcardSAM: - Removed all object persistance functionaliy from SmartcardSAM - Changed the constructors of the *SAM classes oepen 2010-01-30 18:51:00 +00:00
  • ae067f8d07 - fixed segmentation fault, ccid running stable now again frankmorgner 2010-01-30 11:52:25 +00:00
  • e4424f7316 - switched to opensc's debugging function in log.h - a segmentation fault of unknown origin crashes ccid after too many operations. last stable version is revision 29. frankmorgner 2010-01-30 02:43:14 +00:00
  • 8372d0a7db - created detect_card_presence to avoid limitations of sc_detect_card_presence frankmorgner 2010-01-30 00:04:10 +00:00
  • 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 frankmorgner 2010-01-29 18:04:30 +00:00
  • 5f92f876fb Small Makefile fix: Added default target to virtualsmartcard/Makefile oepen 2010-01-25 17:18:20 +00:00
  • 431354dac3 added support for bNumberMessage frankmorgner 2010-01-24 07:13:29 +00:00
  • ffb210f0a5 added support for flags in bConfirmPIN frankmorgner 2010-01-23 22:45:25 +00:00
  • 1c3a426434 added support for pin modification frankmorgner 2010-01-23 22:10:00 +00:00
  • afeea72f23 - added defines for pin modification - debugging apdu and rapdu there where they are created - splitted pin block operations into several functions frankmorgner 2010-01-23 21:37:52 +00:00
  • ca8e202b53 PassportSAM: MRZ for key derivation is now read from MF instead of hard-encoding it in the code oepen 2010-01-23 15:59:22 +00:00
  • 6fb50633e6 Changed Passport testdata oepen 2010-01-23 15:06:40 +00:00
  • 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 frankmorgner 2010-01-21 21:48:01 +00:00
  • 1a53223f64 changed naming frankmorgner 2010-01-14 22:29:11 +00:00
  • 76d4c08f4a removed not needed iso-identifier frankmorgner 2010-01-14 20:28:24 +00:00
  • 450e6a81ab code split into multiple files, added include guards frankmorgner 2010-01-14 19:20:36 +00:00
  • c9485af8e6 bugfix frankmorgner 2010-01-13 21:58:28 +00:00
  • b0f3ce24e5 - added functions for a smartcard reset - changed communication protocol via socket, length is coded in network byteorder - splitted vpcd.[h|c] into more files, added include-guards frankmorgner 2010-01-13 21:33:13 +00:00
  • b4862e9be6 perform_PC_to_RDR_Secure works, read actual PIN is still missing frankmorgner 2010-01-12 10:06:19 +00:00
  • 8d5b7f8744 added support for pinpad. doesn't work atm, somehow abPINApdu is wrong. frankmorgner 2010-01-10 23:09:11 +00:00
  • e30640e43d bugfix frankmorgner 2010-01-10 22:53:34 +00:00
  • c535710e13 added serial number to cryptoflex. opensc can read it. frankmorgner 2010-01-08 14:33:52 +00:00
  • 9dd84e5962 bugfix frankmorgner 2010-01-08 00:07:56 +00:00
  • bc9f334d04 bugfix frankmorgner 2010-01-07 22:57:18 +00:00
  • a4ec33c83e changed vendorid/productid, added new structures for future PIN support. frankmorgner 2010-01-05 18:44:22 +00:00
  • a29dc882ea Added target clean frankmorgner 2010-01-05 14:17:58 +00:00
  • 01b3dad1bf Fixed Makefile, removed warning. frankmorgner 2010-01-05 14:04:04 +00:00
  • 08157f4e09 Cleaned up warnings. frankmorgner 2010-01-04 20:38:23 +00:00
  • 54e468fa29 Added picc_to_pcsc. frankmorgner 2010-01-04 19:56:05 +00:00
  • 4c091b4340 Separated bitbake recipes. vscarchitecture.bb simply collects the other recipes now. frankmorgner 2010-01-04 19:48:44 +00:00
  • a1efb89996 Added information about running virtualsmartcard. frankmorgner 2009-11-25 06:45:24 +00:00
  • f967d91e99 Added project informations. frankmorgner 2009-08-22 08:01:54 +00:00
  • c424f0eae2 bugfix schertz123456 2009-08-06 20:49:03 +00:00
  • b575587fb4 bugfix schertz123456 2009-08-06 20:43:36 +00:00
  • 93f814548c Initial commit. schertz123456 2009-08-06 20:25:45 +00:00