Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upcrypto: docs-only deprecate crypto.fips, replace #18335
Conversation
jasnell
added
crypto
semver-major
labels
Jan 24, 2018
nodejs-github-bot
added
the
crypto
label
Jan 24, 2018
jasnell
requested a review
from nodejs/tsc
Jan 24, 2018
Trott
reviewed
Jan 24, 2018
| Type: Documentation-only | ||
| The [`crypto.fips`][] property has been deprecated and replaced with | ||
| `crypto.setFips()` and `crypto.getFips()`. |
This comment has been minimized.
This comment has been minimized.
Trott
Jan 24, 2018
Member
I prefer more direct wording:
The [`crypto.fips`][] property is deprecated. Please use
`crypto.setFips()` and `crypto.getFips()`.
addaleax
approved these changes
Jan 24, 2018
jasnell
added this to the 10.0.0 milestone
Jan 24, 2018
vsemozhetbyt
reviewed
Jan 24, 2018
| Returns `true` if (and only if) a FIPS compliant crypto provider is | ||
| currently in use. | ||
|
|
||
| This property is deprecated. Please use `crypto.setFips()` and |
This comment has been minimized.
This comment has been minimized.
vsemozhetbyt
reviewed
Jan 24, 2018
| @@ -831,6 +839,7 @@ is not included in this list will be considered invalid in compliance with | |||
| [`console.error()`]: console.html#console_console_error_data_args | |||
| [`console.log()`]: console.html#console_console_log_data_args | |||
| [`crypto.createCredentials()`]: crypto.html#crypto_crypto_createcredentials_details | |||
| [`crypto.fips`]: crypto.html#crypto_crypto.fips | |||
This comment has been minimized.
This comment has been minimized.
cjihrig
approved these changes
Jan 24, 2018
| added: REPLACEME | ||
| --> | ||
|
|
||
| Returns `true` if (and only if) a FIPS compliant crypto provider is |
This comment has been minimized.
This comment has been minimized.
guybedford
approved these changes
Jan 24, 2018
This comment has been minimized.
This comment has been minimized.
|
Yep. That would be trivial. We are also allowed to reclassify docs only
deprecations as semver-major if TSC agrees
…On Jan 24, 2018 07:27, "Jordan Harband" ***@***.***> wrote:
Even though the deprecation might require semver-major, could the new
additions be added in a semver-minor and backported? That would maximize
the ease of migration.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#18335 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAa2eSaDmLSCYAKOUwzQTU6o8veytQygks5tN0v0gaJpZM4Rqim2>
.
|
This comment has been minimized.
This comment has been minimized.
|
Ping @nodejs/tsc ... I'd like to treat this docs-only deprecation as semver-minor. Any objections? |
This comment has been minimized.
This comment has been minimized.
maclover7
approved these changes
Jan 26, 2018
maclover7
added
the
author ready
label
Jan 26, 2018
maclover7
force-pushed the
nodejs:master
branch
from
bb5575a
to
993b716
Jan 26, 2018
cjihrig
force-pushed the
nodejs:master
branch
from
993b716
to
082f952
Jan 26, 2018
This comment has been minimized.
This comment has been minimized.
|
+1 for semver-minor for doc-only here. Perhaps there should also be a Upd: opened #18417. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
jasnell
force-pushed the
jasnell:crypto-replace-crypto.fips
branch
from
54bd37a
to
877e1c9
Feb 1, 2018
This comment has been minimized.
This comment has been minimized.
ChALkeR
reviewed
Feb 1, 2018
| @@ -845,7 +852,15 @@ The [`crypto.DEFAULT_ENCODING`][] property is deprecated. | |||
| [`console.error()`]: console.html#console_console_error_data_args | |||
| [`console.log()`]: console.html#console_console_log_data_args | |||
| [`crypto.createCredentials()`]: crypto.html#crypto_crypto_createcredentials_details | |||
| <<<<<<< HEAD | |||
| <<<<<<< HEAD | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
BridgeAR
added
semver-minor
and removed
author ready
semver-major
labels
Feb 1, 2018
This comment has been minimized.
This comment has been minimized.
|
I changed it to semver-minor as there was enough time to speak up against it and there was only a voice pro. |
jasnell
force-pushed the
jasnell:crypto-replace-crypto.fips
branch
from
d488810
to
900bf45
Feb 1, 2018
This comment has been minimized.
This comment has been minimized.
|
Note: I will land this after I get #18492 landed. |
BridgeAR
approved these changes
Feb 1, 2018
BridgeAR
added
the
author ready
label
Feb 1, 2018
jasnell
force-pushed the
jasnell:crypto-replace-crypto.fips
branch
from
900bf45
to
1dece49
Feb 1, 2018
This comment has been minimized.
This comment has been minimized.
jasnell
added a commit
that referenced
this pull request
Feb 2, 2018
This comment has been minimized.
This comment has been minimized.
|
Landed in 6e7992e |
jasnell
closed this
Feb 2, 2018
addaleax
removed
the
author ready
label
Feb 4, 2018
msoechting
added a commit
to hpicgs/node
that referenced
this pull request
Feb 5, 2018
msoechting
added a commit
to hpicgs/node
that referenced
this pull request
Feb 7, 2018
MylesBorins
added
the
backport-requested-v9.x
label
Feb 20, 2018
This comment has been minimized.
This comment has been minimized.
|
This does not land cleanly on v9.x This is because other deprecations have landed on master that have been given codes. If we are going to land this as semver minor would someone be willing to backport and assign an appropriate code to make sure we don't double dip |
jasnell commentedJan 24, 2018
Docs-only deprecate the getter/setter
crypto.fipsand replace withcrypto.setFips()andcrypto.getFips()This is specifically in preparation for ESM module support
Refs: #18131
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
crypto