示例#1
0
def gen_entoropy():
    """
    Put a load on system and generate entropy needed to generate GPG key.

    FIXME: Is there any better way to generate entropy enough for GPG key
    generation ?
    """
    cmd = "find / -xdev -type f -exec sha256sum {} >/dev/null \; 2>&1"
    return MSH.run_async(cmd)
示例#2
0
def gen_entoropy():
    """
    Put a load on system and generate entropy needed to generate GPG key.
    """
    cmd = "find / -xdev -type f -exec sha256sum {} >/dev/null \; 2>&1"
    return MS.run_async(cmd)