Commit graph

17 commits

Author SHA1 Message Date
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
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
5b15fcaefc Fix long packets 2019-06-29 13:31:44 +02:00
Henryk Plötz
3cac36262e Add "get()" helper 2019-06-29 12:48:18 +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
77f1762ece Easier ByteField representation 2019-06-29 11:28:07 +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
3f6f49b8d4 Fix some bugs 2019-06-27 20:45:05 +02:00
Henryk Plötz
f506d69f86 Make order of arguments stable (kwargs wasn't sorted, at least on Python 3.5) 2019-06-27 17:38:49 +02:00
Henryk Plötz
fd7d7e7ef8 Swap endianness 2018-12-05 17:22:13 +01:00
23db1bd509
First working version of SocketTransport 2018-04-23 17:12:13 +02:00
79430085c8
More PEP8, initial TCP transport 2018-04-22 22:06:09 +02:00
170cb736cb
Fixing tests 2018-04-22 17:35:27 +02:00
3da56fd004
More PEP8 standardisation 2018-04-22 16:27:27 +02:00
900e94cb30
MOAR PEP8 2018-04-22 03:29:30 +02:00
53535b2296
Namespacing 2018-04-22 03:07:07 +02:00
Renamed from packets/apdu.py (Browse further)