You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "gijoe88 (via GitHub)" <gi...@apache.org> on 2023/02/06 11:15:26 UTC
[GitHub] [hop] gijoe88 opened a new issue, #2241: [Bug]: Cannot use Encrypted password in environment for mongodb connections
gijoe88 opened a new issue, #2241:
URL: https://github.com/apache/hop/issues/2241
### Apache Hop version?
SNAPSHOT-20230206
### Java version?
11.0.18
### Operating system
Docker
### What happened?
```BASH
./hop-encrypt.sh -hop password
# Returns Encrypted 2be98afc86aa7f2e4bb18bd63c99dbdde
```
Create an environment DEV, with variable "MONGODB_PASSWORD" and value "Encrypted 2be98afc86aa7f2e4bb18bd63c99dbdde"
Create a connection to a MongoDB instance.
In the metadata file for this mongodb connection ( `${PROJECT_HOME}/metadata/mongodb-connection/YourConnection.json`), replace the value of `authenticationPassword` by `${MONGODB_PASSWORD}`.
Launch a pipeline using the connection, see that the pipeline does not work, authentication failed.
It seems like the mechanism to use passwords in mongodb is not the same as relational databases, because in those the functionality of Encrypted passwords inside environments is working.
### Issue Priority
Priority: 3
### Issue Component
Component: Transforms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] gijoe88 closed issue #2241: [Bug]: Cannot use passwords in environment for mongodb connections
Posted by "gijoe88 (via GitHub)" <gi...@apache.org>.
gijoe88 closed issue #2241: [Bug]: Cannot use passwords in environment for mongodb connections
URL: https://github.com/apache/hop/issues/2241
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] gijoe88 commented on issue #2241: [Bug]: Cannot use passwords in environment for mongodb connections
Posted by "gijoe88 (via GitHub)" <gi...@apache.org>.
gijoe88 commented on issue #2241:
URL: https://github.com/apache/hop/issues/2241#issuecomment-1418936989
Edit: unencrypted passwords in environment work. But encrypted passwords do not.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] hansva commented on issue #2241: [Bug]: Cannot use encrypted passwords in environment for mongodb connections
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #2241:
URL: https://github.com/apache/hop/issues/2241#issuecomment-1463517083
.take-issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] gijoe88 commented on issue #2241: [Bug]: Cannot use passwords in environment for mongodb connections
Posted by "gijoe88 (via GitHub)" <gi...@apache.org>.
gijoe88 commented on issue #2241:
URL: https://github.com/apache/hop/issues/2241#issuecomment-1418934323
My bad, relaunching the project did the trick.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [hop] hansva closed issue #2241: [Bug]: Cannot use encrypted passwords in environment for mongodb connections
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #2241: [Bug]: Cannot use encrypted passwords in environment for mongodb connections
URL: https://github.com/apache/hop/issues/2241
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org