Fix cast of APDU res to byte array (aka string)
This commit is contained in:
@@ -131,4 +131,4 @@ class RelayOS(SmartcardOS):
|
|||||||
rapdu = rapdu + [sw1, sw2]
|
rapdu = rapdu + [sw1, sw2]
|
||||||
|
|
||||||
# return the response APDU as string
|
# return the response APDU as string
|
||||||
return "".join([bytes(b) for b in rapdu])
|
return "".join(map(chr, rapdu))
|
||||||
|
|||||||
Reference in New Issue
Block a user