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 sslmate go-pkcs12 lib #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nimajalali
Copy link

On newer versions of MacOS p12 files are generated using sha256 hmac. This results in an error when loading the p12 file: pkcs12: unknown digest algorithm: 2.16.840.1.101.3.4.2.1

The golang.org/x/crypto/pkcs12 pkg is frozen and will not be updated to support sha256 hmacs. The crypto pkg recommends using software.sslmate.com/src/go-pkcs12 which is a drop in replacement.

On newer versions of MacOS p12 files are generated using sha256
hmac. This results in an error when loading the p12 file:
pkcs12: unknown digest algorithm: 2.16.840.1.101.3.4.2.1

The golang.org/x/crypto/pkcs12 pkg is frozen and will not be updated
to support sha256 hmacs. The crypto pkg recommends using
software.sslmate.com/src/go-pkcs12 which is a drop in replacement.
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.

None yet

1 participant