Skip to content

Error is not clear when decrypting using a cert that has no private key #3

@ThomasHughesIV

Description

@ThomasHughesIV

Error needs to be clearer when decrypting and specifying a cert with no private key.

Error that comes up:
Message : Object reference not set to an instance of an object.

It should be more clear, or at least check the cert being passed to ensure HasPrivateKey = $true

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions