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

Support for ECDHE key exchange #38

Merged
merged 21 commits into from
Nov 27, 2015
Merged

Support for ECDHE key exchange #38

merged 21 commits into from
Nov 27, 2015

Conversation

tomato42
Copy link
Member

  • support for ECDHE key exchange (including automatic negotiation of curve used)
  • support for AECDH on client side
  • refactoring of key exchange code to make supporting other key exchange methods easier, both to add and to test
  • test coverage for all key exchange methods
  • extension of support for TLSv1.2 signature algorithms on ServerKeyExchange and CertificateVerify - now all signature hashes are supported and are negotiated according to spec
  • more test coverage, cleanups and documentation for assorted methods

will fix #37

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.81% when pulling 7b55f96 on ecdh into 741f9f8 on master.

@tomato42 tomato42 changed the title [WIP] preliminary support for ECDHE [WIP] Support for ECDHE key exchange Oct 18, 2015
@tomato42 tomato42 added this to the v0.6.0 milestone Oct 18, 2015
@tomato42
Copy link
Member Author

I'll probably move AECDH support to 0.7.0, please speak up if you'd like to see it earlier

the method become rather large, group the methods
and put them into separate methods
since all staticmethods are standalone, accessing
_filterSuites from within them accesses "external"
class private method. Remake them to class methods
so that the dependency is explicit
since all staticmethods are standalone, accessing
_pkcs1Prefixes from within them accesses "external"
class field. Remake them to class methods so that
the dependency is explicit rather than implicit
since all collections have a boolean representation
use it to avoid optical clutter
no point in using multiple if statements if one will do
@tomato42 tomato42 added the review request PR finished, ready for review label Nov 26, 2015
@tomato42 tomato42 changed the title [WIP] Support for ECDHE key exchange Support for ECDHE key exchange Nov 26, 2015
tomato42 added a commit that referenced this pull request Nov 27, 2015
Support for ECDHE key exchange
@tomato42 tomato42 merged commit bc101ff into master Nov 27, 2015
@tomato42 tomato42 deleted the ecdh branch November 27, 2015 12:53
@jbremer
Copy link

jbremer commented Dec 1, 2015

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review request PR finished, ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ECDHE key exchange
4 participants