Try to fix
This commit is contained in:
parent
21007353b6
commit
02d97e540e
2 changed files with 1 additions and 2 deletions
1
Setup.py
1
Setup.py
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Reference in a new issue