RustCrypto / formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
228 stars 122 forks source link

spki: fix `OidUnknown` reporting #1378

Closed tarcieri closed 3 months ago

tarcieri commented 3 months ago

As noted in RustCrypto/RSA#422, we're not returning the actual "unknown OID" encountered in these cases, but the expected one, which makes it hard to debug mismatches.

tarcieri commented 3 months ago

Can make an issue for followup work