def decrypt_pass(cipher_suite, password): try: cipher_text = cipher_suite.decrypt(password) print cipher_text except InvalidToken as e: print_error("ERROR: InvalidToken") exit(99)