Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DecryptToText method returning blank string #31

Open
solinski opened this issue Aug 12, 2021 · 1 comment
Open

DecryptToText method returning blank string #31

solinski opened this issue Aug 12, 2021 · 1 comment

Comments

@solinski
Copy link

Need to seek to beginning of memoryStream before reading it to the string variable "end"

Streams.PipeAll(((PgpLiteralData)pgpObject1).GetInputStream(), memoryStream);
memoryStream.Seek(0, SeekOrigin.Begin);
end = (new StreamReader(memoryStream)).ReadToEnd();

Cinchoo added a commit that referenced this issue Aug 12, 2021
DecryptToText method returning blank string #31
@Cinchoo
Copy link
Owner

Cinchoo commented Aug 12, 2021

Applied fix, pushed new version v1.0.0.4

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

No branches or pull requests

2 participants