Run time exception while decrypting string => Tag Mismatch

1
Hi, Can anyone help me out on the javax.crypto.AEADBadTagException error in the 'Email Decrypt' functionality. But few days back, i can able to trigger emails successfully. Kindly check the below stack trace, for more information=> com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.crypto.AEADBadTagException: Tag mismatch! at Encryption.Decrypt (Error : '') at EmailTemplate.SendEmailMessage (SubMicroflow : 'Decrypt') at EmailTemplate.IVK_SendTestMessage (SubMicroflow : 'SendEmailMessage') Advanced stacktrace: at com.mendix.modules.microflowengine.microflow.impl.ErrorEvent.throwError$1(ErrorEvent.scala:17) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.crypto.AEADBadTagException: Tag mismatch! FYI: I reffered to the following link https://community.mendix.com/link/questions/90111 But still i am facing the same, even after re-entering password.   Thanks & Regards, Srilatha  
asked
3 answers
3

In my experience, if you change the encryption key, you will need to re-encrypt any previously entered passwords.  In my apps, I have had to re-enter any previously saved email passwords via a page in my app.

After changing the encryption key, any strings encrypted with a different key cannot be un-encrypted.

answered
0

Could it be that you update Java from 7 to 8? See stackoverflow: https://stackoverflow.com/questions/34163634/im-getting-javax-crypto-aeadbadtagexception-tag-mismatch-when-decrypting-larg

Regards,

Ronald

 

answered
0

It worked for me, i have entered password wrongly :( Thanks for your time :)

answered