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

The library failed to detect .pfx extension #394

Open
sslankesh opened this issue May 31, 2023 · 1 comment
Open

The library failed to detect .pfx extension #394

sslankesh opened this issue May 31, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sslankesh
Copy link

Attach the file for which the detection is inaccurate
You can use the file sharing site of your choice, just ensure the file will not expire or get deleted.

Expected MIME type
application/x-pkcs12

Returned MIME type
application/octet-stream

Version of the library you are using
v1.4.2

Output of go version
go version go1.20.4 darwin/arm64

Additional context

Alternatively, you can fork the project, commit the file with a failing test and reference the commit in the issue.

@gabriel-vasile gabriel-vasile added enhancement New feature or request help wanted Extra attention is needed labels Jun 3, 2023
@gabriel-vasile
Copy link
Owner

PKCS file format is not supported and it looks like a complicated format to detect.
If anyone is interested in adding detection for it, here are some starting points:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants