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 a custom PFX/PKCS12 loader/exporter on non-Windows platforms #30668

Closed
bartonjs opened this issue Aug 23, 2019 · 1 comment · Fixed by dotnet/corefx#42226
Closed

Use a custom PFX/PKCS12 loader/exporter on non-Windows platforms #30668

bartonjs opened this issue Aug 23, 2019 · 1 comment · Fixed by dotnet/corefx#42226
Labels
area-System.Security enhancement Product code improvement that does NOT require public API changes/additions os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX
Milestone

Comments

@bartonjs
Copy link
Member

We have a slew of bugs related to inconsistencies between the Windows PFX loader (PFXImportCertStore), the Unix PFX loader (PKCS12_parse), and the macOS PFX loader (SecItemImport), and their paired export functions:

(And probably others)

Now that we have experience with manually loading PKCS#12/PFX content (the Pkcs12Info class) and writing it (Pkcs12Builder), we should just use a custom loader and unify the experience across the platforms.

@danieljsummers
Copy link

I'll second that. Just ran into the same issue with .NET Core 2.2.6; thankfully, it was just the www-data user that was affected. I can run the process as another non-root user, which is a fine workaround.

@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the 5.0 milestone Feb 1, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security enhancement Product code improvement that does NOT require public API changes/additions os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants