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: