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

Relax client key-usage verification #301

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Relax client key-usage verification #301

merged 2 commits into from
Nov 12, 2018

Conversation

ocheron
Copy link
Contributor

@ocheron ocheron commented Nov 11, 2018

Addresses the issue described in #274. The client-side verification previously added causes handshake failure if a RSA certificate does not have all possible bits set and the server implementation does not take into consideration the key usage when selecting the key exchange and cipher.

Client side now accepts any one of possible values.  Server side is
strict as before.
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 Nov 12, 2018
@kazu-yamamoto kazu-yamamoto merged commit 94fab3b into haskell-tls:master Nov 12, 2018
@kazu-yamamoto
Copy link
Collaborator

Merged.

@ocheron ocheron deleted the key-usage-relaxed branch November 17, 2018 07:50
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