Skip to content

Fixes for PKCS w/out RSA and Cert/CSR signing with unknown OID#6902

Merged
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
dgarske:various_20231020
Nov 1, 2023
Merged

Fixes for PKCS w/out RSA and Cert/CSR signing with unknown OID#6902
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
dgarske:various_20231020

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented Oct 20, 2023

Description

  • Fix for build PKCS7 with RSA disabled.
  • Fix for adding signature where OID is not found. Currently our AddSignature function will add without OID, which is invalid. For example RSA is disabled and CSR tries to use CTC_SHA256wRSA. The wc_SignCert_ex will succeed and report success, but the CSR/Cert will be invalid (missing sigType OID).

Fixes ZD 16675

Testing

./configure --enable-pkcs7 --disable-rsa && make check

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

…nature function will add without OID, which is invalid. For example RSA is disabled and CSR tries to use `CTC_SHA256wRSA`. The `wc_SignCert_ex` will succeed and report success, but the CSR/Cert will be invalid (missing sigType OID).
@dgarske dgarske self-assigned this Oct 20, 2023
@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Oct 23, 2023

Retest this please

2 similar comments
@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Oct 24, 2023

Retest this please

@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Oct 24, 2023

Retest this please

@JacobBarthelmeh JacobBarthelmeh merged commit 026c4bc into wolfSSL:master Nov 1, 2023
@dgarske dgarske deleted the various_20231020 branch December 19, 2023 01:26
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.

3 participants