robotframework-crypto icon indicating copy to clipboard operation
robotframework-crypto copied to clipboard

Calling method '_start_test' of listener 'CryptoLibrary' failed: CryptoError: An error occurred trying to decrypt the message

Open JoostW21111 opened this issue 2 years ago • 0 comments

Hi All,

I use and install the robotframework-crypto lib for the first time and i follow the installation steps. The next repro step i follow is:

  • I have already create/generate the private and the public key.
  • Then with the command "CryptoClient" i have encrypted a password and saved it
  • i get an crypt key: <crypt: key>
  • i use the next lib in de setting: Library CryptoLibrary variable_decryption=True
  • i run the test (UI)

When i log in with the encrypted password in a web application. The password wil accepted and can log in successful. But i get the following error twice

[ ERROR ] Calling method '_start_suite' of listener 'CryptoLibrary' failed: CryptoError: An error occurred trying to decrypt the message [ ERROR ] Calling method '_start_test' of listener 'CryptoLibrary' failed: CryptoError: An error occurred trying to decrypt the message

Any idea why this error is displayed?

regards,

JoostW21111 avatar Apr 15 '23 22:04 JoostW21111