Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect error message when library password is wrong #24

Open
zumartic opened this issue Sep 4, 2023 · 0 comments
Open

Incorrect error message when library password is wrong #24

zumartic opened this issue Sep 4, 2023 · 0 comments

Comments

@zumartic
Copy link

zumartic commented Sep 4, 2023

I took library into use in my own computer and then copied correct files into our Jenkins server. Unfortunately the password went wrong in Jenkins and it didn't work. Could it be possible to have correct error message when using incorrect password since now library gives "No private key known or found in file. Generate private key first!" Error message, see trace below:
Traceback (most recent call last): File "/var/lib/jenkins/.local/lib/python3.7/site-packages/CryptoLibrary/init.py", line 291, in get_decrypted_text plaintext = self.crypto.decrypt_text(cipher_text) File "/var/lib/jenkins/.local/lib/python3.7/site-packages/CryptoLibrary/utils/cryptoutility.py", line 251, in decrypt_text 'No private key known or found in file. Generate private key first!' AttributeError: No private key known or found in file. Generate private key first!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant