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 truncated output when decrypting a large file to stdout via -d #175

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

whentze
Copy link
Contributor

@whentze whentze commented Mar 14, 2023

@whentze whentze marked this pull request as draft March 14, 2023 17:58
@whentze whentze marked this pull request as ready for review March 14, 2023 18:03
@whentze
Copy link
Contributor Author

whentze commented Mar 14, 2023

I tried it locally and it does fix the issue. Should we add a regression test for this?

@cole-h
Copy link
Collaborator

cole-h commented Mar 14, 2023

I haven't touched our regression tests, but I do think it would be a good idea to make sure we are able to decrypt entire files without truncating. If it's easy to add a test for that, I would encourage you to do so!

@whentze
Copy link
Contributor Author

whentze commented Apr 19, 2023

Hey, I spent some time thinking about this and didn't find an easy way to write a regression test, or at least not one that doesn't need to change the test setup considerably. Could we merge this fix even without one?

Copy link
Owner

@ryantm ryantm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ryantm ryantm merged commit 0e3a237 into ryantm:main Apr 21, 2023
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.

3 participants