From f450412955ad448b88cec401b19b395dc2bf98cb Mon Sep 17 00:00:00 2001 From: "Kieran R. Prasch" Date: Tue, 9 Jun 2020 17:19:38 -0700 Subject: [PATCH] Removes inaccurate authentication error handling around CLI characters. --- nucypher/cli/utils.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/nucypher/cli/utils.py b/nucypher/cli/utils.py index 94375714f..8770b27f2 100644 --- a/nucypher/cli/utils.py +++ b/nucypher/cli/utils.py @@ -88,13 +88,9 @@ def make_cli_character(character_config, # # Produce Character - try: - CHARACTER = character_config(known_nodes=teacher_nodes, - network_middleware=character_config.network_middleware, - **config_args) - except (CryptoError, ValueError): - raise character_config.keyring.AuthenticationFailed(f"Failed to unlock nucypher keyring. " - "Are you sure you provided the correct password?") + CHARACTER = character_config(known_nodes=teacher_nodes, + network_middleware=character_config.network_middleware, + **config_args) # # Post-Init