Skip to content

Conversation

@space88man
Copy link

@space88man space88man commented Jul 13, 2025

Add the optional KeyLength field which is the standard for PBKDF2 params.

In practice, this field is almost always omitted. However if the PKCS#8 file actually contains this field the unmarshalling step will be incorrect.

This tweak taken from go-pkcs12: https://github.com/SSLMate/go-pkcs12/blob/master/crypto.go#L200
Addresses #45

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.

1 participant