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