Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the encryption key when configuring the database #34

Merged
merged 2 commits into from
May 7, 2018

Conversation

carbonin
Copy link
Member

Copy link
Member

@kbrock kbrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was thinking this would be easier if it were in MiqDatabase#valid_encryption_key?.
But I guess you need to call a rake task anyway

:shipit:

@kbrock
Copy link
Member

kbrock commented Mar 20, 2018

@carbonin Think you can kick this and it will turn 🍏

@bdunne bdunne closed this Mar 20, 2018
@bdunne bdunne reopened this Mar 20, 2018
@carbonin carbonin closed this Apr 4, 2018
@carbonin carbonin reopened this Apr 4, 2018
@miq-bot
Copy link
Member

miq-bot commented May 7, 2018

Checked commits carbonin/manageiq-appliance_console@89a8a0d~...61922c4 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@bdunne bdunne merged commit 3f49d2d into ManageIQ:master May 7, 2018
@carbonin carbonin deleted the encryption_key_validation branch August 6, 2018 21:41
carbonin added a commit to carbonin/manageiq-appliance_console that referenced this pull request Aug 16, 2018
Before this, #validate_encryption_key! would return nil when successful
because of the way the conditional was written, now if the rake task
succeeds, we will return true.

Introduced in ManageIQ#34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants