aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/sca/target/ISO7816.py
diff options
context:
space:
mode:
authorJ08nY2021-04-10 21:25:47 +0200
committerJ08nY2021-04-10 21:25:47 +0200
commita2e01e037fcde3e63571633e94156e324a4f2299 (patch)
treed8673d569924d3241b49808d4e96c7eb062b891a /pyecsca/sca/target/ISO7816.py
parentb76ec0890e4cf997ce5a0b4494722931094683f7 (diff)
downloadpyecsca-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.py6
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