Thank you so much for your time, I will keep in mind for sure all of your advices when designing and testing (and hopefully deploy in production) the solution.
I'll come back and tell you about the solution adopted.
Original Message:
Sent: Tue July 29, 2025 07:38 AM
From: Franz Wolfhagen
Subject: Lots of decryption failures on ISIM logs
If you are using defaults the historical passwords are hashed - not encrypted. They are normally only used in password policies to ensure that you are not reusing an old password.
I have never tried just to delete the ersynchpassword - that may be a simple solution - but I would definitely do thoroughly test of password/suspend/restore/account creation to verify that the system is able to handle the missing attribute.
Also be aware you may also have issues with all your services if you haven't already changed passwords there...
------------------------------
Franz Wolfhagen
WW IAM Solution Architect - Certified Consulting IT Specialist
IBM Expert Labs
Original Message:
Sent: Tue July 29, 2025 06:46 AM
From: Ali Malik Gürbüz
Subject: Lots of decryption failures on ISIM logs
Hello,
You can remove these attributes from ldap with any ldap tool or SDIor a lifecycle like Franz pointed out already. Just remove from one person and/or account to see if any issue occurs.
There is also erhistoricalpassword attribute on accounts. That stores the "previous passwords" user used.It's binary in format , maybe you would want to check these too.I am not sure this is affected by ldap encryption or encryption key of ISIM. <disregard if there is no log/error about this>
Either way, if you don't need these attributes or just want to clean them, you can remove any or all of these with lifecycles and using <entity>.removeProperty(). Just a script and modify account box would be enough. While doing with SDI you have to return null and use null behaviours. LC is easier but slower mostly.
If you have passwords -somehow :) -, you can also re-fill "ersyncpassword" if you need them via .setAndEncryptPassword() and another lifecycle. We have used this method and its decryptor (getAndDecrypt) to transfer passwords between two systems for example.
erPersonPassword is the same it's used when pass sync is disabled. But it can stay there even if you change the setting. A person can have both because of this.

Hope these helps.
------------------------------
Ali Malik Gürbüz
Bilgibirikim A.S - Turkey/EMEA
IBM Business Partner
13+ Years with ISIM/ISVG etc.
5.2.5 Certified Exam Developer *I* - 2019
IBM Champion 2025
Original Message:
Sent: Tue July 29, 2025 05:06 AM
From: Andrea Gatto
Subject: Lots of decryption failures on ISIM logs
Good point: I don't want SDI to write a bunch of new "isim-unreadable" passwords. (I will not use api in this case)
Let ISIM do the crypto job.
Thank you again, you saved me a round of failed tests.
Ciao
------------------------------
Andrea Gatto
Original Message:
Sent: Tue July 29, 2025 04:52 AM
From: Franz Wolfhagen
Subject: Lots of decryption failures on ISIM logs
I forgot - do not use an SDI AL unless you use APIs to update the stuff.
You can write a custom operational person workflow that does the job and then roll it out using an LCR starting with a single (test) user....
------------------------------
Franz Wolfhagen
WW IAM Solution Architect - Certified Consulting IT Specialist
IBM Expert Labs
Original Message:
Sent: Tue July 29, 2025 03:46 AM
From: Andrea Gatto
Subject: Lots of decryption failures on ISIM logs
Ciao Franz,
thank you for really fast answer.
In the meantime I've discovered who is triggering the decryption function: the 'search users' function in the administrative gui (/itim/console).
I don't know why, but it seems that ISIM tries to decypher the pwd attributes for every person returned.
Anyway, no problem (or at least, a solvable problem), knowing the root cause was in this case more important than the issue itself.
And, definitely, the old passwords must be fixed (or erased). I think a well designed assembly line could help.
Thank you!
Ciao
------------------------------
Andrea Gatto
Original Message:
Sent: Tue July 29, 2025 01:32 AM
From: Franz Wolfhagen
Subject: Lots of decryption failures on ISIM logs
Every time an entity that contains an encrypted attribute the system will probably try to decrypt that attribute.
So in this case there is an activity going on for the person mentioned. That can be regular handling of persons such as an DSML feed running - or you may have scheduled tasks in the RDBMS schedule that should have been cleaned up.
Anyway - you need to get these problems fixed - either by redoing the migration (probably too late) or fixing all the records - this is no easy task - my best advice is to open a support case and get some external help from e.g. IBM Expert Labs to help on what can be done...
------------------------------
Franz Wolfhagen
WW IAM Solution Architect - Certified Consulting IT Specialist
IBM Expert Labs
Original Message:
Sent: Mon July 28, 2025 06:46 AM
From: Andrea Gatto
Subject: Lots of decryption failures on ISIM logs
Hi everyone,
years ago, due to multiple problems in a migration, ISIM was set to point to an ldap that was "cryptographically unsynched".
Given that, I know that there are many users whose "erSynchPassword" is no more readable. In addition, user's password management has been externalized (to respect with ISIM) so password unreadability is not a problem.
Anyway, even when no lifecycle rule is running and ISIM seems to be 'idle', I can read lots and lots of decryption errors like this:
<Trace Level="MIN">
<Time Millis="1753697741458"> 2025.07.28 12:15:41.458+02:00</Time>
<Server Format="IP">emalvisimprod.ssf.local</Server>
<ProductId>CTGIM</ProductId>
<Component>com.ibm.itim.dataservices.ldap</Component>
<ProductInstance>ISIMVa_APP_MEMBER</ProductInstance>
<LogText><![CDATA[Failed to decrypt a value that is expected to be encrypted [B@28179e3a. See enrole.properties for a list of attributes that are expected to be encrypted.]]></LogText>
<Source FileName="com.ibm.itim.dataservices.ldap.LdapUtil" Method="decryptPasswordAttribute"/>
<Thread>WebContainer : 11</Thread>
<Exception><![CDATA[com.ibm.itim.util.EncryptionException: CTGIMO047E An error occurred while processing a decryption request on object or property value erglobalid=8629953131307928992,ou=0,ou=people,erglobalid=00000000000000000000,ou=terna,dc=com::AttributeValues: ersynchpassword. The following error occurred.
Error: Given final block not properly padded
at com.ibm.itim.util.EncryptionManager.decrypt(EncryptionManager.java:1045)...
Does someone of you know why ISIM is continously trying to decypher person's passwords?
Of course I would like to stop this behaviour (if possible), where should I look at?
Thank you for your answers.
Ciao
------------------------------
Andrea Gatto
------------------------------