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

Throw BadRecordMac when the decrypted record has invalid format #347

Closed
wants to merge 1 commit into from
Closed

Throw BadRecordMac when the decrypted record has invalid format #347

wants to merge 1 commit into from

Conversation

ocheron
Copy link
Contributor

@ocheron ocheron commented Jan 24, 2019

To address the issue reported in #285, this PR changes the alert raised by functions get2 and get3 when applied to decrypted content.

Here no attempt to switch to a constant-time implementation as this is quite difficult.

@kazu-yamamoto kazu-yamamoto self-requested a review January 24, 2019 23:20
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

LGTM.

kazu-yamamoto added a commit to kazu-yamamoto/hs-tls that referenced this pull request Jan 24, 2019
@kazu-yamamoto
Copy link
Collaborator

Merged.

@ocheron ocheron deleted the record-padding branch January 25, 2019 05:41
@ocheron
Copy link
Contributor Author

ocheron commented Jan 26, 2019

Thanks.

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.

None yet

2 participants