Exemple #1
0
def is_luks(device):
    cs = CryptSetup(yesDialog = askyes, logFunc = dolog)
    return cs.isLuks(device)
Exemple #2
0
def is_luks(device):
    cs = CryptSetup(device=device,
                    yesDialog=askyes,
                    logFunc=dolog,
                    passwordDialog=askpassphrase)
    return cs.isLuks()
Exemple #3
0
def is_luks(device):
    cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase)
    return cs.isLuks()
Exemple #4
0
def is_luks(device):
    cs = CryptSetup(device=device,
                    yesDialog=yesDialog,
                    logFunc=logFunc,
                    passwordDialog=passwordDialog)
    return cs.isLuks()
Exemple #5
0
def is_luks(device):
    cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog)
    return cs.isLuks()
def is_luks(device):
    cs = CryptSetup(yesDialog=askyes, logFunc=dolog)
    return cs.isLuks(device)
Exemple #7
0
def is_luks(device):
    """Check to see if provided device is a LUKS device."""
    cs = CryptSetup(device=device, yesDialog=yesDialog, logFunc=logFunc)
    return cs.isLuks()