def luks_uuid(device): cs = CryptSetup(yesDialog = askyes, logFunc = dolog) return cs.luksUUID(device).strip()
def luks_uuid(device): cs = CryptSetup(device=device, yesDialog=askyes, logFunc=dolog, passwordDialog=askpassphrase) return cs.luksUUID()
def luks_uuid(device): cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase) return cs.luksUUID()
def luks_uuid(device): cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog) return cs.luksUUID()
def luks_uuid(device): cs = CryptSetup(yesDialog=askyes, logFunc=dolog) return cs.luksUUID(device).strip()
def luks_uuid(device): """Obtain LUKS device's UUID.""" cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc) return cs.luksUUID()