Skip to content

Conversation

ColtonWilley
Copy link
Contributor

@ColtonWilley ColtonWilley commented Apr 15, 2025

Order of calling for decoders is not fixed, if PSS decoder is called first for a non-PKCS8 key then the spki decode works and its pkey type is set to RSA-PSS, also without a private key portion. Modify code to have PSS SPKI decode check for RSA OID and fail if missing, allowing base RSA to properly claim the decode.

Was not able to recreate a test case for this, but will be tested when OpenSC CI is brought in soon.

@ColtonWilley ColtonWilley requested a review from SparkiDev April 15, 2025 19:09
@SparkiDev SparkiDev self-assigned this Apr 30, 2025
@SparkiDev SparkiDev merged commit 6f8b5bc into wolfSSL:master Apr 30, 2025
21 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