From: Raphael Michel Date: Sun, 22 Dec 2019 16:22:23 +0000 (+0100) Subject: Stop sending HKTAN in HKTAB X-Git-Tag: v3.0.0~2^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e62b9f50f99430583abc339ac64a636ac414c12;p=thirdparty%2Fpython-fints.git Stop sending HKTAN in HKTAB --- diff --git a/fints/client.py b/fints/client.py index 6adee64..a381e4a 100644 --- a/fints/client.py +++ b/fints/client.py @@ -1342,14 +1342,15 @@ class FinTS3PinTanClient(FinTS3Client): hktab = self._find_highest_supported_command(HKTAB4, HKTAB5) seg = hktab( - tan_media_type = media_type, - tan_media_class = str(media_class), + tan_media_type=media_type, + tan_media_class=str(media_class), ) - tan_seg = self._get_tan_segment(seg, '4') + # The specification says we should send a dummy HKTAN object but apparently it seems to do more harm than + # good. try: self._bootstrap_mode = True - response = dialog.send(seg, tan_seg) + response = dialog.send(seg) finally: self._bootstrap_mode = False