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
Test encoders/decoders with a non-default library context, fix up defects #14587
Conversation
Jon - can you check that you cover everything that I did in #12694. If so I will close that one.. |
d8b5e47
to
e3ea1a3
Compare
600e130
to
6572f4f
Compare
6572f4f
to
6f30a23
Compare
6f30a23
to
715bc34
Compare
I forget, do we have a test of implicit fetching somewhere? I noticed that the PVK code was changed to fetch RC4 explicitly, and am worried that we forget to test the implicit variants. |
a96d58e
to
c5682b3
Compare
LGTM |
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.
If you rebase and make update the fips checksum should not be modified anymore.
aed2ec2
to
27206c9
Compare
Can you rebase this and clean up the commit messages that you would want to appear into the logs please. |
ca40ad9
to
1d16386
Compare
Rebased and squashed/reworded some commits. |
Please do rebase -i --autosquash again to avoid touching the fips checksums in the intermediate commits. Otherwise I suspect this will cause issues with ghmerge. Also the commit message of db8ee15 needs a cleanup. |
9663891
to
f1ebefa
Compare
3e41d94
to
3f426da
Compare
Rebased. I've modified the arguments to endecode_test to add two new named arguments for the ones merged from master (RSA and RSA-PSS key files). |
… library context and configurable providers
… to the PKCS8 encrypt/decrypt
Rebased to drop the spurious fips-sources.checksums change. |
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.
@slontis please reconfirm after the rebase.
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.
reapproved
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.
Subject to the two blank lines and a reason for the odd conditional
…default library context and configurable providers
No need to reset the timer for the two blank lines added. |
Merging |
… library context and configurable providers Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #14587)
… to the PKCS8 encrypt/decrypt Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #14587)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #14587)
Merged to master, finally. Thank you all! |
Thanks! |
… library context and configurable providers Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#14587)
… to the PKCS8 encrypt/decrypt Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#14587)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#14587)
This PR adds a non-default library context option to endecode_test and fixes issues caused by ciphers/digests being retrieved without a _fetch. It also adds a couple of APIs (b2i_PVK_bio_ex & i2b_PVK_bio_ex) to allow the library context and property query to be passed to where it's needed.
This work also overlaps #12694