parsedRAPDU: TypeError: argument of type 'bool' is not iterable
eBug opened this issue · 1 comments
eBug commented
Traceback (most recent call last):
File "/usr/local/bin/EMV-CAP", line 453, in <module>
if 0x80 in parsedRAPDU:
TypeError: argument of type 'bool' is not iterable
the referred line is:
if 0x80 in parsedRAPDU:
This happens after upgrading my system to Debian 11.
I'm no good at python, so I'm pretty clueless...
eBug commented
echoing parsedRAPDU shows:
[<TLV
Tag: 77 (response message template format 2)
application class
constructed
Length: 14 bytes
Value:
[<TLV
Tag: 82 (application interchange profile (AIP))
context specific class
primitive
Length: 2 bytes
Value: 3900
>, <TLV
Tag: 94 (application file locator)
context specific class
primitive
Length: 8 bytes
Value: 0801010110010501
>]
>]