Exemple #1
0
def luks_status(name):
    """True means active, False means inactive (or non-existent)"""
    cs = CryptSetup(name=name,
                    yesDialog=askyes,
                    logFunc=dolog,
                    passwordDialog=askpassphrase)
    return cs.status()
Exemple #2
0
def luks_status(name):
    """True means active, False means inactive (or non-existent)"""
    cs = CryptSetup(name=name,
                    yesDialog=yesDialog,
                    logFunc=logFunc,
                    passwordDialog=passwordDialog)
    return cs.status()
Exemple #3
0
def luks_status(name):
    """True means active, False means inactive (or non-existent)"""
    cs = CryptSetup(name=name, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase)
    return cs.status()
Exemple #4
0
def luks_status(name):
    """True means active, False means inactive (or non-existent)"""
    cs = CryptSetup(name=name, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog)
    return cs.status()
Exemple #5
0
def luks_status(name):
    cs = CryptSetup(name=name, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog)
    return cs.status()
Exemple #6
0
def luks_status(name):
    """Obtain LUKS device status."""
    cs = CryptSetup(name=name, yesDialog=yesDialog, logFunc=logFunc)
    return cs.status()