frankmorgner
21bf0cda9d
optimized makefile-targets
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@390 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-16 01:21:48 +00:00
frankmorgner
0a4782842b
- added customization via OPENSC_CONFIGURE
...
- changed information regarding opensc
- fixed pkg-config file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@389 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 10:43:52 +00:00
frankmorgner
da44cd7f86
- fixed problem when powering the card
...
- removed unused code that had to do with slot-complexity
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@387 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 00:35:52 +00:00
frankmorgner
19f8608712
supporting only one slot due to new opensc limitations
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@386 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-14 22:31:26 +00:00
frankmorgner
79dc468cc5
switched to opensc.0.12.0. note that this has some issues when linking against both libnpa and the opensc libraries at the same time. readme information would be usefull for this...
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@385 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-14 14:24:04 +00:00
frankmorgner
4ea57cde33
type of secret can be specified via command line
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@383 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-13 10:29:25 +00:00
frankmorgner
40d2c10333
fixed build with pcsc-lite
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@377 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-10 18:50:21 +00:00
frankmorgner
d4be5cfad1
Fix build with visual studio
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@376 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-10 18:45:04 +00:00
frankmorgner
d286f16ef7
adapted to the latest changes of libpace
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@375 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-08 15:11:26 +00:00
frankmorgner
a729290836
added missing file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@367 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-07 15:50:59 +00:00
frankmorgner
c0dfd5ff7e
linking against libopensc not easily possible. we need to remove this dependancy
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@366 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-07 15:48:33 +00:00
frankmorgner
96881e3f2d
fixed compiling for windows
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@365 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-22 09:48:43 +00:00
frankmorgner
bad4d94312
removed/replaced remains of libpace
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@361 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-15 09:27:05 +00:00
frankmorgner
915b2fe5f2
extracted libpace from ccid
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@359 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-14 20:34:52 +00:00
frankmorgner
8743b5030b
- fixed: pace-tool dumped wrong apdu buffer
...
- updated documentation on opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@346 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-28 09:10:38 +00:00
frankmorgner
c80c209a98
- cleaned (debug) output
...
- fixed error in interactive mode of pace-tool
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@345 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 19:05:14 +00:00
frankmorgner
c253da05b2
pace card supports extended lengths. note that we really need a card driver which covers that
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@344 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 14:50:38 +00:00
frankmorgner
702644778d
plaintext apdus to be sent via SM can now be read from a file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@343 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 12:11:08 +00:00
frankmorgner
898fa7885a
unified usage of sizeof. found some potential memory corruptions with that.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@341 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 18:41:13 +00:00
frankmorgner
a233d19691
- fixed memory corruption on card initialization
...
- fixed compilation warning
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@340 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 13:47:23 +00:00
frankmorgner
1b34e5e66b
added workaround for ausweisapp
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@339 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-22 08:31:57 +00:00
frankmorgner
c7a33e9066
fixed formating of ReadersPACECapabilities result. errors were due to changes of r284
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@338 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-21 18:54:16 +00:00
frankmorgner
171bfe8a1a
- enable extended length apdu for all cards that have an ef.cardaccess
...
- set the bit for esign by default (for testing only)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@337 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-21 12:45:13 +00:00
frankmorgner
13a2f7916f
- moved OpenSC-related functions to scutil
...
- added make-target for flawfinder (to be used with vim)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@334 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-15 16:59:53 +00:00
frankmorgner
5f9aa5704e
added command line option for gadgetfs mountpoint
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@331 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-14 05:00:32 +00:00
frankmorgner
aca3559290
added argument checking
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@317 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 12:02:25 +00:00
frankmorgner
a552631872
reviewed files with flawfinder
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@316 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 11:56:18 +00:00
frankmorgner
480cf4d722
- cats-test and picc_to_pcsc are using the same pcsc abstraction. this reduces the code to maintain
...
- partial rewrite of picc_to_pcsc to reduce memory leaks and add fault tolerancy
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@300 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-07 10:41:45 +00:00
frankmorgner
320cca0731
prepare to merge with pcsc_to_picc
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@299 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-06 20:01:44 +00:00
frankmorgner
837d952bb9
using strtol instead of sscanf
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@296 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 13:54:58 +00:00
frankmorgner
35ce942354
- added command line parameter for USB iInterface, use it to fool AusweisApp
...
- fixed population of event notification status
- dont initialize serial number, when given in input
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@295 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 12:04:06 +00:00
frankmorgner
8e9557d97b
only using doxygen description as readme
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@293 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 05:52:10 +00:00
frankmorgner
84679e5b5a
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@291 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-01 20:46:40 +00:00
frankmorgner
f080a22d8a
sending description about the running configuration via usb descriptor
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@290 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-30 20:45:16 +00:00
frankmorgner
fff32978ce
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@289 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-30 11:16:12 +00:00
frankmorgner
5437b3d61a
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@288 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-29 21:01:24 +00:00
frankmorgner
972575f84a
adapted to the latest changes of OpenPACE
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@287 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-29 12:57:16 +00:00
frankmorgner
ba1e110d8d
forgot writeback to RxBuffer in ccid driver
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@285 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-28 09:10:20 +00:00
frankmorgner
ae83880a16
added support for dynamic pace result generation to be transmitted to the pc/sc client. note that other ccid patches are not up to date
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@284 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 20:48:43 +00:00
frankmorgner
6f46d10136
corrected indent and title of CHAT and certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@283 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 10:58:33 +00:00
frankmorgner
3d5e8af4f3
added support for printing and transmitting chat
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@282 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 09:04:09 +00:00
frankmorgner
37c27c4afe
print certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@281 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 08:35:19 +00:00
frankmorgner
e2f07e6a33
working on support for certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@280 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 05:18:32 +00:00
frankmorgner
e4bee2861e
deactivate emulators sm context, when host sends sm protected apdus
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@279 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-25 05:20:20 +00:00
frankmorgner
d195ea474a
- finished simulation of ta/ca
...
- fixed parsing case 4 extended apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@278 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-24 14:07:47 +00:00
frankmorgner
32ce7352ef
- fixed pace input parameters of cats-tool
...
- fixed apdu of simulation of ta/ca (cats-tool)
- fixed padding removal (sm)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@277 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-24 12:22:47 +00:00
frankmorgner
a87fd00b88
- added le/lc to apdu debugging
...
- fixed byte order problem for PC_to_RDR_XfrBlock
- cats-tool: added simulation of part of TA/CA
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@275 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 19:36:20 +00:00
frankmorgner
f6d92dfece
- fixed compiling errors
...
- adjusted secure messaging to support extended length apdus
- card has to support extended length, this is hardcoded at the moment, but should better be done in the appropriate card driver
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@274 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 12:56:34 +00:00
frankmorgner
6bfdafde8a
added debugging of invalid apdus
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@273 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 11:12:08 +00:00
frankmorgner
efd0ad70af
adatpted to the latest changes of OpenPACE. EstablishPACEChannel now fully functional
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@272 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 09:03:58 +00:00