From 02d97e540e8e597e4b0a67ca4e72d159c5df4e1e Mon Sep 17 00:00:00 2001 From: flifloo Date: Wed, 15 May 2019 16:12:37 +0200 Subject: [PATCH] Try to fix --- Setup.py | 1 - yubikey.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Setup.py b/Setup.py index 1483465..0ca191b 100644 --- a/Setup.py +++ b/Setup.py @@ -81,7 +81,6 @@ def add_yubi(): return "Error, too many yubikeys" subprocess.check_call(["ykpersonalize", "-1", f"-ofixed={dico[id]['publicid']}", f"-ouid={dico[id]['privateid']}", f"-a{dico[id]['secretkey']}", "-y"]) - print(dico[id]["publicid"]) return "Ok" diff --git a/yubikey.py b/yubikey.py index a0aa89b..20f388f 100644 --- a/yubikey.py +++ b/yubikey.py @@ -1,7 +1,7 @@ from yubico_client import Yubico import lock, shelve -ids = {"interncccccc": 1, "interncccccd": 2} +ids = {"interncccccc": 1, "interncccccd": 2, "internccccch": 3, "internccccci": 4, "internccccce": 5, "interncccccg": 6, "interncccccf": 7, "interncccccb": 8, "internccccck": 9, "interncccccj": 10} while True: try: