oepen
b5dd649318
Explicitly enable PC/SC support in the OpenSC recipe
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@116 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-31 18:08:50 +00:00
oepen
f7f7e2d0b8
Added bitbake recipe for OpenSC. Needs local copy of le0.patch.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@115 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-29 21:44:49 +00:00
oepen
e86a3b94d0
Added bitbake recipes for the latest versions of pcsc-lite and ccid
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@114 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-29 20:58:28 +00:00
oepen
21167cc8f9
Added a bitbake recipe for the latest version of ccid including pace-tool. WARNING: Depends on recipes that are not part of openembedded (yet), like opensc and OpenSSL with OpenPACE patch.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@113 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-28 15:34:57 +00:00
frankmorgner
1c53096603
bugfix: using libtool for installation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@112 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-26 22:51:19 +00:00
frankmorgner
7fd92afc4f
removed some messages, when less verbose. fixed little endian problem when parsing input buffer of EstablishPACEChannel.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@111 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-26 20:32:29 +00:00
frankmorgner
34b91882da
fixed class byte generation for sm apdu
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@110 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 19:26:16 +00:00
frankmorgner
72e4434fb4
- sm_transmit_apdu doesn't check SWs anymore
...
- not throwing error for sw=63XX in mse:set at
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@109 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 18:26:56 +00:00
frankmorgner
894d5be379
- 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.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@108 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 08:17:38 +00:00
oepen
d0a6668f58
Changed EXPLICIT tagging of CHAT and auxiliary authenticated data to IMPLICIT tagging
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@107 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-18 11:39:25 +00:00
frankmorgner
c26c4273a9
- 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
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@106 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-16 18:53:05 +00:00
frankmorgner
496cc54c6f
be less restrictive in ./configure. better output of configuration details
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@105 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-09 08:34:16 +00:00
frankmorgner
6ee4b9d8db
added missing files
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@104 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 21:03:17 +00:00
frankmorgner
0b60b64cb5
switched to autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@103 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 20:58:58 +00:00
frankmorgner
53cf8b684c
switched to autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@102 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 19:09:45 +00:00
frankmorgner
5ec26dd0be
added maintainer
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@101 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 18:36:35 +00:00
frankmorgner
7afe91373f
moved bin_log to scutil
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@100 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 14:44:19 +00:00
frankmorgner
0b86045117
updated informations about pace-tool
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@99 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 07:19:52 +00:00
frankmorgner
62d58a6168
corrected configure output
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@98 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 21:27:20 +00:00
frankmorgner
1dcb95b3c3
updated file references of install target
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@97 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 19:13:30 +00:00
frankmorgner
846ee78840
removed unmodified file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@96 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 19:03:32 +00:00
frankmorgner
75b4bda661
added _essential_ missing file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@95 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 18:02:25 +00:00
frankmorgner
0f26319a34
added missing file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@94 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 14:30:19 +00:00
frankmorgner
e0cf5e270f
fixed include in pace.c. switched to autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@93 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 11:50:54 +00:00
frankmorgner
7649e582a1
split up utils into stuff for program and sc handling
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@92 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-05 14:38:04 +00:00
frankmorgner
fd6d201536
cleaned up pace.c and moved test_pace to pace-tool.c
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@91 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-04 21:01:40 +00:00
frankmorgner
193e93ef5f
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.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@90 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-04 20:16:06 +00:00
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
fcfbca19d7
bugfix: initializing apdu in pace_gen_auth. bin_log now checks input data.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@88 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-04 08:07:20 +00:00
frankmorgner
93622f6486
changed length of read binary apdu to support acr 122
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@87 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-04 07:57:13 +00:00
frankmorgner
6332016b46
put static pace functionality into the new program pace-tool
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@86 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-03 19:52:41 +00:00
frankmorgner
52626eb374
the number of remaining retries is a warning from the card, not a fatal error
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@85 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-03 13:46:44 +00:00
frankmorgner
4ebf93e51b
using proper type for getline result
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@84 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-29 07:33:45 +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
576aaca098
updated instructions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@82 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-27 20:02:31 +00:00
frankmorgner
fdc400b911
- 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
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@81 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-27 20:00:42 +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
835484a8c2
improved build process
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@79 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-16 20:37:34 +00:00
frankmorgner
3db1a59a19
improved option parsing
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@78 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-16 18:18:29 +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
5b6496a6c6
added header file for pace library functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@76 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-15 20:03:09 +00:00
frankmorgner
7e0b4c1594
- 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 )
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@75 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-15 18:37:03 +00:00
frankmorgner
f0730c3626
updated information
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@74 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-15 07:41:15 +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
b798a6e3a2
- completed mac verification. sm with pace is now fully functional.
...
- made pace_test more fault tolerant.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@72 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-13 21:06:17 +00:00
frankmorgner
985590c3a8
- decryption of sm apdu now working. verification of mac still missing.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@71 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-12 21:22:39 +00:00
frankmorgner
535a2ea9f1
fixed various memory leaks and potential segfaults
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@70 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-12 19:54:43 +00:00
frankmorgner
d8ababbf96
- protocol nid in pace_sm_ctx is not needed any longer due to the changes of OpenPACE
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@69 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-12 14:26:23 +00:00
frankmorgner
f84d7f1752
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
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@68 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-12 14:04:08 +00:00
frankmorgner
835fa61102
- trying new apdu to reset retry counter in pace_test
...
- added pace wrapper for sm_transmit_apdu which automatically increments the ssc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@67 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-12 12:09:40 +00:00