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

Add a new option to limit DH key size in tls connect #1831

Closed
wants to merge 3 commits into from

Commits on Aug 27, 2015

  1. tls: add TLSSocket.getEphemeralKeyInfo()

    Returns an object representing a type, name and size of an ephemeral
    key exchange(PFS) in a client connection.
    
    This api is only supported not on a server connection but on a
    client. When it is called on a server connection or its key exchange
    is not ephemeral, an empty object is returned.
    Shigeki Ohtsu committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    a20cfac View commit details
    Browse the repository at this point in the history
  2. tls: add minDHSize option to tls.connect()

    Add a new option to specifiy a minimum size of an ephemeral DH
    parameter to accept a tls connection. Default is 1024 bit.
    Shigeki Ohtsu committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    a351777 View commit details
    Browse the repository at this point in the history
  3. tls: output warning of setDHParam to console.trace

    To make it easy to figure out where the warning comes from.
    Also fix style and variable name that was made in nodejs#1739.
    Shigeki Ohtsu committed Aug 27, 2015
    Configuration menu
    Copy the full SHA
    b867a31 View commit details
    Browse the repository at this point in the history