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

Use context specific for PKCS7 encrypted data encoding #7965

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

ColtonWilley
Copy link
Contributor

Description

While the current encoding for PKCS8 PBE is within specification, openssl will only parse the indefinite length form which the old ASN code used to generate before the move to the ASN template. Modify ASN template for PKCS8 PBE encoding to use indefinite length, making it consistent with both old ASN code and openssl expectations.

Fixes zd 18515

… it consistent with both old ASN code and openssl
wolfcrypt/src/asn.c Show resolved Hide resolved
@ColtonWilley ColtonWilley changed the title Use indefinite length for PKCS8 PBE Use context specific for PKCS7 encrypted data encoding Sep 12, 2024
@SparkiDev SparkiDev assigned SparkiDev and unassigned ColtonWilley Sep 13, 2024
@SparkiDev SparkiDev merged commit 4fa20cb into wolfSSL:master Sep 13, 2024
135 checks passed
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.

2 participants