def gpg_entropy():
    try:
        output = subprocess.Popen(
            ["gpg", "--gen-random", "2", "64"], stdout=subprocess.PIPE).communicate()[0]
        return output
    except __HOLE__:
        sys.stderr.write("warning: can't open gpg, can't use as entropy source\n")
    return b''
dataset/ETHPy150Open richardkiss/pycoin/pycoin/scripts/ku.py/gpg_entropy