Project

General

Profile

Actions

Bug #6322

open

ATR type annotation

Added by merlinchlosta 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
01/03/2024
Due date:
% Done:

0%

Spec Reference:

Description

There's a small mixup in the ATR type annotations (Hexstr vs. List[int]) in PcscSimLink:

    def get_atr(self) -> Hexstr:
        return self._con.getATR()

pyscard actually returns List[int] for an ATR. Depending code seems to convert using i2h.
SerialSimLink mimics the behavior (writing self._atr as List[int] in _reset_card).

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)