You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2018/09/04 08:09:00 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=16602723#comment-16602723 ]
Jan Høydahl commented on SOLR-11690:
------------------------------------
As I heard no objections I'll commit these doc changes today.
> 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
> Assignee: Jan Høydahl
> Priority: Major
> Labels: easyfix
> Fix For: master (8.0), 7.5
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org