-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[development] Restrict MBEDTLS_X509_RSASSA_PSS_SUPPORT #10130
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
[development] Restrict MBEDTLS_X509_RSASSA_PSS_SUPPORT #10130
Conversation
c9b0056
to
cbb1267
Compare
c546b7f
to
9b50527
Compare
9b50527
to
147e373
Compare
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, thanks!
In addition to reviewing commit by commit, I've also double-checked that in the end, no occurrence of mbedtls_pk_rsassa_pss_options
remains in X.509/TLS. So after this PR is merged, we'll be ready to remove that type on the crypto side.
Unfortunately there's now a conflict in the submodule pointer, so I'm afraid you'll need to rebase once more :( |
|
147e373
to
d9c52d7
Compare
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, will need one more rebase when the crypto side has been merged, to point to the merge commit.
d9c52d7
to
d0967ac
Compare
@mpg @bjwtaylor following the merge of Mbed-TLS/TF-PSA-Crypto#253 I've update the last commit to point to 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, no change since my previous approval except updating the crypto pointer to the merge commit of c253.
- Do not store RSA-PSS signature options in CRL/CRT/CSR structures; - During the parsing phase, just ensure that MGF1 hash alg is the same as the one used for the message. Signed-off-by: Valerio Setti <[email protected]>
Signed-off-by: Valerio Setti <[email protected]>
Signed-off-by: Valerio Setti <[email protected]>
Parsing of CRT files with message's hash alg different from the MGF1 was allowed in the past, but now it fails. So we need to move/adapt tests relying on this feature, from a "verify" scope to a "parse" one. Signed-off-by: Valerio Setti <[email protected]>
d0967ac
to
b8d5649
Compare
@mpg @bjwtaylor I had to rebase the PR due to a conflict on |
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, thanks!
Description
Resolves #8154
PR checklist