Skip to content

C#: Calling grant on a EncryptionKey throws Parameter count mismatch #2375

@McDoit

Description

@McDoit

Describe the bug
Calling testKey.GrantEncryptDecrypt(new Anyone()); throws System.Reflection.TargetParameterCountException: Parameter count mismatch.
on the GrantEncryptDecrypt or any Grant part

To Reproduce

var testKey = new EncryptionKey(this, "key", new EncryptionKeyProps
                {
                    Description = "test key",
                    EnableKeyRotation = false,
                    Enabled = true,
                    Retain = false
                });

                testKey.GrantEncryptDecrypt(new Anyone());

Expected behavior
The grant to happen, worked in 0.28

Version:

  • Windows 10
  • dotnet core 2.1, C#
  • 0.29

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.language/dotnetRelated to .NET bindingsp1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions