- I using SonarQube version 9.9
- how is SonarQube deployed: Docker
- what are you trying to achieve: I need know parameters of PBKDF2WithHmacSHA512, especially dk_len.
- How I can generate hash for sonarqube admin user via bash, python or java?
Hey there.
It’s not clear to me what you’re trying to accomplish. Can you provide more details?
Hi! I want to pass a variable with the password value from terraform to ansible, where it will be encrypted, and sent to the docker-compose file template, which will start the sonarqube and psql containers, and also change the password for the ‘admin’ user using the init.sql file. I was able to do this in the old version using the “BCRYPT” algorithm and the reset_password=‘true’ parameter. In the new version, in order to generate a hash for my new password, I need to know the length of the dk_len key. And I need the right tool for that.
Why is my reply missing?
which will start the sonarqube and psql containers, and also change the password for the ‘admin’ user using the init.sql file.
Hi @Ashley_Chhumtl,
FYI, your first reply tripped our (not very bright) spam filter. And then your repeated attempts to re-post the same (not-spam) reply just aggravated it. So all your replies were quarantined until just now, when I rejected the spam flags.
So that’s what happened, and I apologize for the confusion & frustration. I’m going to do a little cleanup in this thread.
Ann
- I using SonarQube version 9.9
- how is SonarQube deployed: Docker
- what are you trying to achieve: I need know parameters of PBKDF2WithHmacSHA512, especially dk_len.
- How I can generate hash for sonarqube admin user via bash, python or java?
It sounds like you’re trying to directly edit the database, which we don’t reccomend.
Could you try and use a Web API like POST api/users/change_password?