def egd(path, bytes=_unspecified):
    warnings.warn("OpenSSL.rand.egd() is deprecated as of 16.0.0.",
                  DeprecationWarning)

    if not isinstance(path, _builtin_bytes):
        raise TypeError("path must be a byte string")

    if bytes is _unspecified:
        bytes = 255
    elif not isinstance(bytes, int):
        raise TypeError("bytes must be an integer")

    seed(os.urandom(bytes))
    return bytes
Prompt the user for login credentials. Returns a tuple (login, password).
dataset/ETHPy150Open pyca/pyopenssl/src/OpenSSL/rand.py/egd--crossover with--dataset/ETHPy150Open discreteoptimization/setcover/submit.py/login_prompt