Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

blob decryption logic error #1046

Open
RoySubhajit90 opened this issue Jun 8, 2021 · 0 comments
Open

blob decryption logic error #1046

RoySubhajit90 opened this issue Jun 8, 2021 · 0 comments

Comments

@RoySubhajit90
Copy link

RoySubhajit90 commented Jun 8, 2021

@erezvani1529 I have to add key in resolver so instead of key as string, I have to add RsaKey object in resolver.

RsaKey key = new RsaKey("mykey");
LocalResolver resolver = new LocalResolver();
resolver.Add(key); -- here I have to add key object
Or

LocalResolver resolver = new LocalResolver();
var keyResolver = resolver.ResolveKeyAsync("myKey", CancellationToken.None).Result;
BlobEncryptionPolicy downloadPolicy = new BlobEncryptionPolicy(null, resolver);

Both above code is not working. I'm trying with different thread.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant