[
https://issues.apache.org/jira/browse/SOLR-11690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598670#comment-16598670
]
Jan Høydahl commented on SOLR-11690:
------------------------------------
Here's a link to the AasciiDoc page at Github so you can see how the paragraph
will finally look like after the change:
[https://github.com/apache/lucene-solr/blob/f770dea6e731a797100992917967eb1132122351/solr/solr-ref-guide/src/uploading-structured-data-store-data-with-the-data-import-handler.adoc#encrypting-a-database-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
> 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: [email protected]
For additional commands, e-mail: [email protected]