Archived
1
0
Fork 0

Try to fix

This commit is contained in:
Ethanell 2019-05-15 16:12:37 +02:00
parent 21007353b6
commit 02d97e540e
2 changed files with 1 additions and 2 deletions

View file

@ -81,7 +81,6 @@ def add_yubi():
return "Error, too many yubikeys" 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"]) 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" return "Ok"

View file

@ -1,7 +1,7 @@
from yubico_client import Yubico from yubico_client import Yubico
import lock, shelve 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: while True:
try: try: