Skip to content
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

Hardcode OID #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Hardcode OID #57

wants to merge 2 commits into from

Conversation

bandi13
Copy link
Contributor

@bandi13 bandi13 commented Nov 21, 2024

Set the OID of the Signature Algorithm to sha256WithRSAEncryption.

@bandi13 bandi13 self-assigned this Nov 21, 2024
@bandi13
Copy link
Contributor Author

bandi13 commented Nov 22, 2024

retest this please

@bandi13 bandi13 assigned SparkiDev and wolfSSL-Bot and unassigned bandi13 Nov 22, 2024
src/wp_rsa_sig.c Outdated
@@ -1247,7 +1247,13 @@ static int wp_rsa_get_alg_id(wp_RsaSigCtx* ctx, OSSL_PARAM* p)
/* TODO: implement */
(void)ctx;
(void)p;
return 0;
const byte oid[] = {0x30, 0x0b, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x04, 0x10};
Copy link
Contributor

Choose a reason for hiding this comment

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

Which OID is this?
Rename variable.
(We should have more but if this fixes the customer's issue then we'll leave the TOOD.)

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