Commit graph

135 commits

Author SHA1 Message Date
917019f9f8
Revert "More Features! SSL, PreAuthorisation and PartialCancellation And last_printout fix" 2020-07-22 13:38:52 +02:00
aee6f4d9a5
Merge pull request #6 from kaisims/preAuth
More Features! SSL, PreAuthorisation and PartialCancellation And last_printout fix
2020-07-22 13:33:54 +02:00
Kai Röschinger
72a1b63150 Add Abort Command to ecr 2020-07-22 03:58:14 +02:00
Kai Röschinger
12f3f70088 Add PreAuthorisation and PartialCancellation 2020-07-22 03:58:14 +02:00
Kai Röschinger
93c7a53769 Add tlv to allowed bitmaps for Registration 2020-07-22 03:58:14 +02:00
Kai Röschinger
4a96ed111c Fix last_printout 2020-07-22 03:58:14 +02:00
Kai Röschinger
9de408f7a0 Add SSL Encryption 2020-07-22 03:58:14 +02:00
6526206431
Fix flake8 errors 2019-09-01 12:12:30 +02:00
8168799fc7
Flake8 belongs to travis 2019-09-01 12:11:27 +02:00
492de4bcd8
Ditching unnecessary requirements 2019-09-01 12:11:27 +02:00
Henryk Plötz
20a0124255 Add test for ReadCard, add CloseCardSession command 2019-08-23 15:43:49 +02:00
Henryk Plötz
9a0e9c7d64 Fix WriteFileBase for new logging/transmission API 2019-07-10 15:57:03 +02:00
Henryk Plötz
24538d496a Re-do logging again 2019-07-09 17:13:51 +02:00
Henryk Plötz
b642a6a886 Redo logging, change API boundary between transmission and transport 2019-07-09 02:43:44 +02:00
Henryk Plötz
73d7b1181f Redo logging 2019-07-09 01:39:33 +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
73783a9eec Implement file upload to terminal 2019-07-08 16:56:39 +02:00
Henryk Plötz
e70bea78de Improve performance. Allow file upload 2019-07-05 14:14:55 +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
28eaf8da2d wait_for_completion after setting terminal id 2019-07-04 22:35:09 +02:00
Henryk Plötz
0d55b72797 Add SetTerminalID command 2019-07-04 21:21:37 +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
b97db0ca88 Fix TLVItem.__repr__ 2019-07-02 14:40:07 +02:00
Henryk Plötz
f9af39fe5e Add FEIG cVEND TLV vendor quirk 2019-07-02 14:37:58 +02:00
Henryk Plötz
3e6d8b5cf5 Fix Context.get 2019-07-02 14:37:38 +02:00
Henryk Plötz
8636f8017d Add ChangePTConfiguration packet 2019-07-02 14:37:22 +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
166853a029 Add a currency code data type 2019-06-30 03:58:24 +02:00
Henryk Plötz
a939374705 Implement Enum flag field types, remove flag construction helpers 2019-06-30 03:34:24 +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
782e59df5b Temporary fix EOD packet processing 2019-06-29 16:51:50 +02:00
Henryk Plötz
d00914258f Fix TLV output 2019-06-29 16:51:30 +02:00
Henryk Plötz
5b15fcaefc Fix long packets 2019-06-29 13:31:44 +02:00
Henryk Plötz
fe491571c1 Consolidate payment_type/status_byte/card_type as status_byte 2019-06-29 12:48:25 +02:00
Henryk Plötz
3cac36262e Add "get()" helper 2019-06-29 12:48:18 +02:00
Henryk Plötz
05fde9b351 Nicer TLV tag output 2019-06-29 12:45:32 +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
660a404bc9 Make parsing/serializing in socket protocol work 2019-06-29 11:34:11 +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