I put everything I know about it on the Jira.
Justin On Fri, Apr 25, 2025 at 10:12 AM Shiv Kumar Dixit <shivkumar.di...@it.eurofinseu.com.invalid> wrote: > Thanks Justin for input. Is there any known characters that we need to > skip or any known workaround so that we continue to use mask without > hitting this bug? > > Best Regards > Shiv > > -----Original Message----- > From: Justin Bertram <jbert...@apache.org> > Sent: 23 April 2025 10:38 PM > To: users@activemq.apache.org > Subject: Re: Issue in artemis mask/unmask > > > > Unverified Sender: The sender of this email has not been verified. Review > the content of the message carefully and verify the identity of the sender > before acting on this email: replying, opening attachments or clicking > links. > > > I think you're likely hitting ARTEMIS-4154 [1]. > > > Justin > > [1] https://issues.apache.org/jira/browse/ARTEMIS-4154 > > On Wed, Apr 23, 2025 at 8:21 AM Shiv Kumar Dixit > <shivkumar.di...@it.eurofinseu.com.invalid> wrote: > > > Hi team, > > We are facing an issue in using artemis mask/unmask for certain literals. > > When such literals are present as part of password, unmasking is > > resulting in generation of garbage characters. Artemis version is 2.37.0. > > > > Working case: > > artemis mask MtWr35yhVOqbvR7hfqcw > > result: -d3cac5bbbf2d5d18204c051d9abcc94f6bde2fde496c7d5 > > > > System.out.println("Unmasked value for " + masked + " is " + > > PasswordMaskingUtil.resolveMask(masked, > > "org.apache.activemq.artemis.utils.DefaultSensitiveStringCodec")); > > Unmasked value for > > ENC(-d3cac5bbbf2d5d18204c051d9abcc94f6bde2fde496c7d5) > > is MtWr35yhVOqbvR7hfqcw > > > > Non-working case: > > artemis mask eesblDcBz4MfiQWKW3as > > result: -189b78c4b49afd300a3804336bd41d5b6b3f804b4d04b1 > > > > System.out.println("Unmasked value for " + masked + " is " + > > PasswordMaskingUtil.resolveMask(masked, > > "org.apache.activemq.artemis.utils.DefaultSensitiveStringCodec")); > > Unmasked value for > > ENC(-189b78c4b49afd300a3804336bd41d5b6b3f804b4d04b1) is > > W??4"??;z4MfiQWKW3as > > > > Can you please help us in identifying the reason for such error? > > > > Thanks > > Shiv > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org > For additional commands, e-mail: users-h...@activemq.apache.org > For further information, visit: https://activemq.apache.org/contact > >