Skip to content

ParsedCiphertext should throw an error if it is not complete #114

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

Closed
mattsb42-aws opened this issue Jun 26, 2019 · 0 comments
Closed

ParsedCiphertext should throw an error if it is not complete #114

mattsb42-aws opened this issue Jun 26, 2019 · 0 comments
Labels

Comments

@mattsb42-aws
Copy link
Member

ParsedCiphertext will currently accept a partial ciphertext without error.

Before returning from the constructor, we need to check to make sure that isComplete_ is true.

This is most problematic if the ciphertext is only one byte becase of #113.

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

No branches or pull requests

2 participants