Skip to content

Comments

openssl req: don't try to report bits#7096

Closed
levitte wants to merge 1 commit intoopenssl:masterfrom
levitte:req-dont-report-bits
Closed

openssl req: don't try to report bits#7096
levitte wants to merge 1 commit intoopenssl:masterfrom
levitte:req-dont-report-bits

Conversation

@levitte
Copy link
Member

@levitte levitte commented Sep 3, 2018

With the introduction of -pkeyopt, the number of bits may change
without |newkey| being updated. Unfortunately, there is no API to
retrieve the information from a EVP_PKEY_CTX either, so chances are
that we report incorrect information. For the moment, it's better not
to try to report the number of bits at all.

Fixes #7086

With the introduction of -pkeyopt, the number of bits may change
without |newkey| being updated.  Unfortunately, there is no API to
retrieve the information from a EVP_PKEY_CTX either, so chances are
that we report incorrect information.  For the moment, it's better not
to try to report the number of bits at all.

Fixes openssl#7086
@levitte levitte added branch: master Applies to master branch 1.1.0 branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) labels Sep 3, 2018
@mattcaswell mattcaswell added this to the Assessed milestone Sep 3, 2018
Copy link
Contributor

@paulidale paulidale left a comment

Choose a reason for hiding this comment

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

LGTM

@levitte levitte added branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) and removed branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) labels Sep 4, 2018
levitte added a commit that referenced this pull request Sep 4, 2018
With the introduction of -pkeyopt, the number of bits may change
without |newkey| being updated.  Unfortunately, there is no API to
retrieve the information from a EVP_PKEY_CTX either, so chances are
that we report incorrect information.  For the moment, it's better not
to try to report the number of bits at all.

Fixes #7086

Reviewed-by: Paul Yang <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from #7096)
levitte added a commit that referenced this pull request Sep 4, 2018
With the introduction of -pkeyopt, the number of bits may change
without |newkey| being updated.  Unfortunately, there is no API to
retrieve the information from a EVP_PKEY_CTX either, so chances are
that we report incorrect information.  For the moment, it's better not
to try to report the number of bits at all.

Fixes #7086

Reviewed-by: Paul Yang <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from #7096)

(cherry picked from commit 1714718)
@levitte levitte added the branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) label Sep 4, 2018
levitte added a commit that referenced this pull request Sep 4, 2018
With the introduction of -pkeyopt, the number of bits may change
without |newkey| being updated.  Unfortunately, there is no API to
retrieve the information from a EVP_PKEY_CTX either, so chances are
that we report incorrect information.  For the moment, it's better not
to try to report the number of bits at all.

Fixes #7086

Reviewed-by: Paul Yang <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from #7096)

(cherry picked from commit 1714718)
@levitte
Copy link
Member Author

levitte commented Sep 4, 2018

Merged.

master / 1.1.1:
1714718 openssl req: don't try to report bits

1.1.0:
1018ba7 openssl req: don't try to report bits

1.0.2:
6e87325 openssl req: don't try to report bits

@levitte levitte closed this Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: master Applies to master branch branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants