Skip to content

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

Closed
dotnet/corefx
#42226

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).

Activity

  1. self-assigned this
    on Aug 12, 2015
  2. removed their assignment
    on Nov 9, 2016
  3. transferred this issue fromdotnet/corefxon Jan 31, 2020
  4. added this to the 5.0 milestone on Jan 31, 2020
  5. ghost locked as resolved and limited conversation to collaborators on Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Securitydisabled-testenhancementhelp wantedos-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions