Closed myleslee closed 6 years ago
Sorry about the issue... I was trying to fix something in ACF a couple commits back and didn't think it through and created a bug.
In the meantime, you can use this version of the SecurityService.cfc
. with the code you have. This is the version prior to the implementation of initialization vectors (what's currently broke) and should work for you temporarily.
I'll work on a fix for this and get it rolled out in the next day or two. Once the fix is in you'll have to create a new keyring to get the appropriate length IV's.
Sorry for the overly long delay in getting a fix in for this issue. Been slammed at work on a big project with a tight deadline. Finally got the time to get it figured out and resolved.
Such an error will display after registration form is submitted.
Environment: Lucee 5.2.7+63 (Commanbox) + MySQL 5.7
StackTrace
application.securityService
As shown above, the
encryptionIV1
is 12-byte long (B0O9PAmQSxo=
). If I append four equality signs to it to make it 16-byte long (B0O9PAmQSxo=====
), thendataEnc()
will pass. But I doubt it's feasible to hard-code a number of16
here.Any insights will be appreciated. :)