Skip to content

CryptographicException on Unix when exporting an empty collection as a PFX #15006

Description

@bartonjs

This has the same underlying function as a cause as #15004, PKCS12_create. Since it never added anything to an authsafe it never created the authsafe stack, and then reports a data validation error because it didn't expect a NULL to make it through.

When/if we switch to creating PFX files without the helper function's limitations this should go away (but it's a separate problem, and could accidentally not be fixed, so a separate issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Securitydisabled-testThe test is disabled in source code against the issueenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributorsos-linuxLinux OS (any supported distro)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions