You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rajesh Arumugam (JIRA)" <ji...@apache.org> on 2017/11/28 06:24:00 UTC

[jira] [Created] (SOLR-11690) DIH JdbcDataSource - Problem decoding encrypted password

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org