diff options
| author | J08nY | 2021-04-10 21:25:47 +0200 |
|---|---|---|
| committer | J08nY | 2021-04-10 21:25:47 +0200 |
| commit | a2e01e037fcde3e63571633e94156e324a4f2299 (patch) | |
| tree | d8673d569924d3241b49808d4e96c7eb062b891a /pyecsca/sca/target/ISO7816.py | |
| parent | b76ec0890e4cf997ce5a0b4494722931094683f7 (diff) | |
| download | pyecsca-a2e01e037fcde3e63571633e94156e324a4f2299.tar.gz pyecsca-a2e01e037fcde3e63571633e94156e324a4f2299.tar.zst pyecsca-a2e01e037fcde3e63571633e94156e324a4f2299.zip | |
Implement fixes from DeepSource.
Diffstat (limited to 'pyecsca/sca/target/ISO7816.py')
| -rw-r--r-- | pyecsca/sca/target/ISO7816.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyecsca/sca/target/ISO7816.py b/pyecsca/sca/target/ISO7816.py index 1a9c8b8..896cb62 100644 --- a/pyecsca/sca/target/ISO7816.py +++ b/pyecsca/sca/target/ISO7816.py @@ -96,7 +96,7 @@ class ISO7816Target(Target, ABC): @abstractmethod def atr(self) -> bytes: """The ATR (Answer To Reset) of the target.""" - ... + raise NotImplementedError @abstractmethod def select(self, aid: bytes) -> bool: @@ -106,7 +106,7 @@ class ISO7816Target(Target, ABC): :param aid: The AID of the applet to select. :return: Whether the selection was successful. """ - ... + raise NotImplementedError @abstractmethod def send_apdu(self, apdu: CommandAPDU) -> ResponseAPDU: @@ -116,7 +116,7 @@ class ISO7816Target(Target, ABC): :param apdu: The APDU to send. :return: The response. """ - ... + raise NotImplementedError @public |
