Skip to content

Comments

Run ssl_test_old in fips#11534

Closed
mattcaswell wants to merge 4 commits intoopenssl:masterfrom
mattcaswell:ssltest_old
Closed

Run ssl_test_old in fips#11534
mattcaswell wants to merge 4 commits intoopenssl:masterfrom
mattcaswell:ssltest_old

Conversation

@mattcaswell
Copy link
Member

In a similar way to #11511 and #11508, we run ssl_test_old twice: once with a non-default library context with the default provider loaded into it, and once with a non-default library context with the FIPS provider loaded into it. In both cases we load the "null" provider into the default context to make sure we don't accidentally pick up algorithms from there.

These tests will fail since they require all the key gen PRs to be merged first as well as #11494 and #11507 (and I have not included them here). However, aside from the dependencies this should be fairly complete and can be reviewed.

@mattcaswell mattcaswell added the branch: master Applies to master branch label Apr 13, 2020
@levitte
Copy link
Member

levitte commented Apr 16, 2020

You might want to edit the subject, as #11328, #11303, #11332, and #11494 are now merged

@mattcaswell mattcaswell changed the title [WIP, pending on #11328, #11303, #11332, #11371, #11494, #11507]: Run ssl_test_old in fips [WIP, pending on #11371, #11507]: Run ssl_test_old in fips Apr 16, 2020
@mattcaswell
Copy link
Member Author

You might want to edit the subject, as #11328, #11303, #11332, and #11494 are now merged

Done

Copy link
Member

Choose a reason for hiding this comment

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

Considering how this is copied all over the place, we might want to consider making this a separate script.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes...and a separate "make test" dependency so that we don't have to do this everywhere? Not this PR though I think.

Copy link
Member

Choose a reason for hiding this comment

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

Oh! That too

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I'm getting to a point where I'll do this, in a separate PR

levitte
levitte previously approved these changes Apr 16, 2020
Copy link
Member

@levitte levitte left a comment

Choose a reason for hiding this comment

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

Provided the CIs agree

@levitte levitte dismissed their stale review April 16, 2020 11:27

WIP... making my approval a bit premature

@levitte levitte changed the title [WIP, pending on #11371, #11507]: Run ssl_test_old in fips [WIP, pending on #11371]: Run ssl_test_old in fips Apr 16, 2020
@mattcaswell mattcaswell changed the title [WIP, pending on #11371]: Run ssl_test_old in fips [Pending on #11508]: Run ssl_test_old in fips Apr 17, 2020
@mattcaswell
Copy link
Member Author

Rebased now that #11371 has been merged. I have had to include the same libssl fixup commit that I've added to #11508 here, in order to get the tests to pass.

Please don't review the libssl changes in this PR. Please provide any review comments on that aspect in #11508 instead.

I've taken this out of WIP, although it cannot now be pushed until #11508 goes in.

@slontis
Copy link
Member

slontis commented Apr 18, 2020

Fixed the fips disabled config.

@mattcaswell
Copy link
Member Author

Ping - this needs review (and for the record I'm fine with @slontis's update to this PR).

@slontis slontis added the approval: done This pull request has the required number of approvals label Apr 19, 2020
@mattcaswell mattcaswell changed the title [Pending on #11508]: Run ssl_test_old in fips Run ssl_test_old in fips Apr 19, 2020
@mattcaswell
Copy link
Member Author

Rebased now that #11508 has gone in. No other changes were made.

@mattcaswell
Copy link
Member Author

@levitte - I would prefer to push this as is, and modify the fipsinstall stuff with a follow on PR since this PR is now otherwise ready-to-merge.

@openssl-machine
Copy link
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

@slontis
Copy link
Member

slontis commented Apr 20, 2020

Considering there seemed to be some problem in travis when the fipsinstall stuff was done - that is probably a good idea i.e- it was merged with an error - @paulidale looked at this today..

@levitte
Copy link
Member

levitte commented Apr 20, 2020

with a follow on PR

Okie

@mattcaswell mattcaswell added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Apr 20, 2020
@mattcaswell
Copy link
Member Author

Pushed. Thanks!

openssl-machine pushed a commit that referenced this pull request Apr 20, 2020
openssl-machine pushed a commit that referenced this pull request Apr 20, 2020
@mattcaswell
Copy link
Member Author

I would prefer to push this as is, and modify the fipsinstall stuff with a follow on PR since this PR is now otherwise ready-to-merge.

#11580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants