Example #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()
Example #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()
Example #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()
Example #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()
Example #5
0
def luks_status(name):
    cs = CryptSetup(name=name, yesDialog=yesDialog, logFunc=logFunc, passwordDialog=passwordDialog)
    return cs.status()
Example #6
0
File: crypto.py Project: ns408/core
def luks_status(name):
    """Obtain LUKS device status."""
    cs = CryptSetup(name=name, yesDialog=yesDialog, logFunc=logFunc)
    return cs.status()