Frank Morgner
1af188e2b2
fixed library name in documentation
2015-03-14 01:52:04 +01:00
Frank Morgner
a515be58f9
export vicc_connect
2015-03-14 00:53:55 +01:00
Frank Morgner
03e4a2d64e
removed old comments
2015-03-14 00:53:15 +01:00
Frank Morgner
7f986c3407
fixed compiler warning
2015-03-14 00:20:46 +01:00
Frank Morgner
c7ca4bad48
handle null pointer exceptions in libnfc
2015-03-13 22:29:58 +01:00
Frank Morgner
f5e319be68
fixed error handling if no card found
2015-03-13 21:16:03 +01:00
Frank Morgner
e52a9a5bbc
added documentation about android smart card emulator
2015-03-11 00:44:21 +01:00
Frank Morgner
52bbf7b3cd
populate OpenPGP and OATH applet
2015-03-10 22:24:15 +01:00
Frank Morgner
dae12a816a
Implemented Android Smart Card Emulator
...
Includes jCardSim to emulate the following Java Card Applets in
Android's host card emulation:
- jCardSim Team's Hello World Applet
- Philip Wendland's ISO Applet
- Yubico's OpenPGP Applet
- Yubico's OATH Applet
2015-03-10 02:54:33 +01:00
Frank Morgner
ccdcee36b6
fixed undefined reference to strlcpy
2015-02-28 00:17:37 +01:00
Frank Morgner
04fcf436ea
moved example use cases to the sub-components
2015-02-27 23:36:38 +01:00
Frank Morgner
78d181017b
added note about possible Android usage
2015-02-27 23:34:50 +01:00
Frank Morgner
319825fe78
updated OpenSC
2015-02-27 23:33:25 +01:00
Frank Morgner
1861f1ed61
we require libcrypto, not libssl
2015-02-27 08:11:42 +01:00
Frank Morgner
a5131ba0da
fixed missing include
2015-02-22 22:18:02 +01:00
Frank Morgner
5e6a9d43c3
updated app version
2015-02-20 00:52:40 +01:00
Frank Morgner
a76a859a92
fixed loading file image
...
partially fixes #41
2015-02-08 20:41:07 +01:00
Frank Morgner
832e4110f9
close socket on error
2015-02-02 19:26:52 +01:00
Frank Morgner
1449699908
clearification on QES
2015-02-02 17:36:02 +01:00
Frank Morgner
676bc3707a
save reference date/community id in the local object, not the class
...
- mapps a truncated brith date YYYYMM to YYYYMM31
- uses python magic to shorten the code
- closes #38
2015-01-30 22:58:55 +01:00
psytester
702e248a48
Verify implemented for Age, DocumentValidity and PlaceVerification checks
...
In case of AgeVerification , DocumentValidity and PlaceVerification checks, the return code is not longer hard coded.
Based on given reference values a check is does against given DG3, DG8 and DG18 values
Still ToDo is incomplete DG8 BirthDate in Format YYYY-XX where the day is missing
2015-01-30 22:58:55 +01:00
psytester
c4790e02b3
provide CommunityID as hex string
...
CommunityID is taken now from default value or dataset file in readable digit-string Format.
Benefits:
- internal "NotOnChip" function is now working for DG18
- The value is readable ;-)
2015-01-30 22:58:31 +01:00
Frank Morgner
38d356d55b
added coverity scan badge
2015-01-28 23:49:16 +01:00
Frank Morgner
1c104cddca
Merge branch 'master' into coverity_scan
2015-01-28 23:12:07 +01:00
Frank Morgner
46024daf22
close socket on error
2015-01-28 23:07:30 +01:00
Frank Morgner
401ce8bcfb
fixed printf arg type
2015-01-28 23:05:57 +01:00
Frank Morgner
1ebd92f8b9
another fixup
2015-01-27 05:03:09 +01:00
Frank Morgner
8187dbbb15
an other fixup
2015-01-26 22:04:26 +01:00
Frank Morgner
e77fecd601
(hopefully) fixed travis-ci with coverity-scan
2015-01-26 22:00:23 +01:00
Frank Morgner
b7b82c0b0e
fixed check for pin length
2015-01-25 04:10:36 +01:00
Frank Morgner
e1443e6357
fixed unused check
2015-01-25 04:08:00 +01:00
Frank Morgner
feebfe7a74
fixed potentially dereferencing null pointer
2015-01-25 04:00:31 +01:00
Frank Morgner
f03760e27e
suppress warning of unclosed fd
2015-01-25 04:00:31 +01:00
Frank Morgner
94dbdd5405
fixed freeing context on exit
2015-01-25 04:00:31 +01:00
Frank Morgner
ff0aaca65b
fixed closing socket on error
2015-01-25 04:00:31 +01:00
Frank Morgner
86e778ff2c
fixed memory leak
2015-01-25 04:00:31 +01:00
Frank Morgner
da025bf0bf
removed unused check
2015-01-25 04:00:31 +01:00
Frank Morgner
27ef5d59d5
fixed handling of bad arguments
2015-01-25 03:30:10 +01:00
Frank Morgner
444b14c8ca
fixed bad pointer arithmetic
2015-01-25 03:27:33 +01:00
Frank Morgner
f92d750b39
fixed uninitialized value
2015-01-25 03:27:33 +01:00
Frank Morgner
740ad86e51
fixed handling of missing st keys
2015-01-25 03:21:21 +01:00
Frank Morgner
afe71f59b7
fixed handling max pin length
2015-01-25 03:18:34 +01:00
Frank Morgner
685443be04
added coverty scan to travis.yml
2015-01-21 09:26:58 +01:00
Frank Morgner
20c88ac8f4
Merge pull request #36 from d0/master
...
Extend CardGenerator unittests
2015-01-19 23:41:11 +01:00
Dominik
4f6c4749f9
Merge remote-tracking branch 'upstream/master'
2015-01-18 19:29:34 +01:00
Dominik
0b52e4a184
Use a relative path instead of a symlink so that the unit test works on windows
2015-01-18 19:03:13 +01:00
Frank Morgner
d89385c3e1
added support for QES with German ID card
...
libnpa: requires an ID card that is initialized for QES. Today, this
means you need to register at sign-me.
virtualsmartcard: We don't actually create a real signature, because
PyCrypto can't handle ECDSA, let alone brainpoolP256r1. We only return a
64 byte buffer.
2015-01-18 02:24:18 +01:00
Frank Morgner
ff71e301db
fixed handling of missing le in sm apdu
2015-01-18 01:04:16 +01:00
Dominik
482df53e4c
Extend CardGenerator unittests
...
There are now tests for most currently implemented card types. Tests for
new card types can easily be added by inheriting from the basic test
class. The ePass card type is currently missing from the tests because
the CardGenerator for this class currently only works with user
interaction.
2015-01-10 12:19:45 +01:00
Frank Morgner
a35f0295c6
Merge pull request #35 from d0/master
...
Minor improvements to CardGenerator and the corresponding unit test
2015-01-08 12:12:02 +01:00