Skip to content

PushSharp filling up machine keys folder? #929

@fedcas-assaabloy

Description

@fedcas-assaabloy

What version of PushSharp are you using?

PushSharp V 4.0.10

Describe your issue:

Our server has been using PushSharp for years, and last week we noticed that the folder "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" in our server has millons of temp files which filled up the disk.
Later, we realized that using the X509Certificate2 constructor with the "byte[] rawData" parameter is not recommended because it creates these temp files.
The only code that uses this constructor in our backend is PushSharp.

Is this a common issue? Are we doing something wrong?
Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions