diff --git a/app/page/creatersakey.py b/app/page/creatersakey.py index 60dcec8..0f04a87 100644 --- a/app/page/creatersakey.py +++ b/app/page/creatersakey.py @@ -1,4 +1,3 @@ -import os from PyQt6.QtWidgets import QWizardPage, QVBoxLayout, QCheckBox, QLabel, QWizard from PyQt6.QtCore import QTimer import PyKCS11 @@ -46,8 +45,7 @@ def nextId(self): # If the YubiKey is filled and the checkbox is not checked, do not proceed print("Not Completed 0") return self.wizard().currentId() - if self.checkIfYubiKeyFilled(self.wizard().property("selectedYubiKey")): - os.system("ykman piv reset --force") + # Start the key creation process QTimer.singleShot(1000, self.startKeyCreationProcess) self.alreadycalled = True