Rajesh Arumugam created SOLR-11690:
--------------------------------------
Summary: DIH JdbcDataSource - Problem decoding encrypted password
Key: SOLR-11690
URL: https://issues.apache.org/jira/browse/SOLR-11690
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: contrib - DataImportHandler
Affects Versions: 6.6.2
Reporter: Rajesh Arumugam
The password decryption is not working fine because of a bug in
JdbcDataSorce.java -> decryptPwd(Context context, Properties initProps) method.
The problem is due to bad construction of key string while making a call to
CryptoKeys.decodeAES(). Due to this the CryptoKeys throws "*Bad password,
algorithm, mode or padding; no salt, wrong number of iterations or corrupted
ciphertext.*" exception while trying to decode password.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]