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

core: use fips-compatible padding for provider passwords #677

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

tinez
Copy link
Member

@tinez tinez commented Sep 26, 2022

Use OAEP with SHA256 and MGF1 padding in password encryption and
decryption during authenticating with ovirt-ovn-provieder on el9
deployments where FIPS is enabled.

This change should not be merged until all code paths using the modified
EngineEncryptionUtils facility are evaluated for correctness and until
this modification is made active only when FIPS is enabled.

Signed-off-by: Eitan Raviv eraviv@redhat.com
Signed-off-by: Marcin Sobczyk msobczyk@redhat.com
Change-Id: Ie895d2249716d6aafd64d79ae2d61083181b9703

Use OAEP with SHA256 and MGF1 padding in password encryption and
decryption during authenticating with ovirt-ovn-provieder on el9
deployments where FIPS is enabled.

This change should not be merged until all code paths using the modified
EngineEncryptionUtils facility are evaluated for correctness and until
this modification is made active only when FIPS is enabled.

Signed-off-by: Eitan Raviv <eraviv@redhat.com>
Signed-off-by: Marcin Sobczyk <msobczyk@redhat.com>
Change-Id: Ie895d2249716d6aafd64d79ae2d61083181b9703
@michalskrivanek
Copy link
Member

/ost basic-suite-master el9stream

@michalskrivanek
Copy link
Member

/ost basic-suite-master el9stream

@michalskrivanek michalskrivanek changed the title [NOT MERGE]ovn provider auth: use fips-compatible padding core: use fips-compatible padding for provider passwords Sep 27, 2022
@michalskrivanek michalskrivanek merged commit 793e184 into oVirt:master Sep 27, 2022
@tinez tinez deleted the ovn-fips-take-3 branch September 27, 2022 11:34
mwperina added a commit to mwperina/ovirt-engine that referenced this pull request Sep 27, 2022
We have added new encryption/decryption method for OVN provider password
as a part of oVirt#677
Unfortunately there was an error during password decryptio due to the
implementation differencies between Python and OpenJDK.

Signed-off-by: Martin Perina <mperina@redhat.com>
michalskrivanek added a commit that referenced this pull request Sep 27, 2022
* Fix padding issue when decrypting OVN provider password

We have added new encryption/decryption method for OVN provider password
as a part of #677
Unfortunately there was an error during password decryptio due to the
implementation differences between Python and OpenJDK.

Signed-off-by: Martin Perina <mperina@redhat.com>
Co-authored-by: Michal Skrivanek <michal.skrivanek@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants