Skip to content

Conversation

PaulNeumann
Copy link
Contributor

For the Oracle Database 23ai Free project, change the method used by install.sh to auto-generate passwords from openssl rand -base64 to openssl rand -hex. This prevents including special characters in the generated password that would cause database creation to fail.

(Also, change the openssl rand "num" parameter from 9 to 8, to be consistent with the other single-instance database projects in this repository.)

I'm happy to make any changes that you'd like.

Fixes #515

Signed-off-by: Paul Neumann 38871902+PaulNeumann@users.noreply.github.com

For the Oracle Database 23ai Free project, change the method used by
install.sh to auto-generate passwords from openssl rand -base64 to
openssl rand -hex. This prevents including special characters in
the generated password that would cause database creation to fail.

(Also, change the openssl rand "num" parameter from 9 to 8, to be
consistent with the other single-instance database projects in this
repository.)

Fixes oracle#515

Signed-off-by: Paul Neumann <38871902+PaulNeumann@users.noreply.github.com>
@PaulNeumann PaulNeumann requested a review from gvenzl as a code owner August 15, 2024 02:58
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 15, 2024
@gvenzl
Copy link
Member

gvenzl commented Aug 15, 2024

Thanks a lot for your contribution, @PaulNeumann!

@gvenzl gvenzl merged commit 3f9d792 into oracle:main Aug 15, 2024
2 checks passed
@PaulNeumann PaulNeumann deleted the 515-prevent_special_chars_in_pw branch August 16, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Oracle Database 23ai Free - Auto-generated passwords sometimes include special characters
2 participants