def decrypt_jwe(module, jwe):
    """Attempt to decrypt JWE.
    Return: <decrypted JWE> <error>"""

    args = ["clevis", "decrypt"]
    ret, decrypted, err = module.run_command(args, data=jwe, binary_data=True)
    if ret != 0:
        return None, {"msg": err}
    return decrypted, None