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

Fix incompatibility w/ Portable.BouncyCastle 1.9.0 #174

Merged
merged 1 commit into from
Sep 2, 2022
Merged

Fix incompatibility w/ Portable.BouncyCastle 1.9.0 #174

merged 1 commit into from
Sep 2, 2022

Conversation

gtbuchanan
Copy link
Contributor

This resolves the "Cannot Access a closed stream" error during decryption by delaying disposal of all streams returned from GetDataStream.

Fixes #140

Adapted from #155

This resolves the "Cannot Access a closed stream" error during
decryption by delaying disposal of all streams returned from
`GetDataStream`.

Fixes #140
@mattosaurus mattosaurus merged commit 096baad into mattosaurus:master Sep 2, 2022
@mattosaurus
Copy link
Owner

Thanks for submitting this PR. I've merged the changes into main and published an updated v5.9.0 package to NuGet. Hopefully this will be all sorted now.

@gtbuchanan
Copy link
Contributor Author

gtbuchanan commented Sep 6, 2022

I've merged the changes into main and published an updated v5.9.0 package to NuGet.

@mattosaurus Did you intend to say v5.8.0? If so, the new v5.8.0 NuGet package does not seem to contain my changes. The v5.8.0 tag does contain my changes so I'm not sure what happened there.

I confirmed with JetBrains dotPeek:
image

@mattosaurus
Copy link
Owner

I did mean v5.8.0 but it looks like I built and published the package without syncing to pick up your changes.

I've published a v5.8.1 now which (hopefully) includes them.

@gtbuchanan gtbuchanan deleted the fix-stream-disposal branch September 6, 2022 13:27
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

Successfully merging this pull request may close these issues.

"Cannot Access a closed stream" error with PGPCore 5.4.0 and Portable.BouncyCastle 1.9.0
2 participants