frankmorgner
97e9cc2091
- added patch to distribution package
...
- changed debug_sc_result to be a define. this now gets the line of code correct
- added checking for input length to functions that parse the bulkin buffer
- fixed segfault for GetReadersPACECapabilities when no card is inserted
- added length checking of input for EstablishPACEChannel
- ccid-test: fixed pbSendBufferEstablish
- pcsclite_trunk.patch:
- fixed parsing of lengthCertificateDescription
- fixed wrong bPINOperation for pace capabilities and execute pace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@156 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-19 16:19:51 +00:00
frankmorgner
d931be9df0
- renamed Special PIN Verification/Capabilities to PACE Verification/Capabilities
...
- fixed PIN PACE support in ccid descriptor
- using uint16_t instead of WORD in PACE structures
- fixed lengthInputData to host byteorder
- fixed parsing input buffer of SCardControl with FEATURE_EXECUTE_PACE
- parsing input buffer for PACE verification and adjusting the byteorder
- added 30s timeout to for PACE verification
- triggering PACE via PC/SC now works although quite unstable
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@155 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-18 21:20:25 +00:00
frankmorgner
b495a3da9b
- ccid-emulator: propagating PACE capabilities to ccid descriptor of
...
- ccid-test: IOCTL_FEATURE_IFD_PIN_PROPERTIES is currently hardcoded and should
be replaced by the value from GET_FEATURE_REQUEST
- pcsclite_trunk.patch: fixed propagation of data from SCardControl to
SecurePINSpecialVerify and SecurePINSpecialCapabilities
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@154 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-18 16:27:34 +00:00
frankmorgner
0f460627e2
added ccid-test to evaluate the PACE features of ccid-emulator (untested)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@153 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-17 20:54:30 +00:00
frankmorgner
d40f91b505
added PACE features to ccid-emulator (untested)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@152 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-16 21:06:30 +00:00
frankmorgner
c64e9ac527
- implemented passing a CHAT to the card.
...
- note that the type PACE_CHAT should be integrated into OpenPACE
- added parameters for passing CHAT and certificate description to pace-tool
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@146 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-10 11:14:39 +00:00
frankmorgner
6b5c0f692d
renamed ccid to ccid-emulator to avoid conflicts with libccid
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@143 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-09 15:45:20 +00:00
frankmorgner
9f3caeffb1
added missing files for distribution packages
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@141 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-09 15:28:32 +00:00
frankmorgner
0eb3279e58
updated checksums, install files for recipes. updated log files for 0.6.1
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@132 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-05 22:10:45 +00:00
frankmorgner
e02e2abdfb
- 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
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@131 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-05 14:34:50 +00:00
frankmorgner
c88e4892ac
fixed uninitialized pointer which caused segfault on decryption.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@130 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-04 21:34:25 +00:00
frankmorgner
ee1a009585
fixed segfault if ef.cardaccess is not readable
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@129 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-04 19:05:09 +00:00
frankmorgner
bfcd6dafbb
added error messages
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@128 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-03 22:17:18 +00:00
frankmorgner
dad03da87b
bugfix for conversion of hex to binary for interactive mode
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@127 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-03 21:34:09 +00:00
frankmorgner
e0cf0d0d05
added information about the environment variables used
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@125 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 13:16:35 +00:00
frankmorgner
047c3b206c
pace-tool can now read secrets from environment variables
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@124 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 11:39:43 +00:00
frankmorgner
975e8cb4d3
made pin puk can or mrz an optional command line argument
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@123 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 11:20:45 +00:00
frankmorgner
646e49ff1c
fixed precision of time measurement
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@122 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 10:50:31 +00:00
frankmorgner
c772b7444a
added time measurement for a PACE run
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@121 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 10:43:28 +00:00
frankmorgner
283a04dec3
establish pace channel and exit, when no further commandline option is given
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@119 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-01 17:44:04 +00:00
frankmorgner
7a51213df4
- added switch to enable apdu translating (disabled by default)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@118 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-01 14:52:30 +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
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
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