Commit graph

26 commits

Author SHA1 Message Date
Henryk Plötz
20a0124255 Add test for ReadCard, add CloseCardSession command 2019-08-23 15:43:49 +02:00
Henryk Plötz
1d621911fa Make sure that WriteFiles is not used in parsing 2019-07-08 17:21:32 +02:00
Henryk Plötz
2fa18b11e8 Add append_ API allowing duplicate Tags in a container 2019-07-05 01:19:55 +02:00
Henryk Plötz
518fc7f04c Some more tag types 2019-07-04 20:09:45 +02:00
Henryk Plötz
82d01e18bf Improve TLV repr 2019-07-03 19:22:31 +02:00
Henryk Plötz
234147f4a8 Change name of TLVItem to TLV 2019-07-03 18:40:13 +02:00
Henryk Plötz
1f3bc5fcb2 Properly decode FEIG extended error messages
Some unfinished code paths
2019-07-03 11:49:11 +02:00
Henryk Plötz
57cc50bc3f Cleaner rewrite of TLV infrastructure 2019-07-02 14:02:05 +02:00
Henryk Plötz
374de48769 Add infrastructure to handle text encoding
(Encoding for text fields may be set in local context)
2019-07-02 00:17:11 +02:00
Henryk Plötz
1687ecf2ff Add tools to mange (thread-local) context information 2019-07-01 22:25:33 +02:00
Henryk Plötz
6e28db0f6c Allow easier access to TLV items and TLV containers.
All tags exist implicitly (are created on access), but will only be realized when assigned a value
2019-06-30 21:39:02 +02:00
Henryk Plötz
ad28f4abcf Add data content validation 2019-06-30 03:02:28 +02:00
Henryk Plötz
6a052e3caf Improve test coverage 2019-06-30 01:44:10 +02:00
Henryk Plötz
b066948705 Add OVERRIDE_BITMAPS function 2019-06-29 19:40:23 +02:00
Henryk Plötz
79302c5153 Add a raw bytes field type 2019-06-29 19:29:32 +02:00
Henryk Plötz
5b15fcaefc Fix long packets 2019-06-29 13:31:44 +02:00
Henryk Plötz
08753a98f7 Fix parsing of LLLVar 2019-06-29 12:44:53 +02:00
Henryk Plötz
3bbb02e2cd Fix parsing of the SUPER CURSED Completion packet by breaking the parser some more
Will now 'detect' optional fields by retrying the parse without the field
2019-06-29 11:55:36 +02:00
Henryk Plötz
48aa86598e Completely revamp the APDU parser and serializer
Breaks API, but all tests are ok now (except for the super cursed completion packet)
2019-06-29 00:42:41 +02:00
Henryk Plötz
db35a2b428 Add roundtrip parsing-serializing-compare test (fails) 2019-06-27 19:59:01 +02:00
170cb736cb
Fixing tests 2018-04-22 17:35:27 +02:00
1bf32ca641
Adjusting test 2018-04-22 16:57:22 +02:00
3da56fd004
More PEP8 standardisation 2018-04-22 16:27:27 +02:00
07f675f5d3
AutoPEP8 all the things 2018-04-22 03:32:05 +02:00
900e94cb30
MOAR PEP8 2018-04-22 03:29:30 +02:00
53535b2296
Namespacing 2018-04-22 03:07:07 +02:00