Closed danizen closed 6 years ago
@essiembre, I think I can work on this too, but I'm taking it one step at a time. I have first to make sure the current algorithm works.
I've fixed this and it should be ready to merge.
Merged. Please confirm the new 1.15.0-SNAPSHOT works for you.
Will do.
Current Behavior
EncryptionKey
is not tunable.Desired Behavior
EncryptionKey
attributepasswordKeySize
that is a size in bytes. It will default to 128.EncryptionKeyUtil
to read the key size from theEncryptionKey
. If a user specifies a `passwordKeySize that doesn't work on their Java installation, they get the exception.com.norconex.commons.lang.config.PasswordKeyUtil
so that it will parse apasswordKeySize
XML element with an integer value.passwordKey
andpasswordKeySource
XML elements to use thePasswordKeyUtil
.