FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: general improvements to tls.md copy by jasnell · Pull Request #6933 · nodejs/node · GitHub

/ node Public

doc: general improvements to tls.md copy - #6933

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:doc-tls-copy
Closed

doc: general improvements to tls.md copy#6933
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:doc-tls-copy

Conversation

jasnell commented May 23, 2016

Copy link
Copy Markdown
Member
Checklist
  • documentation is changed or added
  • the commit message follows commit guidelines
Affected core subsystem(s)

doc (tls)

Description of change

General improvements to tls.md copy

@nodejs/documentation @nodejs/crypto

jasnell added tls Issues and PRs related to the tls subsystem. crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels May 23, 2016
Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think we do not support either of SSL2 or SSL3 by default anymore. Is it worth mentioning here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yeah, I made a note of that for myself when I was going through this. There are a couple of outdated bits in this that should be updated.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Should we at least add deprecated to SSL?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Perhaps... let's do this separately. There are a couple places where the SSL stuff in this doc needs to be updated.

Copy link
Copy Markdown
Contributor

nit: we are very, very inconsistent about it, but I would prefer the "Note"-section preceded with an underscore and only ended with an underscore after/with the relevant section.

Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Unmatched backtick

Copy link
Copy Markdown
Contributor

@eljefedelrodeodeljefe I totally agree. We should perhaps document the conventions followed in docs, somewhere.

Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Let's add a note about deprecation of NPN. It was never documented officially, and now is slowly going away.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Deprecation just in Node.js or deprecation in general use?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Ack

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Added

jasnell commented May 23, 2016
edited
Loading

Copy link
Copy Markdown
Member Author

@thefourtheye @eljefedelrodeodeljefe ... regarding the Note sections, I have something different in mind when I'm done going through each of these documents... I'd like to explore making them true aside callout in the rendered html, pulled out of the regular text flow using <aside>. But first I need to get all of our instances normalized.

jasnell commented May 23, 2016

Copy link
Copy Markdown
Member Author

@addaleax @indutny @thefourtheye ... nits addressed

Copy link
Copy Markdown
Contributor

@jasnell SGTM

Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nit, but server's private key?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

What about this?

indutny commented May 23, 2016

Copy link
Copy Markdown
Member

Few more nits, otherwise LGTM. This is looking really great, thank you!

jasnell commented May 23, 2016

Copy link
Copy Markdown
Member Author

Nits updated!

Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I see it now, nvm.

indutny commented May 23, 2016

Copy link
Copy Markdown
Member

LGTM, good job on this @jasnell

mscdex removed the crypto Issues and PRs related to the crypto subsystem. label May 24, 2016
Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

If I were a pedant, I'd point out that null ciphers (i.e., no-auth and no-encrypt ciphers) that don't require a key do exist.

Fortunately, I'm not a pedant!

jasnell commented May 24, 2016

Copy link
Copy Markdown
Member Author

@shigeki @bnoordhuis ... nits addressed! commits squashed and message updated.

Copy link
Copy Markdown
Member

I couldn't spot whether you changed the description for the checkServerIdentity callback. Maybe it's because it's documented in several places.

Comment thread doc/api/tls.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This link was already outdated. https://www.chromium.org/Home/chromium-security/education/tls#TOC-Cipher-Suites seems to be a new one.

shigeki commented May 25, 2016

Copy link
Copy Markdown
Contributor

@jasnell Just one minor nits, otherwise LGTM. Good work, thanks.

jasnell commented May 25, 2016

Copy link
Copy Markdown
Member Author

jasnell commented May 25, 2016

Copy link
Copy Markdown
Member Author

@bnoordhuis ... updated both instances of the checkServerIdentity text to the updated language.

Copy link
Copy Markdown
Member

I only see one change in commit 49e287f. Did I overlook something?

jasnell commented May 25, 2016

Copy link
Copy Markdown
Member Author

@bnoordhuis ... the other one was here -> 129be4b#diff-f6e3a86962eaf0897ab59e88b418e64fR724

It was squashed in with the other changes...

Copy link
Copy Markdown
Member

Ah, alright. LGTM then.

Restructuring and clarifications to the tls.md copy
to improve readability and flow.
jasnell added a commit that referenced this pull request May 26, 2016
Restructuring and clarifications to the tls.md copy
to improve readability and flow.

PR-URL: #6933
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>

jasnell commented May 26, 2016

Copy link
Copy Markdown
Member Author

Landed in 1b6a468. Thanks all.
For the next round of edits I will work on pulling out the SSL references that are no longer relevant.

jasnell closed this May 26, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request May 30, 2016
Restructuring and clarifications to the tls.md copy
to improve readability and flow.

PR-URL: nodejs#6933
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
rvagg pushed a commit that referenced this pull request Jun 2, 2016
Restructuring and clarifications to the tls.md copy
to improve readability and flow.

PR-URL: #6933
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>

Copy link
Copy Markdown
Contributor

added don't land label please feel free to backport

Comment thread doc/api/tls.md
- `certfile`: all CA certs concatenated in one file like
`cat ca1-cert.pem ca2-cert.pem > ca-cert.pem`
If using Perfect Foward Secrecy using `ECDHE`, Diffie-Hellman parameters are
not required and a default ECDHE curve will be used. The `ecdheCurve` property

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

ecdheCurve or ecdhCurve?

sam-github added a commit to sam-github/node that referenced this pull request Dec 20, 2016
Addresses comment after PR nodejs#6933 merged.

nodejs#6933 (review)

PR-URL: nodejs#10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
cjihrig pushed a commit to cjihrig/node that referenced this pull request Dec 20, 2016
Addresses comment after PR nodejs#6933 merged.

nodejs#6933 (review)

PR-URL: nodejs#10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
cjihrig pushed a commit that referenced this pull request Dec 20, 2016
Addresses comment after PR #6933 merged.

#6933 (review)

PR-URL: #10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
MylesBorins pushed a commit that referenced this pull request Jan 22, 2017
Addresses comment after PR #6933 merged.

#6933 (review)

PR-URL: #10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
MylesBorins pushed a commit that referenced this pull request Jan 24, 2017
Addresses comment after PR #6933 merged.

#6933 (review)

PR-URL: #10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
MylesBorins pushed a commit that referenced this pull request Jan 31, 2017
Addresses comment after PR #6933 merged.

#6933 (review)

PR-URL: #10345
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants


Back | FazBrowse Home | New Git URL