You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/28 08:34:01 UTC
[jira] [Commented] (SOLR-11690) DIH JdbcDataSource - Problem
decoding encrypted password using encryptKeyFile
[ https://issues.apache.org/jira/browse/SOLR-11690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268376#comment-16268376 ]
ASF GitHub Bot commented on SOLR-11690:
---------------------------------------
GitHub user rajeshrmgm opened a pull request:
https://github.com/apache/lucene-solr/pull/277
SOLR-11690: DIH JdbcDataSource - Problem decoding encrypted password using encryptKeyFile
Fixes problem in decryption jdbc datasource password
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajeshrmgm/lucene-solr jira/solr-11690
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/277.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #277
----
commit 861873353bc832bb1b9fe5ac420a36d3ea3907ef
Author: Rajesh Arumugam <ra...@gensler.com>
Date: 2017-11-28T08:29:26Z
Fixes problem in decryption jdbc datasource password
----
> DIH JdbcDataSource - Problem decoding encrypted password using encryptKeyFile
> -----------------------------------------------------------------------------
>
> 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
> Labels: easyfix
>
> 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