-
Notifications
You must be signed in to change notification settings - Fork 898
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
Expose a method for encrypting using a remote v2_key #13083
Expose a method for encrypting using a remote v2_key #13083
Conversation
These keys are saved as a part of configuring central admin. When encrypted data must be send to a remote region, that data has to be encrypted using the remote region's encryption key. This allows callers to encrypt the data so that the remote region can use it properly. https://bugzilla.redhat.com/show_bug.cgi?id=1400995
254392c
to
511e666
Compare
I'm still looking into what it would take to add a Right now only Alternatively, I could use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Checked commits carbonin/manageiq@511e666~...c81afae with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
Okay, so after a talk with @kbrock it looks like the current approach with setting the v2_key directly with I think the best route would be to punt on decrypt until we can make the required changes to |
c81afae
to
511e666
Compare
Okay, @bdunne waiting on your review, then we can merge this and I'll pass the BZ to you. |
ping @bdunne I think we still need this, not sure where this is on your priorities though... |
@simaishi Nope, I'll change the flag. This will actually likely be removed/refactored soon. |
These keys are saved as a part of configuring central admin.
When encrypted data must be send to a remote region, that data has to be encrypted using the remote region's encryption key.
This allows callers to encrypt the data so that the remote region can use it properly.
https://bugzilla.redhat.com/show_bug.cgi?id=1400995
/cc @bdunne @gmcculloug @gtanzillo