diff --git a/bitbake/ccid-tool.bb b/bitbake/ccid-tool.bb index 6bb6715..fc1ba70 100644 --- a/bitbake/ccid-tool.bb +++ b/bitbake/ccid-tool.bb @@ -11,3 +11,7 @@ S = "${WORKDIR}/ccid" inherit autotools_stage pkgconfig EXTRA_OECONF = "--enable-pace" + +FILES_${PN} += "\ + ${bindir}/* \ +" diff --git a/bitbake/ccid.bb b/bitbake/ccid.bb deleted file mode 100644 index f6ba604..0000000 --- a/bitbake/ccid.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" -LICENSE = "GPL" - -DEPENDS = "pcsc-lite linux-libc-headers" -RDEPENDS = "pcsc-lite kernel-module-gadgetfs" - -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=1" - -S = "${WORKDIR}" - -LIBPCSCLITE_CFLAGS = -I${STAGING_INCDIR}/PCSC -lpcsclite -PTHREAD_CFLAGS = -pthread -# FIXME: let openmoko set the right STAGING_KERNEL_DIR -STAGING_KERNEL_DIR = ${STAGING_DIR}/${MACHINE}-angstrom-${TARGET_OS}/kernel -GADGETFS_CFLAGS = -I${STAGING_KERNEL_DIR}/include - -INSTALL = install -INSTALL_PROGRAM = ${INSTALL} - -FILES_${PN} = "\ - ${bindir}/* \ -" - -do_compile() { - ${CC} ${S}/ccid/ccid.c ${S}/ccid/usbstring.c -o ${S}/ccid/ccid \ - ${LIBPCSCLITE_CFLAGS} ${GADGETFS_CFLAGS} ${PTHREAD_CFLAGS} ${CFLAGS} -} - -do_install() { - ${INSTALL} -d ${D}${bindir} - ${INSTALL_PROGRAM} ${S}/ccid/ccid ${D}${bindir} -} diff --git a/bitbake/picctopcsc.bb b/bitbake/picctopcsc.bb index 2007c44..30d75ee 100644 --- a/bitbake/picctopcsc.bb +++ b/bitbake/picctopcsc.bb @@ -4,25 +4,12 @@ LICENSE = "GPL" DEPENDS = "pcsc-lite" RDEPENDS = "pcsc-lite" -SRC_URI = "svn://svn.informatik.hu-berlin.de/svn/NFC;module=picc_to_pcsc;proto=https;rev=357" +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=picc_to_pcsc;proto=https;rev=131" -S = "${WORKDIR}" +S = "${WORKDIR}/picc_to_pcsc" -LIBPCSCLITE_CFLAGS = -I${STAGING_INCDIR}/PCSC -lpcsclite +inherit autotools_stage pkgconfig -INSTALL = install -INSTALL_PROGRAM = ${INSTALL} - -FILES_${PN} = "\ +FILES_${PN} += "\ ${bindir}/* \ " - -do_compile() { - ${CC} ${S}/picc_to_pcsc/picc_to_pcsc.c -o ${S}/picc_to_pcsc/picc_to_pcsc \ - ${LIBPCSCLITE_CFLAGS} ${CFLAGS} -} - -do_install() { - ${INSTALL} -d ${D}${bindir} - ${INSTALL_PROGRAM} ${S}/picc_to_pcsc/picc_to_pcsc ${D}${bindir} -} diff --git a/bitbake/virtualsmartcard.bb b/bitbake/virtualsmartcard.bb index f54a6f3..f94ff44 100644 --- a/bitbake/virtualsmartcard.bb +++ b/bitbake/virtualsmartcard.bb @@ -4,69 +4,14 @@ LICENSE = "GPL" DEPENDS = "pcsc-lite" RDEPENDS = "pcsc-lite python-pycrypto python-crypt python-textutils python-imaging python-pickle" -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard/;module=virtualsmartcard;proto=https;rev=1" +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=virtualsmartcard;proto=https;rev=131" -S = "${WORKDIR}" -serialdropdir = ${libdir}/pcsc/drivers/serial -readerconfdir = ${sysconfdir}/reader.conf.d -python_sitelib = /usr/lib/python2.5/site-packages +S = "${WORKDIR}/virtualsmartcard" -LIBPCSCLITE_CFLAGS = -I${STAGING_INCDIR}/PCSC -lpcsclite -SO_CFLAGS = -fPIC -SO_LDFLAGS = -shared +inherit autotools_stage pkgconfig -INSTALL = install -INSTALL_PROGRAM = ${INSTALL} -INSTALL_DATA = ${INSTALL} -m 644 - -FILES_${PN} = "\ +FILES_${PN} += "\ ${bindir}/* \ - ${readerconfdir}/* \ - ${serialdropdir}/* \ - ${python_sitelib}/* \ + ${sysconfdir}/* \ + ${libdir}/* \ " - -do_compile() { - ${CC} ${SO_CFLAGS} ${CFLAGS} -c \ - ${S}/virtualsmartcard/vpcd/vpcd.c \ - ${S}/virtualsmartcard/vpcd/vpcd.h \ - ${CC} ${SO_CFLAGS} ${CFLAGS} ${LIBPCSCLITE_CFLAGS} -c \ - ${S}/virtualsmartcard/vpcd/ifd.c - - ${CC} ${S}/ifd.o ${S}/vpcd.o -o ${S}/virtualsmartcard/libvpcd.so \ - ${LIBPCSCLITE_CFLAGS} ${SO_LDFLAGS} ${LDFLAGS} - rm -f ${S}/vpcd.o ${S}/ifd.o - - echo '#!/bin/sh' > ${S}/virtualsmartcard/virtualsmartcard - echo "cd \"${python_sitelib}\"" \ - >> ${S}/virtualsmartcard/virtualsmartcard - echo "python \"${python_sitelib}/VirtualSmartcard.py\" \"\$@\"" \ - >> ${S}/virtualsmartcard/virtualsmartcard - - echo 'FRIENDLYNAME "Virtual PCD"' > ${S}/virtualsmartcard/vpcd.conf - echo 'DEVICENAME /dev/null' >> ${S}/virtualsmartcard/vpcd.conf - echo "LIBPATH ${serialdropdir}/libvpcd.so" >> ${S}/virtualsmartcard/vpcd.conf - echo 'CHANNELID 0' >> ${S}/virtualsmartcard/vpcd.conf -} - -do_install() { - ${INSTALL} -d ${D}${bindir} - ${INSTALL} -d ${D}${serialdropdir} - ${INSTALL} -d ${D}${readerconfdir} - ${INSTALL} -d ${D}${python_sitelib} - ${INSTALL_PROGRAM} ${S}/virtualsmartcard/virtualsmartcard ${D}${bindir} - ${INSTALL_PROGRAM} ${S}/virtualsmartcard/libvpcd.so ${D}${serialdropdir} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpcd.conf ${D}${readerconfdir} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/ConstantDefinitions.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/CryptoUtils.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/SEutils.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/SmartcardFilesystem.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/SmartcardSAM.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/SWutils.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/TLVutils.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/utils.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/VirtualSmartcard.py ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/testconfig.sam ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/testconfig.mf ${D}${python_sitelib} - ${INSTALL_DATA} ${S}/virtualsmartcard/vpicc/jp2.jpg ${D}${python_sitelib} -} diff --git a/bitbake/vscarchitecture.bb b/bitbake/vscarchitecture.bb index 597014d..da9477f 100644 --- a/bitbake/vscarchitecture.bb +++ b/bitbake/vscarchitecture.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" LICENSE = "GPL" -DEPENDS = "ccid virtualsmartcard picctopcsc" +DEPENDS = "ccid-tool virtualsmartcard picctopcsc" diff --git a/ccid/ChangeLog b/ccid/ChangeLog index e69de29..d585afb 100644 --- a/ccid/ChangeLog +++ b/ccid/ChangeLog @@ -0,0 +1,585 @@ +2010-06-05 14:34 frankmorgner + + * src/pace-tool.c, src/pace.c, src/pace.h, src/sm.c, src/sm.h: - + dropped pace_transmit_apdu in favour of a solution with + sm_transmit_apdu. + post_transmit and pre_transmit can be used to perform actions + before + encrypting/decrypting a sm apdu (such as incrementing the ssc for + pace). + - fixed ssc problems. encrypted communication with more than one + apdu (e.g. + resuming the pin) is now working. + - fixed uninitialized pointer in sm_decrypt + +2010-06-04 21:34 frankmorgner + + * src/sm.c: fixed uninitialized pointer which caused segfault on + decryption. + +2010-06-04 19:05 frankmorgner + + * src/pace.c: fixed segfault if ef.cardaccess is not readable + +2010-06-03 22:17 frankmorgner + + * src/sm.c: added error messages + +2010-06-03 21:34 frankmorgner + + * src/pace-tool.c: bugfix for conversion of hex to binary for + interactive mode + +2010-06-02 13:16 frankmorgner + + * README, src/pace-tool.c: added information about the environment + variables used + +2010-06-02 11:39 frankmorgner + + * src/pace-tool.c: pace-tool can now read secrets from environment + variables + +2010-06-02 11:20 frankmorgner + + * src/pace-tool.c: made pin puk can or mrz an optional command line + argument + +2010-06-02 10:50 frankmorgner + + * src/pace-tool.c: fixed precision of time measurement + +2010-06-02 10:43 frankmorgner + + * src/pace-tool.c: added time measurement for a PACE run + +2010-06-01 17:44 frankmorgner + + * src/pace-tool.c: establish pace channel and exit, when no further + commandline option is given + +2010-06-01 14:52 frankmorgner + + * src/pace-tool.c: - added switch to enable apdu translating + (disabled by default) + +2010-05-26 20:32 frankmorgner + + * src/pace-tool.c, src/pace.c, src/pace.h, src/sm.c: removed some + messages, when less verbose. fixed little endian problem when + parsing input buffer of EstablishPACEChannel. + +2010-05-20 19:26 frankmorgner + + * src/sm.c: fixed class byte generation for sm apdu + +2010-05-20 18:26 frankmorgner + + * src/pace-tool.c, src/pace.c, src/sm.c: - sm_transmit_apdu doesn't + check SWs anymore + - not throwing error for sw=63XX in mse:set at + +2010-05-20 08:17 frankmorgner + + * src/pace-tool.c, src/pace.c, src/pace.h, src/sm.c: - using short + apdus for mse:set at and generic authenticate. to make it work + with the sm implementation + - added parameter oldpacectx to EstablishPACEChannel to allow a a + new PACE connection inside an exitsting PACE connection (the + output buffer of the latter connection must be provided since it + stores the ef.cardaccess) + - added functionality to ask for the secret in + pace_reset_retry_counter + - added macro pace_change_pin + - SWs were stored at the wrong place of the output buffer from + EstablishPACEChannel, fixed. + - split up functionality of pace_test into multiple functions + - added new command line option to pace-tool to resume the pin. + resuming the pin is not working, yet. + +2010-05-18 11:39 oepen + + * src/pace.c: Changed EXPLICIT tagging of CHAT and auxiliary + authenticated data to IMPLICIT tagging + +2010-05-16 18:53 frankmorgner + + * src/pace-tool.c, src/pace.c, src/pace.h: - Added handling for + output buffer of EstablishPACEChannel, but CARs are still missing + - Handed over code for handling of IV and SSC for PACE to + OpenPACE + +2010-05-08 18:36 frankmorgner + + * configure.ac: added maintainer + +2010-05-08 14:44 frankmorgner + + * src/scutil.c, src/scutil.h, src/sm.c, src/sm.h: moved bin_log to + scutil + +2010-05-08 07:19 frankmorgner + + * README: updated informations about pace-tool + +2010-05-07 21:27 frankmorgner + + * configure.ac: corrected configure output + +2010-05-07 19:03 frankmorgner + + * INSTALL, configure.ac: removed unmodified file + +2010-05-07 18:02 frankmorgner + + * src/pace.c: added _essential_ missing file + +2010-05-07 14:30 frankmorgner + + * Makefile.am: added missing file + +2010-05-07 11:50 frankmorgner + + * ChangeLog, INSTALL, Makefile, NEWS, binutil.c, binutil.h, ccid.c, + ccid.h, configure.ac, m4, m4/Makefile.am, m4/acx_pthread.m4, + pace-tool.c, pace.c, pace.h, pace_lib.c, pace_lib.h, scutil.c, + scutil.h, sm.c, sm.h, src, src/Makefile.am, src/binutil.c, + src/binutil.h, src/ccid.c, src/ccid.h, src/pace-tool.c, + src/pace.h, src/pace_lib.c, src/pace_lib.h, src/scutil.c, + src/scutil.h, src/sm.c, src/sm.h, src/usb.c, src/usbstring.c, + src/usbstring.h, usb.c, usbstring.c, usbstring.h: fixed include + in pace.c. switched to autotools + +2010-05-05 14:38 frankmorgner + + * Makefile, binutil.c, binutil.h, ccid.c, pace-tool.c, scutil.c, + scutil.h, usb.c, util.c, util.h: split up utils into stuff for + program and sc handling + +2010-05-04 21:01 frankmorgner + + * pace-tool.c, pace.c, pace.h: cleaned up pace.c and moved + test_pace to pace-tool.c + +2010-05-04 20:16 frankmorgner + + * Makefile, pace-tool.c, pace.c: openpace is now a hard dependancy + for pace-tool. ccid does not yet depend on pace, since the USB + interface to pace is not yet defined. + +2010-05-04 20:03 frankmorgner + + * Makefile, ccid.c, ccid.h, pace-tool.c, pace.c, usb.c, util.c, + util.h: cleaned up command line options of pace-tool and made it + independant from ccid + +2010-05-04 08:07 frankmorgner + + * pace.c, sm.c: bugfix: initializing apdu in pace_gen_auth. bin_log + now checks input data. + +2010-05-04 07:57 frankmorgner + + * pace.c: changed length of read binary apdu to support acr 122 + +2010-05-03 19:52 frankmorgner + + * Makefile, pace-tool.c, usb.c, util.c, util.h: put static pace + functionality into the new program pace-tool + +2010-05-03 13:46 frankmorgner + + * pace.c: the number of remaining retries is a warning from the + card, not a fatal error + +2010-04-29 07:33 frankmorgner + + * pace.c: using proper type for getline result + +2010-04-28 13:14 frankmorgner + + * ccid.c, ccid.h, pace.c, pace.h, usb.c: added support for changing + CAN and PIN for PACE + +2010-04-27 20:02 frankmorgner + + * INSTALL: updated instructions + +2010-04-27 20:00 frankmorgner + + * Makefile, ccid.c, pace.c, sm.c, usb.c: - sm will yield error when + the class byte indicates a sm apdu and pace will + simply transmit the apdu without encrypting/authenticating it. + - fixed building process when compiling without pace + +2010-04-19 18:12 frankmorgner + + * Makefile, ccid.c, ccid.h, usb.c: added option to select card + driver. beautified usage dialog. + +2010-04-16 20:37 frankmorgner + + * Makefile: improved build process + +2010-04-16 18:18 frankmorgner + + * usb.c: improved option parsing + +2010-04-16 14:08 frankmorgner + + * ccid.c, ccid.h, usb.c: added option to scan for available readers + +2010-04-15 20:03 frankmorgner + + * Makefile, pace.h, pace_lib.c, pace_lib.h: added header file for + pace library functions + +2010-04-15 18:37 frankmorgner + + * Makefile, README, apdu.c, apdu.h, pace.c, sm.c: - added + information about opensc + - using sc_transmit_apdu instead of my_transmit_apdu. fixing the + opensc error + is the better solution than implementing it twice (see + http://www.opensc-project.org/opensc/ticket/209) + +2010-04-15 07:41 frankmorgner + + * README: updated information + +2010-04-15 07:37 frankmorgner + + * README, ccid.c, ccid.h, pace.c, pace.h, sm.c, sm.h, usb.c: - + 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 + +2010-04-13 21:06 frankmorgner + + * pace.c, pace.h, sm.c: - completed mac verification. sm with pace + is now fully functional. + - made pace_test more fault tolerant. + +2010-04-12 21:22 frankmorgner + + * pace.c, sm.c: - decryption of sm apdu now working. verification + of mac still missing. + +2010-04-12 19:54 frankmorgner + + * ccid.c, pace.c, sm.c, usb.c: fixed various memory leaks and + potential segfaults + +2010-04-12 14:26 frankmorgner + + * pace.c, pace.h, pace_lib.c: - protocol nid in pace_sm_ctx is not + needed any longer due to the changes of OpenPACE + +2010-04-12 14:04 frankmorgner + + * pace.c, sm.c: bugfixes: + - sm.c: fixed mac data padding, when sending sm apdu without + data. + - pace.c: for iv calculation ecb is used instead of cbc + - pace.c: fixed ssc incrementation + +2010-04-12 12:09 frankmorgner + + * pace.c, pace.h: - trying new apdu to reset retry counter in + pace_test + - added pace wrapper for sm_transmit_apdu which automatically + increments the ssc + +2010-04-12 10:31 frankmorgner + + * pace.c: added missing include + +2010-04-12 07:34 frankmorgner + + * pace.c: added code for reading cardsecurity + +2010-04-12 07:23 frankmorgner + + * sm.c: - reverted changes from last commit + +2010-04-12 07:18 frankmorgner + + * sm.c: - added more debugging + - bugfix: header of sm apdu is authenticated instead of the + original apdu + +2010-04-11 21:06 frankmorgner + + * pace.c: bugfix: fetching unhandled error in update_iv + +2010-04-11 20:49 frankmorgner + + * sm.c, sm.h: made bin_log more verbose + +2010-04-11 20:31 frankmorgner + + * pace.c, pace.h, pace_lib.c, sm.c: Bugfixes: + - ssc is a BIGNUM, since its size can be up to 16 bytes (not 16 + bits as before) + - protected le is now encoded as octet string (not as unsigned + integer anymore) + - sc_format_asn1_entry was fet with wrong pointers (lebuf instead + of *lebuf + and formatted_data instead of *formatted_data + + Added some debug output. + +2010-04-10 20:39 frankmorgner + + * sm.c, sm.h: made sm code independant from openssl + +2010-04-10 18:16 frankmorgner + + * ccid.c, pace.c, sm.c, sm.h: - pace.c: removed unused variable ssc + - pace.c: bugfix: don't increment ssc when resetting it. + - sm.c/.h: wrote wrapper sm_transmit_apdu + - sm.c: removed sm error handling, should be done by sc_check_sw + - sm.c/ccid.c/pace.c: added qualifier "static" to local functions + +2010-04-10 17:00 frankmorgner + + * pace.c, sm.c, sm.h: added sw checking for sm + +2010-04-10 15:12 frankmorgner + + * pace.c, sm.c: added missing return buffer for select of + CardSecurity + +2010-04-10 14:53 frankmorgner + + * pace.c, pace.h, sm.c: - sm.c (sm_encrypt) fixed header of sm apdu + - pace.c (EstablishPACEChannel) Fixed initialisation of + authentication_ctx. + (pace_test) Fixed usage of SC_TEST_RET and initialisation of + select apdu for + EF.CardSecurity. + +2010-04-09 20:36 frankmorgner + + * Makefile, apdu.h, ccid.c, ccid.h, pace.c, pace.h, pace_lib.c, + sm.c, sm.h, utils.c, utils.h: - 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. + +2010-04-01 05:52 frankmorgner + + * ccid.c, pace.c, pace.h, sm.h: integrated SM into pace + +2010-03-31 21:58 frankmorgner + + * sm.c, sm.h, utils.c, utils.h: - added untested function to + decrypt sm + - function cipher now always disables automatic padding + +2010-03-29 19:53 frankmorgner + + * Makefile, sm.c, sm.h, utils.c, utils.h: - Added an untested SM + implementation, currently only with encryption + - Added utils from OpenPACE + +2010-03-22 14:42 frankmorgner + + * pace.c: adapted latest changes of OpenPACE + +2010-03-15 18:34 frankmorgner + + * pace.c: bugfix: corrected types of fields from ASN1_INTEGER to + ASN1_OCTET_STRING + +2010-03-15 15:01 frankmorgner + + * pace.c: - adopted the latest changes of OpenPACE + - bugfix: created receive buffer before sending general + authenticate apdus + - added more debug output + +2010-03-10 09:14 frankmorgner + + * apdu.c, apdu.h: bugfix + +2010-03-09 19:30 frankmorgner + + * pace.c: using specifications from TR-03110 2.01 as default (as + done by test + cards) + +2010-03-09 07:01 frankmorgner + + * Makefile: bugfix: building with apdu.c apdu.h + +2010-03-08 22:16 frankmorgner + + * apdu.c, apdu.h, pace.c: - bugfix: general authenticate response + data is now encapsulated in a + dynamic data object + - added more debug messages + - bugfix: get_ef_card_access didn't fetch the whole file + - bugfix: set mse set at apdu type to case 3 + - bugfix: only send the plain value (without tag/length) of the + PACE_MSE_SET_AT object + - bugfix: fixed general authenticate cla byte and set apdu type + to + case 4 + - sanity checks in sc_transmit_apdu forbid the required apdu + format of + general authenticate so it had to be reimplemented in + my_transmit_apdu. apdu.c/apdu.h are mainly copied from opensc. + +2010-03-05 22:35 frankmorgner + + * pace.c, pace.h: - fixed includes + - fixed return value from pace_test if NO_PACE is defined + +2010-03-05 09:53 frankmorgner + + * ccid.c, ccid.h, pace.c, pace.h, usb.c: - 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 + +2010-03-01 16:22 frankmorgner + + * ccid.c, ccid.h, pace.c, pace.h, usb.c: - bugfix: moved ASN.1 + declaration of PACE-APDUs to pace.c + - added commandline-option to test PACE currently with hard coded + secret etc. + +2010-02-28 18:58 frankmorgner + + * INSTALL, Makefile, README, ccid.c, pace.c, pace.h: 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. + +2010-01-31 15:57 frankmorgner + + * usb.c: - implemented option parsing with getopt_long + +2010-01-31 01:47 frankmorgner + + * ccid.c: - Some minor code improvements: catch and fix some rare + errors, taking more + usage of opensc debugging methods, removed not needed variables + and code + fragments + +2010-01-30 11:52 frankmorgner + + * ccid.c, usb.c: - fixed segmentation fault, ccid running stable + now again + +2010-01-30 02:43 frankmorgner + + * ccid.c: - 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. + +2010-01-30 00:04 frankmorgner + + * ccid.c: - created detect_card_presence to avoid limitations of + sc_detect_card_presence + +2010-01-29 18:04 frankmorgner + + * ccid.c, ccid.h, usb.c: - 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 + +2010-01-24 07:13 frankmorgner + + * ccid.c, ccid.h: added support for bNumberMessage + +2010-01-23 22:45 frankmorgner + + * ccid.c: added support for flags in bConfirmPIN + +2010-01-23 22:10 frankmorgner + + * ccid.c: added support for pin modification + +2010-01-23 21:37 frankmorgner + + * ccid.c, ccid.h, usb.c: - added defines for pin modification + - debugging apdu and rapdu there where they are created + - splitted pin block operations into several functions + +2010-01-21 21:48 frankmorgner + + * Makefile, ccid.c, ccid.h, usb.c: - 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 + +2010-01-14 22:29 frankmorgner + + * ccid.c, ccid.h, usb.c: changed naming + +2010-01-14 20:28 frankmorgner + + * usb.c: removed not needed iso-identifier + +2010-01-14 19:20 frankmorgner + + * Makefile, ccid.c, ccid.h, usb.c: code split into multiple files, + added include guards + +2010-01-12 10:06 frankmorgner + + * ccid.h: perform_PC_to_RDR_Secure works, read actual PIN is still + missing + +2010-01-10 23:09 frankmorgner + + * ccid.h: added support for pinpad. doesn't work atm, somehow + abPINApdu is wrong. + +2010-01-05 18:44 frankmorgner + + * ccid.c, ccid.h: changed vendorid/productid, added new structures + for future PIN support. + +2010-01-04 20:38 frankmorgner + + * ccid.c: Cleaned up warnings. + +2010-01-04 19:48 frankmorgner + + * ccid.bb: Separated bitbake recipes. vscarchitecture.bb simply + collects the other recipes now. + +2009-08-06 20:25 schertz123456 + + * ., AUTHORS, COPYING, INSTALL, Makefile, README, ccid.bb, ccid.c, + ccid.h, usbstring.c, usbstring.h: Initial commit. + diff --git a/picc_to_pcsc/ChangeLog b/picc_to_pcsc/ChangeLog index e69de29..88d6e33 100644 --- a/picc_to_pcsc/ChangeLog +++ b/picc_to_pcsc/ChangeLog @@ -0,0 +1,25 @@ +2010-05-09 08:34 frankmorgner + + * configure.ac: be less restrictive in ./configure. better output + of configuration details + +2010-05-08 19:09 frankmorgner + + * ChangeLog, Makefile.am, NEWS, configure.ac, picc.py, + picc_to_pcsc.c, picc_to_pcsc.h, src, src/Makefile.am, + src/picc.py, src/picc_to_pcsc.c, src/picc_to_pcsc.h: switched to + autotools + +2010-01-05 14:17 frankmorgner + + * Makefile: Added target clean + +2010-01-05 14:04 frankmorgner + + * Makefile, picc_to_pcsc.c: Fixed Makefile, removed warning. + +2010-01-04 19:56 frankmorgner + + * ., AUTHORS, COPYING, Makefile, README, picc.py, picc_to_pcsc.c, + picc_to_pcsc.h: Added picc_to_pcsc. + diff --git a/virtualsmartcard/ChangeLog b/virtualsmartcard/ChangeLog index e69de29..a88b3f8 100644 --- a/virtualsmartcard/ChangeLog +++ b/virtualsmartcard/ChangeLog @@ -0,0 +1,139 @@ +2010-05-26 22:51 frankmorgner + + * src/vpcd/Makefile.am: bugfix: using libtool for installation + +2010-05-09 08:34 frankmorgner + + * configure.ac, src/vpcd/Makefile.am: be less restrictive in + ./configure. better output of configuration details + +2010-05-08 21:03 frankmorgner + + * configure.ac, src/vpicc/Makefile.am: added missing files + +2010-05-08 20:58 frankmorgner + + * ChangeLog, INSTALL, Makefile, Makefile.am, NEWS, m4, src, + src/Makefile.am, src/vpcd, src/vpcd/Makefile.am, + src/vpcd/reader.conf.in, src/vpicc, + src/vpicc/virtualsmartcard.in, vpcd, vpicc: switched to autotools + +2010-05-07 19:13 frankmorgner + + * Makefile: updated file references of install target + +2010-02-02 14:29 frankmorgner + + * vpcd/vpcd.c: moved operations for opening sockets into separate + functions + +2010-02-01 16:40 oepen + + * vpicc/CardGenerator.py, vpicc/VirtualSmartcard.py, vpicc/jp2.jpg: + - 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 + +2010-01-30 18:51 oepen + + * vpicc/CardGenerator.py, vpicc/CryptoUtils.py, + vpicc/SmartcardSAM.py, vpicc/VirtualSmartcard.py, + vpicc/testconfig.mf, vpicc/testconfig.sam: 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 + + - Moved all the functionality to create cards (especially the + pre-initialized filesystems for each card type) to the new file + GenerateCards.py + - Added minimal command line based interface to GenerateCards.py + to generate customized cards and store them in a file + - Removed default sam and mf files (testconfig.mf and + testconfig.sam) + +2010-01-25 17:18 oepen + + * Makefile: Small Makefile fix: Added default target to + virtualsmartcard/Makefile + +2010-01-23 15:59 oepen + + * vpicc/SmartcardSAM.py: PassportSAM: MRZ for key derivation is now + read from MF instead of hard-encoding it in the code + +2010-01-23 15:06 oepen + + * vpicc/SmartcardSAM.py, vpicc/VirtualSmartcard.py: Changed + Passport testdata + +2010-01-13 21:33 frankmorgner + + * Makefile, vpcd/ifd.c, vpcd/vpcd.c, vpcd/vpcd.h, + vpicc/VirtualSmartcard.py: - 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 + +2010-01-10 22:53 frankmorgner + + * vpicc/VirtualSmartcard.py: bugfix + +2010-01-08 14:33 frankmorgner + + * vpicc/SmartcardFilesystem.py, vpicc/VirtualSmartcard.py: added + serial number to cryptoflex. opensc can read it. + +2010-01-08 00:07 frankmorgner + + * vpicc/SmartcardFilesystem.py: bugfix + +2010-01-07 22:57 frankmorgner + + * vpicc/VirtualSmartcard.py: bugfix + +2010-01-04 19:48 frankmorgner + + * virtualsmartcard.bb: Separated bitbake recipes. + vscarchitecture.bb simply collects the other recipes now. + +2009-11-25 06:45 frankmorgner + + * README: Added information about running virtualsmartcard. + +2009-08-22 08:01 frankmorgner + + * AUTHORS, COPYING, INSTALL, README, vpcd/vpcd.c, vpcd/vpcd.h, + vpicc/ConstantDefinitions.py, vpicc/CryptoUtils.py, + vpicc/SEutils.py, vpicc/SWutils.py, vpicc/SmartcardFilesystem.py, + vpicc/SmartcardSAM.py, vpicc/TLVutils.py, + vpicc/VirtualSmartcard.py, vpicc/utils.py: Added project + informations. + +2009-08-06 20:25 schertz123456 + + * ., Makefile, virtualsmartcard.bb, vpcd, vpcd/vpcd.c, vpcd/vpcd.h, + vpicc, vpicc/ConstantDefinitions.py, vpicc/CryptoUtils.py, + vpicc/SEutils.py, vpicc/SWutils.py, vpicc/SmartcardFilesystem.py, + vpicc/SmartcardSAM.py, vpicc/TLVutils.py, + vpicc/VirtualSmartcard.py, vpicc/jp2.jpg, vpicc/testconfig.mf, + vpicc/testconfig.sam, vpicc/utils.py: Initial commit. +