Commit Graph

169 Commits

Author SHA1 Message Date
oepen
7411c63b47 -Fixed patches so bitbake can apply them
-Added patches to bitbake recipes


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@169 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 15:04:27 +00:00
frankmorgner
3987f7acad - better (or at least some) signal handling
- always checking the existance of a card, when requested


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@168 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 12:20:54 +00:00
frankmorgner
aa539552b7 removed the last references of references to ifdhandler functions v1.0
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@167 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 07:10:34 +00:00
frankmorgner
7c98db04f6 - restructured handling of interrupt thread to kill the thread along with all
the others
- fixed error on input parameter parsing when interrupt is activated
- completed interrupt signaling for new/removed cards


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@166 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 21:29:43 +00:00
oepen
852975792b Fixed bitbake recipe for virtualsmartcard
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@165 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 20:47:31 +00:00
oepen
a1766913a3 -Fixed two unhandled exceptions
-Removed some trailing whitespaces


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@164 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 18:16:07 +00:00
frankmorgner
0b03fced4a - changed vpcd driver to use ifdhandler api v 3.0, since
support for v 1.0 has been dropped as of pcsc-lite 1.6
- fixed initialization error of vpcd due to uninitialized value
- changed virtual smartcard to use todays python syntax


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@163 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 14:06:07 +00:00
frankmorgner
34cbb09b80 forcing empty parameter list with function(void) instead of unspecified parameter list with function()
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@162 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 09:45:34 +00:00
frankmorgner
6921cae6d9 - made debugging of openssl errors human readable
- removed debugging of return values, added human readable messages instead


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@161 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-21 16:17:13 +00:00
frankmorgner
7adff2aee7 added patches for newer versions of ccid and pcsc-lite
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@160 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-20 20:15:27 +00:00
frankmorgner
28bea2815c added patches for distribution packages of ccid and pcsc-lite
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@159 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-20 19:52:45 +00:00
oepen
49efd686ee New recipes for the latest versions of pcsc-lite and ccid
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@158 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-20 18:29:56 +00:00
frankmorgner
2b8b14f994 - pace-tool: fixed length of input buffer for EstablishPACEChannel
- added debug messages to pace.c


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@157 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-19 18:27:27 +00:00
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
oepen
0e2558b0cc Adjusted layout for the OpenMoko
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@151 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-14 08:06:12 +00:00
oepen
82ddad7214 Stop polling for ATR, when pace-tool is running
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@150 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-14 07:47:43 +00:00
oepen
4c937a3d75 Bumped version number
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@149 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-14 06:23:13 +00:00
oepen
f5b2f54b2b New version of pace-gui indicates wether or not a suitable card was found.
This works by polling the card every second via opensc-tool --atr
The radio buttons have been removed to have enough space for the new label


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@148 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-14 06:21:22 +00:00
oepen
c7c2f7d75a Fixed recipes and added patch to include our packages in SHR minimal image
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@147 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-11 22:10:53 +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
oepen
a1fdced1f5 -Fixed pace-gui.desktop.in so it works on the OpenMoko as well
-Bumped svn revision in pace-gui.bb


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@145 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-10 09:44:41 +00:00
oepen
344946daf7 Added missing file to version control
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@144 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-10 08:54:18 +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
a86e0f3922 added missing files for distribution packages. fixed installation when no serialdropdir is given.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@142 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-09 15:36:36 +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
oepen
03f3c09bb8 Better error handling
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@140 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 12:58:05 +00:00
oepen
f1de87e9bc Added installation of logo and desktop entry
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@139 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 11:31:55 +00:00
oepen
73d1a30cbf Initial release of bitbake recipe for pace-gui
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@138 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 09:13:58 +00:00
oepen
1259db1584 git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@137 96b47cad-a561-4643-ad3b-153ac7d7599c 2010-06-08 08:59:39 +00:00
oepen
25146f0397 First working version of autotools scripts
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@136 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 08:08:35 +00:00
oepen
275514919d Working on autotools scripts
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@135 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 07:26:23 +00:00
oepen
02183f3aef Bugfixing autotools scripts
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@134 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-07 15:03:39 +00:00
oepen
08cef866f7 Initial release of pace-gui, a small GUI for pace-tool
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@133 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-07 14:50:22 +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
oepen
3e64d5516d Bumb svn revision in ccid-tool.bb
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@126 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-02 19:40:55 +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
oepen
ce36ec9f4c Bump svn revision in ccid-tool.bb
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@120 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-01 19:32:48 +00:00