Linux uses the generic interface. Needs deep testing.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-11-07 13:14:37 +01:00
parent abf980d84e
commit 30301c68f1
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -327,10 +327,8 @@ class SecureLock:
send_apdu(self.card, [0x80, 0x64], 0x3A, 0x03, list(ct))
def _get_key_device(self):
if (platform.system() == 'Windows'):
if (platform.system() == 'Windows' or platform.system() == 'Linux'):
from secure_key import windows as skey
elif (platform.system() == 'Linux'):
from secure_key import linux as skey
elif (platform.system() == 'Darwin'):
from secure_key import macos as skey
else: