fsevents 1.1.1 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +13 -13
- package/binding.gyp +1 -9
- package/fsevents.cc +18 -32
- package/fsevents.js +1 -3
- package/install.js +13 -7
- package/package.json +7 -21
- package/src/async.cc +2 -2
- package/src/constants.cc +20 -20
- package/src/methods.cc +9 -7
- package/src/thread.cc +5 -6
- package/.npmignore +0 -1
- package/build/.target.mk +0 -49
- package/build/Makefile +0 -352
- package/build/action_after_build.target.mk +0 -32
- package/build/binding.Makefile +0 -6
- package/build/fse.target.mk +0 -169
- package/build/gyp-mac-tool +0 -612
- package/lib/binding/Release/node-v11-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v46-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
- package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
- package/node_modules/abbrev/LICENSE +0 -15
- package/node_modules/abbrev/README.md +0 -23
- package/node_modules/abbrev/abbrev.js +0 -61
- package/node_modules/abbrev/package.json +0 -93
- package/node_modules/ansi-regex/index.js +0 -4
- package/node_modules/ansi-regex/license +0 -21
- package/node_modules/ansi-regex/package.json +0 -132
- package/node_modules/ansi-regex/readme.md +0 -39
- package/node_modules/ansi-styles/index.js +0 -65
- package/node_modules/ansi-styles/license +0 -21
- package/node_modules/ansi-styles/package.json +0 -114
- package/node_modules/ansi-styles/readme.md +0 -86
- package/node_modules/aproba/LICENSE +0 -14
- package/node_modules/aproba/README.md +0 -89
- package/node_modules/aproba/index.js +0 -103
- package/node_modules/aproba/package.json +0 -96
- package/node_modules/are-we-there-yet/.npmignore +0 -5
- package/node_modules/are-we-there-yet/CHANGES.md +0 -19
- package/node_modules/are-we-there-yet/LICENSE +0 -5
- package/node_modules/are-we-there-yet/README.md +0 -194
- package/node_modules/are-we-there-yet/index.js +0 -4
- package/node_modules/are-we-there-yet/package.json +0 -90
- package/node_modules/are-we-there-yet/test/lib/test-event.js +0 -29
- package/node_modules/are-we-there-yet/test/tracker.js +0 -57
- package/node_modules/are-we-there-yet/test/trackergroup.js +0 -96
- package/node_modules/are-we-there-yet/test/trackerstream.js +0 -51
- package/node_modules/are-we-there-yet/tracker-base.js +0 -11
- package/node_modules/are-we-there-yet/tracker-group.js +0 -107
- package/node_modules/are-we-there-yet/tracker-stream.js +0 -35
- package/node_modules/are-we-there-yet/tracker.js +0 -30
- package/node_modules/asn1/.npmignore +0 -2
- package/node_modules/asn1/.travis.yml +0 -4
- package/node_modules/asn1/LICENSE +0 -19
- package/node_modules/asn1/README.md +0 -50
- package/node_modules/asn1/lib/ber/errors.js +0 -13
- package/node_modules/asn1/lib/ber/index.js +0 -27
- package/node_modules/asn1/lib/ber/reader.js +0 -261
- package/node_modules/asn1/lib/ber/types.js +0 -36
- package/node_modules/asn1/lib/ber/writer.js +0 -316
- package/node_modules/asn1/lib/index.js +0 -20
- package/node_modules/asn1/package.json +0 -98
- package/node_modules/asn1/tst/ber/reader.test.js +0 -208
- package/node_modules/asn1/tst/ber/writer.test.js +0 -370
- package/node_modules/assert-plus/AUTHORS +0 -6
- package/node_modules/assert-plus/CHANGES.md +0 -8
- package/node_modules/assert-plus/README.md +0 -155
- package/node_modules/assert-plus/assert.js +0 -206
- package/node_modules/assert-plus/package.json +0 -115
- package/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/asynckit/README.md +0 -233
- package/node_modules/asynckit/bench.js +0 -76
- package/node_modules/asynckit/index.js +0 -6
- package/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/asynckit/package.json +0 -126
- package/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/asynckit/serial.js +0 -17
- package/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/asynckit/stream.js +0 -21
- package/node_modules/aws-sign2/LICENSE +0 -55
- package/node_modules/aws-sign2/README.md +0 -4
- package/node_modules/aws-sign2/index.js +0 -212
- package/node_modules/aws-sign2/package.json +0 -81
- package/node_modules/aws4/.npmignore +0 -4
- package/node_modules/aws4/.tern-port +0 -1
- package/node_modules/aws4/.travis.yml +0 -5
- package/node_modules/aws4/LICENSE +0 -19
- package/node_modules/aws4/README.md +0 -523
- package/node_modules/aws4/aws4.js +0 -332
- package/node_modules/aws4/lru.js +0 -96
- package/node_modules/aws4/package.json +0 -140
- package/node_modules/balanced-match/.npmignore +0 -5
- package/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/balanced-match/README.md +0 -91
- package/node_modules/balanced-match/index.js +0 -58
- package/node_modules/balanced-match/package.json +0 -110
- package/node_modules/bcrypt-pbkdf/README.md +0 -39
- package/node_modules/bcrypt-pbkdf/index.js +0 -556
- package/node_modules/bcrypt-pbkdf/package.json +0 -84
- package/node_modules/block-stream/LICENCE +0 -25
- package/node_modules/block-stream/LICENSE +0 -15
- package/node_modules/block-stream/README.md +0 -14
- package/node_modules/block-stream/block-stream.js +0 -209
- package/node_modules/block-stream/package.json +0 -95
- package/node_modules/boom/.npmignore +0 -18
- package/node_modules/boom/.travis.yml +0 -8
- package/node_modules/boom/CONTRIBUTING.md +0 -1
- package/node_modules/boom/LICENSE +0 -28
- package/node_modules/boom/README.md +0 -652
- package/node_modules/boom/images/boom.png +0 -0
- package/node_modules/boom/lib/index.js +0 -318
- package/node_modules/boom/package.json +0 -98
- package/node_modules/boom/test/index.js +0 -654
- package/node_modules/brace-expansion/README.md +0 -122
- package/node_modules/brace-expansion/index.js +0 -201
- package/node_modules/brace-expansion/package.json +0 -112
- package/node_modules/buffer-shims/index.js +0 -108
- package/node_modules/buffer-shims/license.md +0 -19
- package/node_modules/buffer-shims/package.json +0 -86
- package/node_modules/buffer-shims/readme.md +0 -21
- package/node_modules/caseless/LICENSE +0 -28
- package/node_modules/caseless/README.md +0 -45
- package/node_modules/caseless/index.js +0 -66
- package/node_modules/caseless/package.json +0 -96
- package/node_modules/caseless/test.js +0 -40
- package/node_modules/chalk/index.js +0 -116
- package/node_modules/chalk/license +0 -21
- package/node_modules/chalk/package.json +0 -140
- package/node_modules/chalk/readme.md +0 -213
- package/node_modules/code-point-at/index.js +0 -32
- package/node_modules/code-point-at/license +0 -21
- package/node_modules/code-point-at/package.json +0 -106
- package/node_modules/code-point-at/readme.md +0 -32
- package/node_modules/combined-stream/License +0 -19
- package/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/combined-stream/lib/combined_stream.js +0 -188
- package/node_modules/combined-stream/package.json +0 -101
- package/node_modules/commander/History.md +0 -261
- package/node_modules/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -351
- package/node_modules/commander/index.js +0 -1110
- package/node_modules/commander/package.json +0 -104
- package/node_modules/concat-map/.travis.yml +0 -4
- package/node_modules/concat-map/LICENSE +0 -18
- package/node_modules/concat-map/README.markdown +0 -62
- package/node_modules/concat-map/example/map.js +0 -6
- package/node_modules/concat-map/index.js +0 -13
- package/node_modules/concat-map/package.json +0 -117
- package/node_modules/concat-map/test/map.js +0 -39
- package/node_modules/console-control-strings/LICENSE +0 -13
- package/node_modules/console-control-strings/README.md +0 -145
- package/node_modules/console-control-strings/README.md~ +0 -140
- package/node_modules/console-control-strings/index.js +0 -125
- package/node_modules/console-control-strings/package.json +0 -96
- package/node_modules/core-util-is/LICENSE +0 -19
- package/node_modules/core-util-is/README.md +0 -3
- package/node_modules/core-util-is/float.patch +0 -604
- package/node_modules/core-util-is/lib/util.js +0 -107
- package/node_modules/core-util-is/package.json +0 -95
- package/node_modules/core-util-is/test.js +0 -68
- package/node_modules/cryptiles/.npmignore +0 -18
- package/node_modules/cryptiles/.travis.yml +0 -8
- package/node_modules/cryptiles/LICENSE +0 -28
- package/node_modules/cryptiles/README.md +0 -16
- package/node_modules/cryptiles/lib/index.js +0 -68
- package/node_modules/cryptiles/package.json +0 -94
- package/node_modules/cryptiles/test/index.js +0 -102
- package/node_modules/dashdash/CHANGES.md +0 -364
- package/node_modules/dashdash/LICENSE.txt +0 -24
- package/node_modules/dashdash/README.md +0 -574
- package/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
- package/node_modules/dashdash/lib/dashdash.js +0 -1055
- package/node_modules/dashdash/node_modules/assert-plus/AUTHORS +0 -6
- package/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +0 -14
- package/node_modules/dashdash/node_modules/assert-plus/README.md +0 -162
- package/node_modules/dashdash/node_modules/assert-plus/assert.js +0 -211
- package/node_modules/dashdash/node_modules/assert-plus/package.json +0 -115
- package/node_modules/dashdash/package.json +0 -125
- package/node_modules/debug/.jshintrc +0 -3
- package/node_modules/debug/.npmignore +0 -6
- package/node_modules/debug/History.md +0 -195
- package/node_modules/debug/Makefile +0 -36
- package/node_modules/debug/Readme.md +0 -188
- package/node_modules/debug/bower.json +0 -28
- package/node_modules/debug/browser.js +0 -168
- package/node_modules/debug/component.json +0 -19
- package/node_modules/debug/debug.js +0 -197
- package/node_modules/debug/node.js +0 -209
- package/node_modules/debug/package.json +0 -106
- package/node_modules/deep-extend/CHANGELOG.md +0 -21
- package/node_modules/deep-extend/LICENSE +0 -20
- package/node_modules/deep-extend/README.md +0 -90
- package/node_modules/deep-extend/index.js +0 -1
- package/node_modules/deep-extend/lib/deep-extend.js +0 -144
- package/node_modules/deep-extend/package.json +0 -120
- package/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/delayed-stream/License +0 -19
- package/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/delayed-stream/package.json +0 -97
- package/node_modules/delegates/.npmignore +0 -1
- package/node_modules/delegates/History.md +0 -22
- package/node_modules/delegates/License +0 -20
- package/node_modules/delegates/Makefile +0 -8
- package/node_modules/delegates/Readme.md +0 -94
- package/node_modules/delegates/index.js +0 -121
- package/node_modules/delegates/package.json +0 -84
- package/node_modules/delegates/test/index.js +0 -94
- package/node_modules/ecc-jsbn/.npmignore +0 -15
- package/node_modules/ecc-jsbn/LICENSE +0 -21
- package/node_modules/ecc-jsbn/README.md +0 -8
- package/node_modules/ecc-jsbn/index.js +0 -57
- package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
- package/node_modules/ecc-jsbn/lib/ec.js +0 -561
- package/node_modules/ecc-jsbn/lib/sec.js +0 -170
- package/node_modules/ecc-jsbn/package.json +0 -90
- package/node_modules/ecc-jsbn/test.js +0 -14
- package/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/escape-string-regexp/package.json +0 -109
- package/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/extend/.eslintrc +0 -192
- package/node_modules/extend/.jscs.json +0 -104
- package/node_modules/extend/.npmignore +0 -1
- package/node_modules/extend/.travis.yml +0 -44
- package/node_modules/extend/CHANGELOG.md +0 -69
- package/node_modules/extend/LICENSE +0 -23
- package/node_modules/extend/README.md +0 -62
- package/node_modules/extend/component.json +0 -32
- package/node_modules/extend/index.js +0 -86
- package/node_modules/extend/package.json +0 -106
- package/node_modules/extsprintf/.gitmodules +0 -6
- package/node_modules/extsprintf/LICENSE +0 -19
- package/node_modules/extsprintf/Makefile +0 -23
- package/node_modules/extsprintf/Makefile.deps +0 -39
- package/node_modules/extsprintf/Makefile.targ +0 -285
- package/node_modules/extsprintf/README.md +0 -39
- package/node_modules/extsprintf/examples/simple.js +0 -2
- package/node_modules/extsprintf/jsl.node.conf +0 -137
- package/node_modules/extsprintf/lib/extsprintf.js +0 -166
- package/node_modules/extsprintf/package.json +0 -74
- package/node_modules/forever-agent/LICENSE +0 -55
- package/node_modules/forever-agent/README.md +0 -4
- package/node_modules/forever-agent/index.js +0 -138
- package/node_modules/forever-agent/package.json +0 -88
- package/node_modules/form-data/License +0 -19
- package/node_modules/form-data/README.md +0 -217
- package/node_modules/form-data/lib/browser.js +0 -2
- package/node_modules/form-data/lib/form_data.js +0 -440
- package/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/form-data/package.json +0 -145
- package/node_modules/fs.realpath/LICENSE +0 -43
- package/node_modules/fs.realpath/README.md +0 -33
- package/node_modules/fs.realpath/index.js +0 -66
- package/node_modules/fs.realpath/old.js +0 -303
- package/node_modules/fs.realpath/package.json +0 -94
- package/node_modules/fstream/.npmignore +0 -5
- package/node_modules/fstream/.travis.yml +0 -9
- package/node_modules/fstream/LICENSE +0 -15
- package/node_modules/fstream/README.md +0 -76
- package/node_modules/fstream/examples/filter-pipe.js +0 -134
- package/node_modules/fstream/examples/pipe.js +0 -118
- package/node_modules/fstream/examples/reader.js +0 -68
- package/node_modules/fstream/examples/symlink-write.js +0 -27
- package/node_modules/fstream/fstream.js +0 -35
- package/node_modules/fstream/lib/abstract.js +0 -85
- package/node_modules/fstream/lib/collect.js +0 -70
- package/node_modules/fstream/lib/dir-reader.js +0 -252
- package/node_modules/fstream/lib/dir-writer.js +0 -174
- package/node_modules/fstream/lib/file-reader.js +0 -150
- package/node_modules/fstream/lib/file-writer.js +0 -107
- package/node_modules/fstream/lib/get-type.js +0 -33
- package/node_modules/fstream/lib/link-reader.js +0 -53
- package/node_modules/fstream/lib/link-writer.js +0 -95
- package/node_modules/fstream/lib/proxy-reader.js +0 -95
- package/node_modules/fstream/lib/proxy-writer.js +0 -111
- package/node_modules/fstream/lib/reader.js +0 -255
- package/node_modules/fstream/lib/socket-reader.js +0 -36
- package/node_modules/fstream/lib/writer.js +0 -390
- package/node_modules/fstream/package.json +0 -110
- package/node_modules/fstream-ignore/LICENSE +0 -15
- package/node_modules/fstream-ignore/README.md +0 -22
- package/node_modules/fstream-ignore/ignore.js +0 -275
- package/node_modules/fstream-ignore/package.json +0 -104
- package/node_modules/gauge/CHANGELOG.md +0 -155
- package/node_modules/gauge/LICENSE +0 -13
- package/node_modules/gauge/README.md +0 -399
- package/node_modules/gauge/base-theme.js +0 -14
- package/node_modules/gauge/error.js +0 -24
- package/node_modules/gauge/has-color.js +0 -12
- package/node_modules/gauge/index.js +0 -233
- package/node_modules/gauge/package.json +0 -126
- package/node_modules/gauge/plumbing.js +0 -47
- package/node_modules/gauge/process.js +0 -3
- package/node_modules/gauge/progress-bar.js +0 -35
- package/node_modules/gauge/render-template.js +0 -181
- package/node_modules/gauge/set-immediate.js +0 -7
- package/node_modules/gauge/set-interval.js +0 -3
- package/node_modules/gauge/spin.js +0 -5
- package/node_modules/gauge/template-item.js +0 -73
- package/node_modules/gauge/theme-set.js +0 -115
- package/node_modules/gauge/themes.js +0 -54
- package/node_modules/gauge/wide-truncate.js +0 -25
- package/node_modules/generate-function/.npmignore +0 -1
- package/node_modules/generate-function/.travis.yml +0 -3
- package/node_modules/generate-function/README.md +0 -72
- package/node_modules/generate-function/example.js +0 -27
- package/node_modules/generate-function/index.js +0 -61
- package/node_modules/generate-function/package.json +0 -87
- package/node_modules/generate-function/test.js +0 -33
- package/node_modules/generate-object-property/.npmignore +0 -1
- package/node_modules/generate-object-property/.travis.yml +0 -3
- package/node_modules/generate-object-property/LICENSE +0 -21
- package/node_modules/generate-object-property/README.md +0 -19
- package/node_modules/generate-object-property/index.js +0 -12
- package/node_modules/generate-object-property/package.json +0 -84
- package/node_modules/generate-object-property/test.js +0 -12
- package/node_modules/getpass/.npmignore +0 -8
- package/node_modules/getpass/.travis.yml +0 -9
- package/node_modules/getpass/LICENSE +0 -18
- package/node_modules/getpass/README.md +0 -32
- package/node_modules/getpass/lib/index.js +0 -123
- package/node_modules/getpass/node_modules/assert-plus/AUTHORS +0 -6
- package/node_modules/getpass/node_modules/assert-plus/CHANGES.md +0 -14
- package/node_modules/getpass/node_modules/assert-plus/README.md +0 -162
- package/node_modules/getpass/node_modules/assert-plus/assert.js +0 -211
- package/node_modules/getpass/node_modules/assert-plus/package.json +0 -115
- package/node_modules/getpass/package.json +0 -90
- package/node_modules/glob/LICENSE +0 -15
- package/node_modules/glob/README.md +0 -368
- package/node_modules/glob/changelog.md +0 -67
- package/node_modules/glob/common.js +0 -240
- package/node_modules/glob/glob.js +0 -792
- package/node_modules/glob/package.json +0 -111
- package/node_modules/glob/sync.js +0 -486
- package/node_modules/graceful-fs/LICENSE +0 -15
- package/node_modules/graceful-fs/README.md +0 -133
- package/node_modules/graceful-fs/fs.js +0 -21
- package/node_modules/graceful-fs/graceful-fs.js +0 -262
- package/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/node_modules/graceful-fs/package.json +0 -111
- package/node_modules/graceful-fs/polyfills.js +0 -330
- package/node_modules/graceful-readlink/.npmignore +0 -3
- package/node_modules/graceful-readlink/.travis.yml +0 -5
- package/node_modules/graceful-readlink/LICENSE +0 -22
- package/node_modules/graceful-readlink/README.md +0 -17
- package/node_modules/graceful-readlink/index.js +0 -12
- package/node_modules/graceful-readlink/package.json +0 -83
- package/node_modules/har-validator/LICENSE +0 -13
- package/node_modules/har-validator/README.md +0 -309
- package/node_modules/har-validator/bin/har-validator +0 -56
- package/node_modules/har-validator/lib/async.js +0 -14
- package/node_modules/har-validator/lib/error.js +0 -10
- package/node_modules/har-validator/lib/index.js +0 -22
- package/node_modules/har-validator/lib/runner.js +0 -29
- package/node_modules/har-validator/lib/schemas/cache.json +0 -13
- package/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
- package/node_modules/har-validator/lib/schemas/content.json +0 -27
- package/node_modules/har-validator/lib/schemas/cookie.json +0 -34
- package/node_modules/har-validator/lib/schemas/creator.json +0 -18
- package/node_modules/har-validator/lib/schemas/entry.json +0 -51
- package/node_modules/har-validator/lib/schemas/har.json +0 -11
- package/node_modules/har-validator/lib/schemas/index.js +0 -49
- package/node_modules/har-validator/lib/schemas/log.json +0 -34
- package/node_modules/har-validator/lib/schemas/page.json +0 -30
- package/node_modules/har-validator/lib/schemas/pageTimings.json +0 -16
- package/node_modules/har-validator/lib/schemas/postData.json +0 -41
- package/node_modules/har-validator/lib/schemas/record.json +0 -18
- package/node_modules/har-validator/lib/schemas/request.json +0 -55
- package/node_modules/har-validator/lib/schemas/response.json +0 -52
- package/node_modules/har-validator/lib/schemas/timings.json +0 -40
- package/node_modules/har-validator/package.json +0 -120
- package/node_modules/has-ansi/index.js +0 -4
- package/node_modules/has-ansi/license +0 -21
- package/node_modules/has-ansi/package.json +0 -118
- package/node_modules/has-ansi/readme.md +0 -36
- package/node_modules/has-unicode/LICENSE +0 -14
- package/node_modules/has-unicode/README.md +0 -43
- package/node_modules/has-unicode/index.js +0 -16
- package/node_modules/has-unicode/package.json +0 -94
- package/node_modules/hawk/.npmignore +0 -20
- package/node_modules/hawk/.travis.yml +0 -5
- package/node_modules/hawk/LICENSE +0 -28
- package/node_modules/hawk/README.md +0 -634
- package/node_modules/hawk/bower.json +0 -24
- package/node_modules/hawk/component.json +0 -19
- package/node_modules/hawk/dist/client.js +0 -343
- package/node_modules/hawk/example/usage.js +0 -78
- package/node_modules/hawk/images/hawk.png +0 -0
- package/node_modules/hawk/images/logo.png +0 -0
- package/node_modules/hawk/lib/browser.js +0 -637
- package/node_modules/hawk/lib/client.js +0 -369
- package/node_modules/hawk/lib/crypto.js +0 -126
- package/node_modules/hawk/lib/index.js +0 -15
- package/node_modules/hawk/lib/server.js +0 -548
- package/node_modules/hawk/lib/utils.js +0 -184
- package/node_modules/hawk/package.json +0 -101
- package/node_modules/hawk/test/browser.js +0 -1492
- package/node_modules/hawk/test/client.js +0 -440
- package/node_modules/hawk/test/crypto.js +0 -70
- package/node_modules/hawk/test/index.js +0 -378
- package/node_modules/hawk/test/readme.js +0 -95
- package/node_modules/hawk/test/server.js +0 -1329
- package/node_modules/hawk/test/uri.js +0 -838
- package/node_modules/hawk/test/utils.js +0 -149
- package/node_modules/hoek/.npmignore +0 -18
- package/node_modules/hoek/.travis.yml +0 -7
- package/node_modules/hoek/CONTRIBUTING.md +0 -1
- package/node_modules/hoek/LICENSE +0 -31
- package/node_modules/hoek/README.md +0 -584
- package/node_modules/hoek/images/hoek.png +0 -0
- package/node_modules/hoek/lib/escape.js +0 -132
- package/node_modules/hoek/lib/index.js +0 -993
- package/node_modules/hoek/package.json +0 -96
- package/node_modules/hoek/test/escaper.js +0 -88
- package/node_modules/hoek/test/index.js +0 -2513
- package/node_modules/hoek/test/modules/ignore.txt +0 -0
- package/node_modules/hoek/test/modules/test1.js +0 -1
- package/node_modules/hoek/test/modules/test2.js +0 -1
- package/node_modules/hoek/test/modules/test3.js +0 -1
- package/node_modules/http-signature/.dir-locals.el +0 -6
- package/node_modules/http-signature/.npmignore +0 -7
- package/node_modules/http-signature/CHANGES.md +0 -46
- package/node_modules/http-signature/LICENSE +0 -18
- package/node_modules/http-signature/README.md +0 -79
- package/node_modules/http-signature/http_signing.md +0 -363
- package/node_modules/http-signature/lib/index.js +0 -29
- package/node_modules/http-signature/lib/parser.js +0 -318
- package/node_modules/http-signature/lib/signer.js +0 -399
- package/node_modules/http-signature/lib/utils.js +0 -112
- package/node_modules/http-signature/lib/verify.js +0 -88
- package/node_modules/http-signature/package.json +0 -116
- package/node_modules/inflight/LICENSE +0 -15
- package/node_modules/inflight/README.md +0 -37
- package/node_modules/inflight/inflight.js +0 -54
- package/node_modules/inflight/package.json +0 -105
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -7
- package/node_modules/inherits/inherits_browser.js +0 -23
- package/node_modules/inherits/package.json +0 -105
- package/node_modules/ini/LICENSE +0 -15
- package/node_modules/ini/README.md +0 -102
- package/node_modules/ini/ini.js +0 -190
- package/node_modules/ini/package.json +0 -89
- package/node_modules/is-fullwidth-code-point/index.js +0 -46
- package/node_modules/is-fullwidth-code-point/license +0 -21
- package/node_modules/is-fullwidth-code-point/package.json +0 -108
- package/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/is-my-json-valid/.npmignore +0 -2
- package/node_modules/is-my-json-valid/.travis.yml +0 -3
- package/node_modules/is-my-json-valid/LICENSE +0 -21
- package/node_modules/is-my-json-valid/README.md +0 -173
- package/node_modules/is-my-json-valid/example.js +0 -18
- package/node_modules/is-my-json-valid/formats.js +0 -14
- package/node_modules/is-my-json-valid/index.js +0 -594
- package/node_modules/is-my-json-valid/package.json +0 -116
- package/node_modules/is-my-json-valid/require.js +0 -12
- package/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
- package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
- package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
- package/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
- package/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
- package/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
- package/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
- package/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
- package/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
- package/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
- package/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
- package/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
- package/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
- package/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
- package/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
- package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
- package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
- package/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
- package/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
- package/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
- package/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
- package/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
- package/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
- package/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
- package/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
- package/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
- package/node_modules/is-my-json-valid/test/json-schema.js +0 -23
- package/node_modules/is-my-json-valid/test/misc.js +0 -471
- package/node_modules/is-property/.npmignore +0 -17
- package/node_modules/is-property/LICENSE +0 -22
- package/node_modules/is-property/README.md +0 -28
- package/node_modules/is-property/is-property.js +0 -5
- package/node_modules/is-property/package.json +0 -92
- package/node_modules/is-typedarray/LICENSE.md +0 -18
- package/node_modules/is-typedarray/README.md +0 -16
- package/node_modules/is-typedarray/index.js +0 -41
- package/node_modules/is-typedarray/package.json +0 -90
- package/node_modules/is-typedarray/test.js +0 -34
- package/node_modules/isarray/.npmignore +0 -1
- package/node_modules/isarray/.travis.yml +0 -4
- package/node_modules/isarray/Makefile +0 -6
- package/node_modules/isarray/README.md +0 -60
- package/node_modules/isarray/component.json +0 -19
- package/node_modules/isarray/index.js +0 -5
- package/node_modules/isarray/package.json +0 -105
- package/node_modules/isarray/test.js +0 -20
- package/node_modules/isstream/.jshintrc +0 -59
- package/node_modules/isstream/.npmignore +0 -1
- package/node_modules/isstream/.travis.yml +0 -12
- package/node_modules/isstream/LICENSE.md +0 -11
- package/node_modules/isstream/README.md +0 -66
- package/node_modules/isstream/isstream.js +0 -27
- package/node_modules/isstream/package.json +0 -93
- package/node_modules/isstream/test.js +0 -168
- package/node_modules/jodid25519/.npmignore +0 -11
- package/node_modules/jodid25519/.travis.yml +0 -7
- package/node_modules/jodid25519/AUTHORS.md +0 -3
- package/node_modules/jodid25519/LICENSE +0 -23
- package/node_modules/jodid25519/README.md +0 -51
- package/node_modules/jodid25519/almond.0 +0 -42
- package/node_modules/jodid25519/almond.1 +0 -13
- package/node_modules/jodid25519/index.js +0 -35
- package/node_modules/jodid25519/jsdoc.json +0 -19
- package/node_modules/jodid25519/lib/core.js +0 -481
- package/node_modules/jodid25519/lib/curve255.js +0 -221
- package/node_modules/jodid25519/lib/dh.js +0 -111
- package/node_modules/jodid25519/lib/eddsa.js +0 -573
- package/node_modules/jodid25519/lib/utils.js +0 -198
- package/node_modules/jodid25519/package.json +0 -104
- package/node_modules/jsbn/.npmignore +0 -2
- package/node_modules/jsbn/LICENSE +0 -40
- package/node_modules/jsbn/README.md +0 -175
- package/node_modules/jsbn/example.html +0 -12
- package/node_modules/jsbn/example.js +0 -3
- package/node_modules/jsbn/index.js +0 -1357
- package/node_modules/jsbn/package.json +0 -91
- package/node_modules/json-schema/README.md +0 -5
- package/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/node_modules/json-schema/draft-00/json-ref +0 -26
- package/node_modules/json-schema/draft-00/links +0 -33
- package/node_modules/json-schema/draft-00/schema +0 -155
- package/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/node_modules/json-schema/draft-01/json-ref +0 -26
- package/node_modules/json-schema/draft-01/links +0 -33
- package/node_modules/json-schema/draft-01/schema +0 -155
- package/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/node_modules/json-schema/draft-02/json-ref +0 -26
- package/node_modules/json-schema/draft-02/links +0 -35
- package/node_modules/json-schema/draft-02/schema +0 -166
- package/node_modules/json-schema/draft-03/examples/address +0 -20
- package/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/node_modules/json-schema/draft-03/examples/card +0 -105
- package/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/node_modules/json-schema/draft-03/json-ref +0 -26
- package/node_modules/json-schema/draft-03/links +0 -35
- package/node_modules/json-schema/draft-03/schema +0 -174
- package/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/node_modules/json-schema/draft-04/links +0 -41
- package/node_modules/json-schema/draft-04/schema +0 -189
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/node_modules/json-schema/lib/links.js +0 -66
- package/node_modules/json-schema/lib/validate.js +0 -273
- package/node_modules/json-schema/package.json +0 -100
- package/node_modules/json-schema/test/tests.js +0 -95
- package/node_modules/json-stringify-safe/.npmignore +0 -1
- package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
- package/node_modules/json-stringify-safe/LICENSE +0 -15
- package/node_modules/json-stringify-safe/Makefile +0 -35
- package/node_modules/json-stringify-safe/README.md +0 -52
- package/node_modules/json-stringify-safe/package.json +0 -102
- package/node_modules/json-stringify-safe/stringify.js +0 -27
- package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
- package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
- package/node_modules/jsonpointer/LICENSE.md +0 -21
- package/node_modules/jsonpointer/README.md +0 -39
- package/node_modules/jsonpointer/jsonpointer.js +0 -93
- package/node_modules/jsonpointer/package.json +0 -112
- package/node_modules/jsprim/CHANGES.md +0 -39
- package/node_modules/jsprim/LICENSE +0 -19
- package/node_modules/jsprim/README.md +0 -237
- package/node_modules/jsprim/lib/jsprim.js +0 -488
- package/node_modules/jsprim/package.json +0 -85
- package/node_modules/mime-db/HISTORY.md +0 -391
- package/node_modules/mime-db/LICENSE +0 -22
- package/node_modules/mime-db/README.md +0 -82
- package/node_modules/mime-db/db.json +0 -6751
- package/node_modules/mime-db/index.js +0 -11
- package/node_modules/mime-db/package.json +0 -138
- package/node_modules/mime-types/HISTORY.md +0 -216
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/mime-types/README.md +0 -103
- package/node_modules/mime-types/index.js +0 -188
- package/node_modules/mime-types/package.json +0 -128
- package/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/minimatch/README.md +0 -209
- package/node_modules/minimatch/minimatch.js +0 -923
- package/node_modules/minimatch/package.json +0 -98
- package/node_modules/minimist/.travis.yml +0 -4
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/example/parse.js +0 -2
- package/node_modules/minimist/index.js +0 -187
- package/node_modules/minimist/package.json +0 -101
- package/node_modules/minimist/readme.markdown +0 -73
- package/node_modules/minimist/test/dash.js +0 -24
- package/node_modules/minimist/test/default_bool.js +0 -20
- package/node_modules/minimist/test/dotted.js +0 -16
- package/node_modules/minimist/test/long.js +0 -31
- package/node_modules/minimist/test/parse.js +0 -318
- package/node_modules/minimist/test/parse_modified.js +0 -9
- package/node_modules/minimist/test/short.js +0 -67
- package/node_modules/minimist/test/whitespace.js +0 -8
- package/node_modules/mkdirp/.travis.yml +0 -8
- package/node_modules/mkdirp/LICENSE +0 -21
- package/node_modules/mkdirp/bin/cmd.js +0 -33
- package/node_modules/mkdirp/bin/usage.txt +0 -12
- package/node_modules/mkdirp/examples/pow.js +0 -6
- package/node_modules/mkdirp/index.js +0 -98
- package/node_modules/mkdirp/package.json +0 -95
- package/node_modules/mkdirp/readme.markdown +0 -100
- package/node_modules/mkdirp/test/chmod.js +0 -41
- package/node_modules/mkdirp/test/clobber.js +0 -38
- package/node_modules/mkdirp/test/mkdirp.js +0 -28
- package/node_modules/mkdirp/test/opts_fs.js +0 -29
- package/node_modules/mkdirp/test/opts_fs_sync.js +0 -27
- package/node_modules/mkdirp/test/perm.js +0 -32
- package/node_modules/mkdirp/test/perm_sync.js +0 -36
- package/node_modules/mkdirp/test/race.js +0 -37
- package/node_modules/mkdirp/test/rel.js +0 -32
- package/node_modules/mkdirp/test/return.js +0 -25
- package/node_modules/mkdirp/test/return_sync.js +0 -24
- package/node_modules/mkdirp/test/root.js +0 -19
- package/node_modules/mkdirp/test/sync.js +0 -32
- package/node_modules/mkdirp/test/umask.js +0 -28
- package/node_modules/mkdirp/test/umask_sync.js +0 -32
- package/node_modules/ms/.npmignore +0 -5
- package/node_modules/ms/History.md +0 -66
- package/node_modules/ms/LICENSE +0 -20
- package/node_modules/ms/README.md +0 -35
- package/node_modules/ms/index.js +0 -125
- package/node_modules/ms/package.json +0 -82
- package/node_modules/node-pre-gyp/CHANGELOG.md +0 -343
- package/node_modules/node-pre-gyp/LICENSE +0 -27
- package/node_modules/node-pre-gyp/README.md +0 -574
- package/node_modules/node-pre-gyp/appveyor.yml +0 -40
- package/node_modules/node-pre-gyp/bin/node-pre-gyp +0 -131
- package/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +0 -2
- package/node_modules/node-pre-gyp/lib/build.js +0 -43
- package/node_modules/node-pre-gyp/lib/clean.js +0 -23
- package/node_modules/node-pre-gyp/lib/configure.js +0 -48
- package/node_modules/node-pre-gyp/lib/info.js +0 -40
- package/node_modules/node-pre-gyp/lib/install.js +0 -239
- package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +0 -194
- package/node_modules/node-pre-gyp/lib/package.js +0 -46
- package/node_modules/node-pre-gyp/lib/pre-binding.js +0 -25
- package/node_modules/node-pre-gyp/lib/publish.js +0 -77
- package/node_modules/node-pre-gyp/lib/rebuild.js +0 -13
- package/node_modules/node-pre-gyp/lib/reinstall.js +0 -13
- package/node_modules/node-pre-gyp/lib/reveal.js +0 -31
- package/node_modules/node-pre-gyp/lib/testbinary.js +0 -73
- package/node_modules/node-pre-gyp/lib/testpackage.js +0 -49
- package/node_modules/node-pre-gyp/lib/unpublish.js +0 -41
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +0 -1414
- package/node_modules/node-pre-gyp/lib/util/compile.js +0 -87
- package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +0 -94
- package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +0 -26
- package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +0 -9
- package/node_modules/node-pre-gyp/lib/util/s3_setup.js +0 -27
- package/node_modules/node-pre-gyp/lib/util/versioning.js +0 -308
- package/node_modules/node-pre-gyp/package.json +0 -133
- package/node_modules/nopt/.npmignore +0 -1
- package/node_modules/nopt/.travis.yml +0 -9
- package/node_modules/nopt/LICENSE +0 -15
- package/node_modules/nopt/README.md +0 -211
- package/node_modules/nopt/bin/nopt.js +0 -54
- package/node_modules/nopt/examples/my-program.js +0 -30
- package/node_modules/nopt/lib/nopt.js +0 -415
- package/node_modules/nopt/package.json +0 -96
- package/node_modules/nopt/test/basic.js +0 -273
- package/node_modules/npmlog/CHANGELOG.md +0 -45
- package/node_modules/npmlog/LICENSE +0 -15
- package/node_modules/npmlog/README.md +0 -216
- package/node_modules/npmlog/log.js +0 -302
- package/node_modules/npmlog/package.json +0 -108
- package/node_modules/number-is-nan/index.js +0 -4
- package/node_modules/number-is-nan/license +0 -21
- package/node_modules/number-is-nan/package.json +0 -103
- package/node_modules/number-is-nan/readme.md +0 -28
- package/node_modules/oauth-sign/LICENSE +0 -55
- package/node_modules/oauth-sign/README.md +0 -4
- package/node_modules/oauth-sign/index.js +0 -136
- package/node_modules/oauth-sign/package.json +0 -98
- package/node_modules/object-assign/index.js +0 -90
- package/node_modules/object-assign/license +0 -21
- package/node_modules/object-assign/package.json +0 -118
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -101
- package/node_modules/path-is-absolute/index.js +0 -20
- package/node_modules/path-is-absolute/license +0 -21
- package/node_modules/path-is-absolute/package.json +0 -111
- package/node_modules/path-is-absolute/readme.md +0 -59
- package/node_modules/pinkie/index.js +0 -292
- package/node_modules/pinkie/license +0 -21
- package/node_modules/pinkie/package.json +0 -100
- package/node_modules/pinkie/readme.md +0 -83
- package/node_modules/pinkie-promise/index.js +0 -3
- package/node_modules/pinkie-promise/license +0 -21
- package/node_modules/pinkie-promise/package.json +0 -102
- package/node_modules/pinkie-promise/readme.md +0 -28
- package/node_modules/process-nextick-args/.travis.yml +0 -12
- package/node_modules/process-nextick-args/index.js +0 -43
- package/node_modules/process-nextick-args/license.md +0 -19
- package/node_modules/process-nextick-args/package.json +0 -84
- package/node_modules/process-nextick-args/readme.md +0 -18
- package/node_modules/process-nextick-args/test.js +0 -24
- package/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/node_modules/punycode/README.md +0 -176
- package/node_modules/punycode/package.json +0 -127
- package/node_modules/punycode/punycode.js +0 -533
- package/node_modules/qs/.eslintignore +0 -1
- package/node_modules/qs/.eslintrc +0 -19
- package/node_modules/qs/CHANGELOG.md +0 -156
- package/node_modules/qs/LICENSE +0 -28
- package/node_modules/qs/README.md +0 -431
- package/node_modules/qs/dist/qs.js +0 -587
- package/node_modules/qs/lib/formats.js +0 -18
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -166
- package/node_modules/qs/lib/stringify.js +0 -200
- package/node_modules/qs/lib/utils.js +0 -180
- package/node_modules/qs/package.json +0 -121
- package/node_modules/qs/test/.eslintrc +0 -10
- package/node_modules/qs/test/index.js +0 -7
- package/node_modules/qs/test/parse.js +0 -484
- package/node_modules/qs/test/stringify.js +0 -538
- package/node_modules/qs/test/utils.js +0 -22
- package/node_modules/rc/.npmignore +0 -3
- package/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/node_modules/rc/LICENSE.BSD +0 -26
- package/node_modules/rc/LICENSE.MIT +0 -24
- package/node_modules/rc/README.md +0 -149
- package/node_modules/rc/browser.js +0 -7
- package/node_modules/rc/index.js +0 -60
- package/node_modules/rc/lib/utils.js +0 -103
- package/node_modules/rc/node_modules/minimist/.travis.yml +0 -8
- package/node_modules/rc/node_modules/minimist/LICENSE +0 -18
- package/node_modules/rc/node_modules/minimist/example/parse.js +0 -2
- package/node_modules/rc/node_modules/minimist/index.js +0 -236
- package/node_modules/rc/node_modules/minimist/package.json +0 -105
- package/node_modules/rc/node_modules/minimist/readme.markdown +0 -91
- package/node_modules/rc/node_modules/minimist/test/all_bool.js +0 -32
- package/node_modules/rc/node_modules/minimist/test/bool.js +0 -166
- package/node_modules/rc/node_modules/minimist/test/dash.js +0 -31
- package/node_modules/rc/node_modules/minimist/test/default_bool.js +0 -35
- package/node_modules/rc/node_modules/minimist/test/dotted.js +0 -22
- package/node_modules/rc/node_modules/minimist/test/kv_short.js +0 -16
- package/node_modules/rc/node_modules/minimist/test/long.js +0 -31
- package/node_modules/rc/node_modules/minimist/test/num.js +0 -36
- package/node_modules/rc/node_modules/minimist/test/parse.js +0 -197
- package/node_modules/rc/node_modules/minimist/test/parse_modified.js +0 -9
- package/node_modules/rc/node_modules/minimist/test/short.js +0 -67
- package/node_modules/rc/node_modules/minimist/test/stop_early.js +0 -15
- package/node_modules/rc/node_modules/minimist/test/unknown.js +0 -102
- package/node_modules/rc/node_modules/minimist/test/whitespace.js +0 -8
- package/node_modules/rc/package.json +0 -100
- package/node_modules/rc/test/ini.js +0 -16
- package/node_modules/rc/test/nested-env-vars.js +0 -40
- package/node_modules/rc/test/test.js +0 -59
- package/node_modules/readable-stream/.npmignore +0 -9
- package/node_modules/readable-stream/.travis.yml +0 -49
- package/node_modules/readable-stream/LICENSE +0 -18
- package/node_modules/readable-stream/README.md +0 -40
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -941
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -182
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -554
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
- package/node_modules/readable-stream/package.json +0 -126
- package/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/readable-stream/writable.js +0 -1
- package/node_modules/request/CHANGELOG.md +0 -662
- package/node_modules/request/LICENSE +0 -55
- package/node_modules/request/README.md +0 -1098
- package/node_modules/request/index.js +0 -156
- package/node_modules/request/lib/auth.js +0 -168
- package/node_modules/request/lib/cookies.js +0 -39
- package/node_modules/request/lib/getProxyFromURI.js +0 -79
- package/node_modules/request/lib/har.js +0 -215
- package/node_modules/request/lib/helpers.js +0 -65
- package/node_modules/request/lib/multipart.js +0 -112
- package/node_modules/request/lib/oauth.js +0 -147
- package/node_modules/request/lib/querystring.js +0 -51
- package/node_modules/request/lib/redirect.js +0 -157
- package/node_modules/request/lib/tunnel.js +0 -176
- package/node_modules/request/package.json +0 -163
- package/node_modules/request/request.js +0 -1475
- package/node_modules/rimraf/LICENSE +0 -15
- package/node_modules/rimraf/README.md +0 -101
- package/node_modules/rimraf/bin.js +0 -40
- package/node_modules/rimraf/package.json +0 -101
- package/node_modules/rimraf/rimraf.js +0 -343
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -350
- package/node_modules/semver/bin/semver +0 -133
- package/node_modules/semver/package.json +0 -94
- package/node_modules/semver/range.bnf +0 -16
- package/node_modules/semver/semver.js +0 -1203
- package/node_modules/set-blocking/CHANGELOG.md +0 -26
- package/node_modules/set-blocking/LICENSE.txt +0 -14
- package/node_modules/set-blocking/README.md +0 -31
- package/node_modules/set-blocking/index.js +0 -7
- package/node_modules/set-blocking/package.json +0 -106
- package/node_modules/signal-exit/CHANGELOG.md +0 -27
- package/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/signal-exit/README.md +0 -40
- package/node_modules/signal-exit/index.js +0 -157
- package/node_modules/signal-exit/package.json +0 -106
- package/node_modules/signal-exit/signals.js +0 -53
- package/node_modules/sntp/.npmignore +0 -18
- package/node_modules/sntp/.travis.yml +0 -5
- package/node_modules/sntp/LICENSE +0 -28
- package/node_modules/sntp/Makefile +0 -9
- package/node_modules/sntp/README.md +0 -68
- package/node_modules/sntp/examples/offset.js +0 -16
- package/node_modules/sntp/examples/time.js +0 -25
- package/node_modules/sntp/index.js +0 -1
- package/node_modules/sntp/lib/index.js +0 -412
- package/node_modules/sntp/package.json +0 -98
- package/node_modules/sntp/test/index.js +0 -435
- package/node_modules/sshpk/.npmignore +0 -9
- package/node_modules/sshpk/.travis.yml +0 -11
- package/node_modules/sshpk/LICENSE +0 -18
- package/node_modules/sshpk/README.md +0 -666
- package/node_modules/sshpk/bin/sshpk-conv +0 -201
- package/node_modules/sshpk/bin/sshpk-sign +0 -191
- package/node_modules/sshpk/bin/sshpk-verify +0 -166
- package/node_modules/sshpk/lib/algs.js +0 -168
- package/node_modules/sshpk/lib/certificate.js +0 -291
- package/node_modules/sshpk/lib/dhe.js +0 -311
- package/node_modules/sshpk/lib/ed-compat.js +0 -96
- package/node_modules/sshpk/lib/errors.js +0 -84
- package/node_modules/sshpk/lib/fingerprint.js +0 -161
- package/node_modules/sshpk/lib/formats/auto.js +0 -73
- package/node_modules/sshpk/lib/formats/openssh-cert.js +0 -289
- package/node_modules/sshpk/lib/formats/pem.js +0 -186
- package/node_modules/sshpk/lib/formats/pkcs1.js +0 -320
- package/node_modules/sshpk/lib/formats/pkcs8.js +0 -505
- package/node_modules/sshpk/lib/formats/rfc4253.js +0 -146
- package/node_modules/sshpk/lib/formats/ssh-private.js +0 -261
- package/node_modules/sshpk/lib/formats/ssh.js +0 -114
- package/node_modules/sshpk/lib/formats/x509-pem.js +0 -77
- package/node_modules/sshpk/lib/formats/x509.js +0 -484
- package/node_modules/sshpk/lib/identity.js +0 -277
- package/node_modules/sshpk/lib/index.js +0 -38
- package/node_modules/sshpk/lib/key.js +0 -270
- package/node_modules/sshpk/lib/private-key.js +0 -231
- package/node_modules/sshpk/lib/signature.js +0 -245
- package/node_modules/sshpk/lib/ssh-buffer.js +0 -148
- package/node_modules/sshpk/lib/utils.js +0 -288
- package/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
- package/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
- package/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
- package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +0 -6
- package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +0 -14
- package/node_modules/sshpk/node_modules/assert-plus/README.md +0 -162
- package/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -211
- package/node_modules/sshpk/node_modules/assert-plus/package.json +0 -115
- package/node_modules/sshpk/package.json +0 -135
- package/node_modules/string-width/index.js +0 -37
- package/node_modules/string-width/license +0 -21
- package/node_modules/string-width/package.json +0 -124
- package/node_modules/string-width/readme.md +0 -42
- package/node_modules/string_decoder/.npmignore +0 -2
- package/node_modules/string_decoder/LICENSE +0 -20
- package/node_modules/string_decoder/README.md +0 -7
- package/node_modules/string_decoder/index.js +0 -221
- package/node_modules/string_decoder/package.json +0 -88
- package/node_modules/stringstream/.npmignore +0 -15
- package/node_modules/stringstream/.travis.yml +0 -4
- package/node_modules/stringstream/LICENSE.txt +0 -22
- package/node_modules/stringstream/README.md +0 -38
- package/node_modules/stringstream/example.js +0 -27
- package/node_modules/stringstream/package.json +0 -85
- package/node_modules/stringstream/stringstream.js +0 -102
- package/node_modules/strip-ansi/index.js +0 -6
- package/node_modules/strip-ansi/license +0 -21
- package/node_modules/strip-ansi/package.json +0 -125
- package/node_modules/strip-ansi/readme.md +0 -33
- package/node_modules/strip-json-comments/index.js +0 -70
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/package.json +0 -110
- package/node_modules/strip-json-comments/readme.md +0 -64
- package/node_modules/supports-color/index.js +0 -50
- package/node_modules/supports-color/license +0 -21
- package/node_modules/supports-color/package.json +0 -113
- package/node_modules/supports-color/readme.md +0 -36
- package/node_modules/tar/.npmignore +0 -5
- package/node_modules/tar/.travis.yml +0 -4
- package/node_modules/tar/LICENSE +0 -12
- package/node_modules/tar/README.md +0 -50
- package/node_modules/tar/examples/extracter.js +0 -19
- package/node_modules/tar/examples/packer.js +0 -24
- package/node_modules/tar/examples/reader.js +0 -36
- package/node_modules/tar/lib/buffer-entry.js +0 -30
- package/node_modules/tar/lib/entry-writer.js +0 -169
- package/node_modules/tar/lib/entry.js +0 -220
- package/node_modules/tar/lib/extended-header-writer.js +0 -191
- package/node_modules/tar/lib/extended-header.js +0 -140
- package/node_modules/tar/lib/extract.js +0 -94
- package/node_modules/tar/lib/global-header-writer.js +0 -14
- package/node_modules/tar/lib/header.js +0 -385
- package/node_modules/tar/lib/pack.js +0 -236
- package/node_modules/tar/lib/parse.js +0 -275
- package/node_modules/tar/package.json +0 -103
- package/node_modules/tar/tar.js +0 -173
- package/node_modules/tar/test/00-setup-fixtures.js +0 -53
- package/node_modules/tar/test/cb-never-called-1.0.1.tgz +0 -0
- package/node_modules/tar/test/dir-normalization.js +0 -177
- package/node_modules/tar/test/dir-normalization.tar +0 -0
- package/node_modules/tar/test/error-on-broken.js +0 -33
- package/node_modules/tar/test/extract-move.js +0 -132
- package/node_modules/tar/test/extract.js +0 -367
- package/node_modules/tar/test/fixtures.tgz +0 -0
- package/node_modules/tar/test/header.js +0 -183
- package/node_modules/tar/test/pack-no-proprietary.js +0 -886
- package/node_modules/tar/test/pack.js +0 -952
- package/node_modules/tar/test/parse-discard.js +0 -29
- package/node_modules/tar/test/parse.js +0 -359
- package/node_modules/tar/test/zz-cleanup.js +0 -20
- package/node_modules/tar-pack/.npmignore +0 -14
- package/node_modules/tar-pack/.travis.yml +0 -7
- package/node_modules/tar-pack/LICENSE +0 -23
- package/node_modules/tar-pack/README.md +0 -84
- package/node_modules/tar-pack/index.js +0 -245
- package/node_modules/tar-pack/node_modules/once/LICENSE +0 -15
- package/node_modules/tar-pack/node_modules/once/README.md +0 -51
- package/node_modules/tar-pack/node_modules/once/once.js +0 -21
- package/node_modules/tar-pack/node_modules/once/package.json +0 -96
- package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +0 -8
- package/node_modules/tar-pack/node_modules/readable-stream/.travis.yml +0 -49
- package/node_modules/tar-pack/node_modules/readable-stream/LICENSE +0 -18
- package/node_modules/tar-pack/node_modules/readable-stream/README.md +0 -36
- package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +0 -2015
- package/node_modules/tar-pack/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/tar-pack/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +0 -937
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +0 -180
- package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +0 -526
- package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
- package/node_modules/tar-pack/node_modules/readable-stream/package.json +0 -125
- package/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/tar-pack/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/tar-pack/node_modules/readable-stream/writable.js +0 -1
- package/node_modules/tar-pack/package.json +0 -109
- package/node_modules/tar-pack/test/fixtures/packed-file.txt +0 -1
- package/node_modules/tar-pack/test/fixtures/packed.tar +0 -0
- package/node_modules/tar-pack/test/fixtures/packed.tar.gz +0 -0
- package/node_modules/tar-pack/test/fixtures/to-pack/bar.txt +0 -1
- package/node_modules/tar-pack/test/fixtures/to-pack/foo.txt +0 -1
- package/node_modules/tar-pack/test/index.js +0 -109
- package/node_modules/tough-cookie/LICENSE +0 -27
- package/node_modules/tough-cookie/README.md +0 -506
- package/node_modules/tough-cookie/lib/cookie.js +0 -1336
- package/node_modules/tough-cookie/lib/memstore.js +0 -170
- package/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- package/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
- package/node_modules/tough-cookie/lib/pubsuffix.js +0 -98
- package/node_modules/tough-cookie/lib/store.js +0 -71
- package/node_modules/tough-cookie/package.json +0 -135
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/tunnel-agent/index.js +0 -243
- package/node_modules/tunnel-agent/package.json +0 -100
- package/node_modules/tweetnacl/.npmignore +0 -4
- package/node_modules/tweetnacl/AUTHORS.md +0 -28
- package/node_modules/tweetnacl/CHANGELOG.md +0 -221
- package/node_modules/tweetnacl/LICENSE +0 -24
- package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +0 -20
- package/node_modules/tweetnacl/README.md +0 -459
- package/node_modules/tweetnacl/nacl-fast.js +0 -2388
- package/node_modules/tweetnacl/nacl-fast.min.js +0 -2
- package/node_modules/tweetnacl/nacl.d.ts +0 -98
- package/node_modules/tweetnacl/nacl.js +0 -1175
- package/node_modules/tweetnacl/nacl.min.js +0 -1
- package/node_modules/tweetnacl/package.json +0 -121
- package/node_modules/uid-number/LICENSE +0 -15
- package/node_modules/uid-number/README.md +0 -17
- package/node_modules/uid-number/get-uid-gid.js +0 -24
- package/node_modules/uid-number/package.json +0 -82
- package/node_modules/uid-number/uid-number.js +0 -59
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -90
- package/node_modules/uuid/.npmignore +0 -8
- package/node_modules/uuid/.travis.yml +0 -5
- package/node_modules/uuid/AUTHORS +0 -5
- package/node_modules/uuid/HISTORY.md +0 -28
- package/node_modules/uuid/LICENSE.md +0 -21
- package/node_modules/uuid/README.md +0 -132
- package/node_modules/uuid/bin/uuid +0 -26
- package/node_modules/uuid/index.js +0 -8
- package/node_modules/uuid/lib/bytesToUuid.js +0 -23
- package/node_modules/uuid/lib/rng-browser.js +0 -33
- package/node_modules/uuid/lib/rng.js +0 -10
- package/node_modules/uuid/package.json +0 -122
- package/node_modules/uuid/test/mocha.opts +0 -3
- package/node_modules/uuid/test/test.js +0 -96
- package/node_modules/uuid/v1.js +0 -103
- package/node_modules/uuid/v4.js +0 -29
- package/node_modules/verror/.gitmodules +0 -0
- package/node_modules/verror/.npmignore +0 -1
- package/node_modules/verror/LICENSE +0 -19
- package/node_modules/verror/Makefile +0 -35
- package/node_modules/verror/Makefile.targ +0 -285
- package/node_modules/verror/README.md +0 -120
- package/node_modules/verror/examples/levels-verror.js +0 -36
- package/node_modules/verror/examples/levels-werror.js +0 -34
- package/node_modules/verror/examples/varargs.js +0 -6
- package/node_modules/verror/examples/verror.js +0 -13
- package/node_modules/verror/examples/werror.js +0 -14
- package/node_modules/verror/jsl.node.conf +0 -139
- package/node_modules/verror/lib/verror.js +0 -157
- package/node_modules/verror/package.json +0 -78
- package/node_modules/verror/tests/tst.inherit.js +0 -100
- package/node_modules/verror/tests/tst.verror.js +0 -156
- package/node_modules/verror/tests/tst.werror.js +0 -179
- package/node_modules/wide-align/.npmignore +0 -5
- package/node_modules/wide-align/LICENSE +0 -14
- package/node_modules/wide-align/README.md +0 -47
- package/node_modules/wide-align/align.js +0 -65
- package/node_modules/wide-align/package.json +0 -93
- package/node_modules/wide-align/test/align.js +0 -37
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -98
- package/node_modules/wrappy/wrappy.js +0 -33
- package/node_modules/xtend/.jshintrc +0 -30
- package/node_modules/xtend/.npmignore +0 -1
- package/node_modules/xtend/LICENCE +0 -19
- package/node_modules/xtend/Makefile +0 -4
- package/node_modules/xtend/README.md +0 -32
- package/node_modules/xtend/immutable.js +0 -19
- package/node_modules/xtend/mutable.js +0 -17
- package/node_modules/xtend/package.json +0 -117
- package/node_modules/xtend/test.js +0 -83
- package/src/locking.cc +0 -27
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
// Copyright 2015 Joyent, Inc.
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
bufferSplit: bufferSplit,
|
|
5
|
-
addRSAMissing: addRSAMissing,
|
|
6
|
-
calculateDSAPublic: calculateDSAPublic,
|
|
7
|
-
mpNormalize: mpNormalize,
|
|
8
|
-
ecNormalize: ecNormalize,
|
|
9
|
-
countZeros: countZeros,
|
|
10
|
-
assertCompatible: assertCompatible,
|
|
11
|
-
isCompatible: isCompatible,
|
|
12
|
-
opensslKeyDeriv: opensslKeyDeriv,
|
|
13
|
-
opensshCipherInfo: opensshCipherInfo
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
var assert = require('assert-plus');
|
|
17
|
-
var PrivateKey = require('./private-key');
|
|
18
|
-
var crypto = require('crypto');
|
|
19
|
-
|
|
20
|
-
var MAX_CLASS_DEPTH = 3;
|
|
21
|
-
|
|
22
|
-
function isCompatible(obj, klass, needVer) {
|
|
23
|
-
if (obj === null || typeof (obj) !== 'object')
|
|
24
|
-
return (false);
|
|
25
|
-
if (needVer === undefined)
|
|
26
|
-
needVer = klass.prototype._sshpkApiVersion;
|
|
27
|
-
if (obj instanceof klass &&
|
|
28
|
-
klass.prototype._sshpkApiVersion[0] == needVer[0])
|
|
29
|
-
return (true);
|
|
30
|
-
var proto = Object.getPrototypeOf(obj);
|
|
31
|
-
var depth = 0;
|
|
32
|
-
while (proto.constructor.name !== klass.name) {
|
|
33
|
-
proto = Object.getPrototypeOf(proto);
|
|
34
|
-
if (!proto || ++depth > MAX_CLASS_DEPTH)
|
|
35
|
-
return (false);
|
|
36
|
-
}
|
|
37
|
-
if (proto.constructor.name !== klass.name)
|
|
38
|
-
return (false);
|
|
39
|
-
var ver = proto._sshpkApiVersion;
|
|
40
|
-
if (ver === undefined)
|
|
41
|
-
ver = klass._oldVersionDetect(obj);
|
|
42
|
-
if (ver[0] != needVer[0] || ver[1] < needVer[1])
|
|
43
|
-
return (false);
|
|
44
|
-
return (true);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function assertCompatible(obj, klass, needVer, name) {
|
|
48
|
-
if (name === undefined)
|
|
49
|
-
name = 'object';
|
|
50
|
-
assert.ok(obj, name + ' must not be null');
|
|
51
|
-
assert.object(obj, name + ' must be an object');
|
|
52
|
-
if (needVer === undefined)
|
|
53
|
-
needVer = klass.prototype._sshpkApiVersion;
|
|
54
|
-
if (obj instanceof klass &&
|
|
55
|
-
klass.prototype._sshpkApiVersion[0] == needVer[0])
|
|
56
|
-
return;
|
|
57
|
-
var proto = Object.getPrototypeOf(obj);
|
|
58
|
-
var depth = 0;
|
|
59
|
-
while (proto.constructor.name !== klass.name) {
|
|
60
|
-
proto = Object.getPrototypeOf(proto);
|
|
61
|
-
assert.ok(proto && ++depth <= MAX_CLASS_DEPTH,
|
|
62
|
-
name + ' must be a ' + klass.name + ' instance');
|
|
63
|
-
}
|
|
64
|
-
assert.strictEqual(proto.constructor.name, klass.name,
|
|
65
|
-
name + ' must be a ' + klass.name + ' instance');
|
|
66
|
-
var ver = proto._sshpkApiVersion;
|
|
67
|
-
if (ver === undefined)
|
|
68
|
-
ver = klass._oldVersionDetect(obj);
|
|
69
|
-
assert.ok(ver[0] == needVer[0] && ver[1] >= needVer[1],
|
|
70
|
-
name + ' must be compatible with ' + klass.name + ' klass ' +
|
|
71
|
-
'version ' + needVer[0] + '.' + needVer[1]);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
var CIPHER_LEN = {
|
|
75
|
-
'des-ede3-cbc': { key: 7, iv: 8 },
|
|
76
|
-
'aes-128-cbc': { key: 16, iv: 16 }
|
|
77
|
-
};
|
|
78
|
-
var PKCS5_SALT_LEN = 8;
|
|
79
|
-
|
|
80
|
-
function opensslKeyDeriv(cipher, salt, passphrase, count) {
|
|
81
|
-
assert.buffer(salt, 'salt');
|
|
82
|
-
assert.buffer(passphrase, 'passphrase');
|
|
83
|
-
assert.number(count, 'iteration count');
|
|
84
|
-
|
|
85
|
-
var clen = CIPHER_LEN[cipher];
|
|
86
|
-
assert.object(clen, 'supported cipher');
|
|
87
|
-
|
|
88
|
-
salt = salt.slice(0, PKCS5_SALT_LEN);
|
|
89
|
-
|
|
90
|
-
var D, D_prev, bufs;
|
|
91
|
-
var material = new Buffer(0);
|
|
92
|
-
while (material.length < clen.key + clen.iv) {
|
|
93
|
-
bufs = [];
|
|
94
|
-
if (D_prev)
|
|
95
|
-
bufs.push(D_prev);
|
|
96
|
-
bufs.push(passphrase);
|
|
97
|
-
bufs.push(salt);
|
|
98
|
-
D = Buffer.concat(bufs);
|
|
99
|
-
for (var j = 0; j < count; ++j)
|
|
100
|
-
D = crypto.createHash('md5').update(D).digest();
|
|
101
|
-
material = Buffer.concat([material, D]);
|
|
102
|
-
D_prev = D;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
return ({
|
|
106
|
-
key: material.slice(0, clen.key),
|
|
107
|
-
iv: material.slice(clen.key, clen.key + clen.iv)
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Count leading zero bits on a buffer */
|
|
112
|
-
function countZeros(buf) {
|
|
113
|
-
var o = 0, obit = 8;
|
|
114
|
-
while (o < buf.length) {
|
|
115
|
-
var mask = (1 << obit);
|
|
116
|
-
if ((buf[o] & mask) === mask)
|
|
117
|
-
break;
|
|
118
|
-
obit--;
|
|
119
|
-
if (obit < 0) {
|
|
120
|
-
o++;
|
|
121
|
-
obit = 8;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return (o*8 + (8 - obit) - 1);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
function bufferSplit(buf, chr) {
|
|
128
|
-
assert.buffer(buf);
|
|
129
|
-
assert.string(chr);
|
|
130
|
-
|
|
131
|
-
var parts = [];
|
|
132
|
-
var lastPart = 0;
|
|
133
|
-
var matches = 0;
|
|
134
|
-
for (var i = 0; i < buf.length; ++i) {
|
|
135
|
-
if (buf[i] === chr.charCodeAt(matches))
|
|
136
|
-
++matches;
|
|
137
|
-
else if (buf[i] === chr.charCodeAt(0))
|
|
138
|
-
matches = 1;
|
|
139
|
-
else
|
|
140
|
-
matches = 0;
|
|
141
|
-
|
|
142
|
-
if (matches >= chr.length) {
|
|
143
|
-
var newPart = i + 1;
|
|
144
|
-
parts.push(buf.slice(lastPart, newPart - matches));
|
|
145
|
-
lastPart = newPart;
|
|
146
|
-
matches = 0;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
if (lastPart <= buf.length)
|
|
150
|
-
parts.push(buf.slice(lastPart, buf.length));
|
|
151
|
-
|
|
152
|
-
return (parts);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
function ecNormalize(buf, addZero) {
|
|
156
|
-
assert.buffer(buf);
|
|
157
|
-
if (buf[0] === 0x00 && buf[1] === 0x04) {
|
|
158
|
-
if (addZero)
|
|
159
|
-
return (buf);
|
|
160
|
-
return (buf.slice(1));
|
|
161
|
-
} else if (buf[0] === 0x04) {
|
|
162
|
-
if (!addZero)
|
|
163
|
-
return (buf);
|
|
164
|
-
} else {
|
|
165
|
-
while (buf[0] === 0x00)
|
|
166
|
-
buf = buf.slice(1);
|
|
167
|
-
if (buf[0] === 0x02 || buf[0] === 0x03)
|
|
168
|
-
throw (new Error('Compressed elliptic curve points ' +
|
|
169
|
-
'are not supported'));
|
|
170
|
-
if (buf[0] !== 0x04)
|
|
171
|
-
throw (new Error('Not a valid elliptic curve point'));
|
|
172
|
-
if (!addZero)
|
|
173
|
-
return (buf);
|
|
174
|
-
}
|
|
175
|
-
var b = new Buffer(buf.length + 1);
|
|
176
|
-
b[0] = 0x0;
|
|
177
|
-
buf.copy(b, 1);
|
|
178
|
-
return (b);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
function mpNormalize(buf) {
|
|
182
|
-
assert.buffer(buf);
|
|
183
|
-
while (buf.length > 1 && buf[0] === 0x00 && (buf[1] & 0x80) === 0x00)
|
|
184
|
-
buf = buf.slice(1);
|
|
185
|
-
if ((buf[0] & 0x80) === 0x80) {
|
|
186
|
-
var b = new Buffer(buf.length + 1);
|
|
187
|
-
b[0] = 0x00;
|
|
188
|
-
buf.copy(b, 1);
|
|
189
|
-
buf = b;
|
|
190
|
-
}
|
|
191
|
-
return (buf);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
function bigintToMpBuf(bigint) {
|
|
195
|
-
var buf = new Buffer(bigint.toByteArray());
|
|
196
|
-
buf = mpNormalize(buf);
|
|
197
|
-
return (buf);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
function calculateDSAPublic(g, p, x) {
|
|
201
|
-
assert.buffer(g);
|
|
202
|
-
assert.buffer(p);
|
|
203
|
-
assert.buffer(x);
|
|
204
|
-
try {
|
|
205
|
-
var bigInt = require('jsbn').BigInteger;
|
|
206
|
-
} catch (e) {
|
|
207
|
-
throw (new Error('To load a PKCS#8 format DSA private key, ' +
|
|
208
|
-
'the node jsbn library is required.'));
|
|
209
|
-
}
|
|
210
|
-
g = new bigInt(g);
|
|
211
|
-
p = new bigInt(p);
|
|
212
|
-
x = new bigInt(x);
|
|
213
|
-
var y = g.modPow(x, p);
|
|
214
|
-
var ybuf = bigintToMpBuf(y);
|
|
215
|
-
return (ybuf);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
function addRSAMissing(key) {
|
|
219
|
-
assert.object(key);
|
|
220
|
-
assertCompatible(key, PrivateKey, [1, 1]);
|
|
221
|
-
try {
|
|
222
|
-
var bigInt = require('jsbn').BigInteger;
|
|
223
|
-
} catch (e) {
|
|
224
|
-
throw (new Error('To write a PEM private key from ' +
|
|
225
|
-
'this source, the node jsbn lib is required.'));
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
var d = new bigInt(key.part.d.data);
|
|
229
|
-
var buf;
|
|
230
|
-
|
|
231
|
-
if (!key.part.dmodp) {
|
|
232
|
-
var p = new bigInt(key.part.p.data);
|
|
233
|
-
var dmodp = d.mod(p.subtract(1));
|
|
234
|
-
|
|
235
|
-
buf = bigintToMpBuf(dmodp);
|
|
236
|
-
key.part.dmodp = {name: 'dmodp', data: buf};
|
|
237
|
-
key.parts.push(key.part.dmodp);
|
|
238
|
-
}
|
|
239
|
-
if (!key.part.dmodq) {
|
|
240
|
-
var q = new bigInt(key.part.q.data);
|
|
241
|
-
var dmodq = d.mod(q.subtract(1));
|
|
242
|
-
|
|
243
|
-
buf = bigintToMpBuf(dmodq);
|
|
244
|
-
key.part.dmodq = {name: 'dmodq', data: buf};
|
|
245
|
-
key.parts.push(key.part.dmodq);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
function opensshCipherInfo(cipher) {
|
|
250
|
-
var inf = {};
|
|
251
|
-
switch (cipher) {
|
|
252
|
-
case '3des-cbc':
|
|
253
|
-
inf.keySize = 24;
|
|
254
|
-
inf.blockSize = 8;
|
|
255
|
-
inf.opensslName = 'des-ede3-cbc';
|
|
256
|
-
break;
|
|
257
|
-
case 'blowfish-cbc':
|
|
258
|
-
inf.keySize = 16;
|
|
259
|
-
inf.blockSize = 8;
|
|
260
|
-
inf.opensslName = 'bf-cbc';
|
|
261
|
-
break;
|
|
262
|
-
case 'aes128-cbc':
|
|
263
|
-
case 'aes128-ctr':
|
|
264
|
-
case 'aes128-gcm@openssh.com':
|
|
265
|
-
inf.keySize = 16;
|
|
266
|
-
inf.blockSize = 16;
|
|
267
|
-
inf.opensslName = 'aes-128-' + cipher.slice(7, 10);
|
|
268
|
-
break;
|
|
269
|
-
case 'aes192-cbc':
|
|
270
|
-
case 'aes192-ctr':
|
|
271
|
-
case 'aes192-gcm@openssh.com':
|
|
272
|
-
inf.keySize = 24;
|
|
273
|
-
inf.blockSize = 16;
|
|
274
|
-
inf.opensslName = 'aes-192-' + cipher.slice(7, 10);
|
|
275
|
-
break;
|
|
276
|
-
case 'aes256-cbc':
|
|
277
|
-
case 'aes256-ctr':
|
|
278
|
-
case 'aes256-gcm@openssh.com':
|
|
279
|
-
inf.keySize = 32;
|
|
280
|
-
inf.blockSize = 16;
|
|
281
|
-
inf.opensslName = 'aes-256-' + cipher.slice(7, 10);
|
|
282
|
-
break;
|
|
283
|
-
default:
|
|
284
|
-
throw (new Error(
|
|
285
|
-
'Unsupported openssl cipher "' + cipher + '"'));
|
|
286
|
-
}
|
|
287
|
-
return (inf);
|
|
288
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
.TH sshpk\-conv 1 "Jan 2016" sshpk "sshpk Commands"
|
|
2
|
-
.SH NAME
|
|
3
|
-
.PP
|
|
4
|
-
sshpk\-conv \- convert between key formats
|
|
5
|
-
.SH SYNOPSYS
|
|
6
|
-
.PP
|
|
7
|
-
\fB\fCsshpk\-conv\fR \-t FORMAT [FILENAME] [OPTIONS...]
|
|
8
|
-
.PP
|
|
9
|
-
\fB\fCsshpk\-conv\fR \-i [FILENAME] [OPTIONS...]
|
|
10
|
-
.SH DESCRIPTION
|
|
11
|
-
.PP
|
|
12
|
-
Reads in a public or private key and converts it between different formats,
|
|
13
|
-
particularly formats used in the SSH protocol and the well\-known PEM PKCS#1/7
|
|
14
|
-
formats.
|
|
15
|
-
.PP
|
|
16
|
-
In the second form, with the \fB\fC\-i\fR option given, identifies a key and prints to
|
|
17
|
-
stderr information about its nature, size and fingerprint.
|
|
18
|
-
.SH EXAMPLES
|
|
19
|
-
.PP
|
|
20
|
-
Assume the following SSH\-format public key in \fB\fCid_ecdsa.pub\fR:
|
|
21
|
-
.PP
|
|
22
|
-
.RS
|
|
23
|
-
.nf
|
|
24
|
-
ecdsa\-sha2\-nistp256 AAAAE2VjZHNhLXNoYTI...9M/4c4= user@host
|
|
25
|
-
.fi
|
|
26
|
-
.RE
|
|
27
|
-
.PP
|
|
28
|
-
Identify it with \fB\fC\-i\fR:
|
|
29
|
-
.PP
|
|
30
|
-
.RS
|
|
31
|
-
.nf
|
|
32
|
-
$ sshpk\-conv \-i id_ecdsa.pub
|
|
33
|
-
id_ecdsa: a 256 bit ECDSA public key
|
|
34
|
-
ECDSA curve: nistp256
|
|
35
|
-
Comment: user@host
|
|
36
|
-
Fingerprint:
|
|
37
|
-
SHA256:vCNX7eUkdvqqW0m4PoxQAZRv+CM4P4fS8+CbliAvS4k
|
|
38
|
-
81:ad:d5:57:e5:6f:7d:a2:93:79:56:af:d7:c0:38:51
|
|
39
|
-
.fi
|
|
40
|
-
.RE
|
|
41
|
-
.PP
|
|
42
|
-
Convert it to \fB\fCpkcs8\fR format, for use with e.g. OpenSSL:
|
|
43
|
-
.PP
|
|
44
|
-
.RS
|
|
45
|
-
.nf
|
|
46
|
-
$ sshpk\-conv \-t pkcs8 id_ecdsa
|
|
47
|
-
\-\-\-\-\-BEGIN PUBLIC KEY\-\-\-\-\-
|
|
48
|
-
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAsA4R6N6AS3gzaPBeLjG2ObSgUsR
|
|
49
|
-
zOt+kWJoijLnw3ZMYUKmAx+lD0I5XUxdrPcs1vH5f3cn9TvRvO9L0z/hzg==
|
|
50
|
-
\-\-\-\-\-END PUBLIC KEY\-\-\-\-\-
|
|
51
|
-
.fi
|
|
52
|
-
.RE
|
|
53
|
-
.PP
|
|
54
|
-
Retrieve the public half of a private key:
|
|
55
|
-
.PP
|
|
56
|
-
.RS
|
|
57
|
-
.nf
|
|
58
|
-
$ openssl genrsa 2048 | sshpk\-conv \-t ssh \-c foo@bar
|
|
59
|
-
ssh\-rsa AAAAB3NzaC1yc2EAAA...koK7 foo@bar
|
|
60
|
-
.fi
|
|
61
|
-
.RE
|
|
62
|
-
.PP
|
|
63
|
-
Convert a private key to PKCS#1 (OpenSSL) format from a new\-style OpenSSH key
|
|
64
|
-
format (the \fB\fCssh\-keygen \-o\fR format):
|
|
65
|
-
.PP
|
|
66
|
-
.RS
|
|
67
|
-
.nf
|
|
68
|
-
$ ssh\-keygen \-o \-f foobar
|
|
69
|
-
\&...
|
|
70
|
-
$ sshpk\-conv \-p \-t pkcs1 foobar
|
|
71
|
-
\-\-\-\-\-BEGIN RSA PRIVATE KEY\-\-\-\-\-
|
|
72
|
-
MIIDpAIBAAKCAQEA6T/GYJndb1TRH3+NL....
|
|
73
|
-
\-\-\-\-\-END RSA PRIVATE KEY\-\-\-\-\-
|
|
74
|
-
.fi
|
|
75
|
-
.RE
|
|
76
|
-
.SH OPTIONS
|
|
77
|
-
.TP
|
|
78
|
-
\fB\fC\-i, \-\-identify\fR
|
|
79
|
-
Instead of converting the key, output identifying information about it to
|
|
80
|
-
stderr, including its type, size and fingerprints.
|
|
81
|
-
.TP
|
|
82
|
-
\fB\fC\-p, \-\-private\fR
|
|
83
|
-
Treat the key as a private key instead of a public key (the default). If you
|
|
84
|
-
supply \fB\fCsshpk\-conv\fR with a private key and do not give this option, it will
|
|
85
|
-
extract only the public half of the key from it and work with that.
|
|
86
|
-
.TP
|
|
87
|
-
\fB\fC\-f PATH, \-\-file=PATH\fR
|
|
88
|
-
Input file to take the key from instead of stdin. If a filename is supplied
|
|
89
|
-
as a positional argument, it is equivalent to using this option.
|
|
90
|
-
.TP
|
|
91
|
-
\fB\fC\-o PATH, \-\-out=PATH\fR
|
|
92
|
-
Output file name to use instead of stdout.
|
|
93
|
-
.PP
|
|
94
|
-
\fB\fC\-T FORMAT, \-\-informat=FORMAT\fR
|
|
95
|
-
.TP
|
|
96
|
-
\fB\fC\-t FORMAT, \-\-outformat=FORMAT\fR
|
|
97
|
-
Selects the input and output formats to be used (see FORMATS, below).
|
|
98
|
-
.TP
|
|
99
|
-
\fB\fC\-c TEXT, \-\-comment=TEXT\fR
|
|
100
|
-
Sets the key comment for the output file, if supported.
|
|
101
|
-
.SH FORMATS
|
|
102
|
-
.PP
|
|
103
|
-
Currently supported formats:
|
|
104
|
-
.TP
|
|
105
|
-
\fB\fCpem, pkcs1\fR
|
|
106
|
-
The standard PEM format used by older OpenSSH and most TLS libraries such as
|
|
107
|
-
OpenSSL. The classic \fB\fCid_rsa\fR file is usually in this format. It is an ASN.1
|
|
108
|
-
encoded structure, base64\-encoded and placed between PEM headers.
|
|
109
|
-
.TP
|
|
110
|
-
\fB\fCssh\fR
|
|
111
|
-
The SSH public key text format (the format of an \fB\fCid_rsa.pub\fR file). A single
|
|
112
|
-
line, containing 3 space separated parts: the key type, key body and optional
|
|
113
|
-
key comment.
|
|
114
|
-
.TP
|
|
115
|
-
\fB\fCpkcs8\fR
|
|
116
|
-
A newer PEM format, usually used only for public keys by TLS libraries such
|
|
117
|
-
as OpenSSL. The ASN.1 structure is more generic than that of \fB\fCpkcs1\fR\&.
|
|
118
|
-
.TP
|
|
119
|
-
\fB\fCopenssh\fR
|
|
120
|
-
The new \fB\fCssh\-keygen \-o\fR format from OpenSSH. This can be mistaken for a PEM
|
|
121
|
-
encoding but is actually an OpenSSH internal format.
|
|
122
|
-
.TP
|
|
123
|
-
\fB\fCrfc4253\fR
|
|
124
|
-
The internal binary format of keys when sent over the wire in the SSH
|
|
125
|
-
protocol. This is also the format that the \fB\fCssh\-agent\fR uses in its protocol.
|
|
126
|
-
.SH SEE ALSO
|
|
127
|
-
.PP
|
|
128
|
-
.BR ssh-keygen (1),
|
|
129
|
-
.BR openssl (1)
|
|
130
|
-
.SH BUGS
|
|
131
|
-
.PP
|
|
132
|
-
Encrypted (password\-protected) keys are not supported.
|
|
133
|
-
.PP
|
|
134
|
-
Report bugs at Github
|
|
135
|
-
\[la]https://github.com/arekinath/node-sshpk/issues\[ra]
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
.TH sshpk\-sign 1 "Jan 2016" sshpk "sshpk Commands"
|
|
2
|
-
.SH NAME
|
|
3
|
-
.PP
|
|
4
|
-
sshpk\-sign \- sign data using an SSH key
|
|
5
|
-
.SH SYNOPSYS
|
|
6
|
-
.PP
|
|
7
|
-
\fB\fCsshpk\-sign\fR \-i KEYPATH [OPTION...]
|
|
8
|
-
.SH DESCRIPTION
|
|
9
|
-
.PP
|
|
10
|
-
Takes in arbitrary bytes, and signs them using an SSH private key. The key can
|
|
11
|
-
be of any type or format supported by the \fB\fCsshpk\fR library, including the
|
|
12
|
-
standard OpenSSH formats, as well as PEM PKCS#1 and PKCS#8.
|
|
13
|
-
.PP
|
|
14
|
-
The signature is printed out in Base64 encoding, unless the \fB\fC\-\-binary\fR or \fB\fC\-b\fR
|
|
15
|
-
option is given.
|
|
16
|
-
.SH EXAMPLES
|
|
17
|
-
.PP
|
|
18
|
-
Signing with default settings:
|
|
19
|
-
.PP
|
|
20
|
-
.RS
|
|
21
|
-
.nf
|
|
22
|
-
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa
|
|
23
|
-
MEUCIAMdLS/vXrrtWFepwe...
|
|
24
|
-
.fi
|
|
25
|
-
.RE
|
|
26
|
-
.PP
|
|
27
|
-
Signing in SSH (RFC 4253) format (rather than the default ASN.1):
|
|
28
|
-
.PP
|
|
29
|
-
.RS
|
|
30
|
-
.nf
|
|
31
|
-
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa \-t ssh
|
|
32
|
-
AAAAFGVjZHNhLXNoYTIt...
|
|
33
|
-
.fi
|
|
34
|
-
.RE
|
|
35
|
-
.PP
|
|
36
|
-
Saving the binary signature to a file:
|
|
37
|
-
.PP
|
|
38
|
-
.RS
|
|
39
|
-
.nf
|
|
40
|
-
$ printf 'foo' | sshpk\-sign \-i ~/.ssh/id_ecdsa \\
|
|
41
|
-
\-o signature.bin \-b
|
|
42
|
-
$ cat signature.bin | base64
|
|
43
|
-
MEUCIAMdLS/vXrrtWFepwe...
|
|
44
|
-
.fi
|
|
45
|
-
.RE
|
|
46
|
-
.SH OPTIONS
|
|
47
|
-
.TP
|
|
48
|
-
\fB\fC\-v, \-\-verbose\fR
|
|
49
|
-
Print extra information about the key and signature to stderr when signing.
|
|
50
|
-
.TP
|
|
51
|
-
\fB\fC\-b, \-\-binary\fR
|
|
52
|
-
Don't base64\-encode the signature before outputting it.
|
|
53
|
-
.TP
|
|
54
|
-
\fB\fC\-i KEY, \-\-identity=KEY\fR
|
|
55
|
-
Select the key to be used for signing. \fB\fCKEY\fR must be a relative or absolute
|
|
56
|
-
filesystem path to the key file. Any format supported by the \fB\fCsshpk\fR library
|
|
57
|
-
is supported, including OpenSSH formats and standard PEM PKCS.
|
|
58
|
-
.TP
|
|
59
|
-
\fB\fC\-f PATH, \-\-file=PATH\fR
|
|
60
|
-
Input file to sign instead of stdin.
|
|
61
|
-
.TP
|
|
62
|
-
\fB\fC\-o PATH, \-\-out=PATH\fR
|
|
63
|
-
Output file to save signature in instead of stdout.
|
|
64
|
-
.TP
|
|
65
|
-
\fB\fC\-H HASH, \-\-hash=HASH\fR
|
|
66
|
-
Set the hash algorithm to be used for signing. This should be one of \fB\fCsha1\fR,
|
|
67
|
-
\fB\fCsha256\fR or \fB\fCsha512\fR\&. Some key types may place restrictions on which hash
|
|
68
|
-
algorithms may be used (e.g. ED25519 keys can only use SHA\-512).
|
|
69
|
-
.TP
|
|
70
|
-
\fB\fC\-t FORMAT, \-\-format=FORMAT\fR
|
|
71
|
-
Choose the signature format to use, from \fB\fCasn1\fR, \fB\fCssh\fR or \fB\fCraw\fR (only for
|
|
72
|
-
ED25519 signatures). The \fB\fCasn1\fR format is the default, as it is the format
|
|
73
|
-
used with TLS and typically the standard in most non\-SSH libraries (e.g.
|
|
74
|
-
OpenSSL). The \fB\fCssh\fR format is used in the SSH protocol and by the ssh\-agent.
|
|
75
|
-
.SH SEE ALSO
|
|
76
|
-
.PP
|
|
77
|
-
.BR sshpk-verify (1)
|
|
78
|
-
.SH BUGS
|
|
79
|
-
.PP
|
|
80
|
-
Report bugs at Github
|
|
81
|
-
\[la]https://github.com/arekinath/node-sshpk/issues\[ra]
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
.TH sshpk\-verify 1 "Jan 2016" sshpk "sshpk Commands"
|
|
2
|
-
.SH NAME
|
|
3
|
-
.PP
|
|
4
|
-
sshpk\-verify \- verify a signature on data using an SSH key
|
|
5
|
-
.SH SYNOPSYS
|
|
6
|
-
.PP
|
|
7
|
-
\fB\fCsshpk\-verify\fR \-i KEYPATH \-s SIGNATURE [OPTION...]
|
|
8
|
-
.SH DESCRIPTION
|
|
9
|
-
.PP
|
|
10
|
-
Takes in arbitrary bytes and a Base64\-encoded signature, and verifies that the
|
|
11
|
-
signature was produced by the private half of the given SSH public key.
|
|
12
|
-
.SH EXAMPLES
|
|
13
|
-
.PP
|
|
14
|
-
.RS
|
|
15
|
-
.nf
|
|
16
|
-
$ printf 'foo' | sshpk\-verify \-i ~/.ssh/id_ecdsa \-s MEUCIQCYp...
|
|
17
|
-
OK
|
|
18
|
-
$ printf 'foo' | sshpk\-verify \-i ~/.ssh/id_ecdsa \-s GARBAGE...
|
|
19
|
-
NOT OK
|
|
20
|
-
.fi
|
|
21
|
-
.RE
|
|
22
|
-
.SH EXIT STATUS
|
|
23
|
-
.TP
|
|
24
|
-
\fB\fC0\fR
|
|
25
|
-
Signature validates and matches the key.
|
|
26
|
-
.TP
|
|
27
|
-
\fB\fC1\fR
|
|
28
|
-
Signature is parseable and the correct length but does not match the key or
|
|
29
|
-
otherwise is invalid.
|
|
30
|
-
.TP
|
|
31
|
-
\fB\fC2\fR
|
|
32
|
-
The signature or key could not be parsed.
|
|
33
|
-
.TP
|
|
34
|
-
\fB\fC3\fR
|
|
35
|
-
Invalid commandline options were supplied.
|
|
36
|
-
.SH OPTIONS
|
|
37
|
-
.TP
|
|
38
|
-
\fB\fC\-v, \-\-verbose\fR
|
|
39
|
-
Print extra information about the key and signature to stderr when verifying.
|
|
40
|
-
.TP
|
|
41
|
-
\fB\fC\-i KEY, \-\-identity=KEY\fR
|
|
42
|
-
Select the key to be used for verification. \fB\fCKEY\fR must be a relative or
|
|
43
|
-
absolute filesystem path to the key file. Any format supported by the \fB\fCsshpk\fR
|
|
44
|
-
library is supported, including OpenSSH formats and standard PEM PKCS.
|
|
45
|
-
.TP
|
|
46
|
-
\fB\fC\-s BASE64, \-\-signature=BASE64\fR
|
|
47
|
-
Supplies the base64\-encoded signature to be verified.
|
|
48
|
-
.TP
|
|
49
|
-
\fB\fC\-f PATH, \-\-file=PATH\fR
|
|
50
|
-
Input file to verify instead of stdin.
|
|
51
|
-
.TP
|
|
52
|
-
\fB\fC\-H HASH, \-\-hash=HASH\fR
|
|
53
|
-
Set the hash algorithm to be used for signing. This should be one of \fB\fCsha1\fR,
|
|
54
|
-
\fB\fCsha256\fR or \fB\fCsha512\fR\&. Some key types may place restrictions on which hash
|
|
55
|
-
algorithms may be used (e.g. ED25519 keys can only use SHA\-512).
|
|
56
|
-
.TP
|
|
57
|
-
\fB\fC\-t FORMAT, \-\-format=FORMAT\fR
|
|
58
|
-
Choose the signature format to use, from \fB\fCasn1\fR, \fB\fCssh\fR or \fB\fCraw\fR (only for
|
|
59
|
-
ED25519 signatures). The \fB\fCasn1\fR format is the default, as it is the format
|
|
60
|
-
used with TLS and typically the standard in most non\-SSH libraries (e.g.
|
|
61
|
-
OpenSSL). The \fB\fCssh\fR format is used in the SSH protocol and by the ssh\-agent.
|
|
62
|
-
.SH SEE ALSO
|
|
63
|
-
.PP
|
|
64
|
-
.BR sshpk-sign (1)
|
|
65
|
-
.SH BUGS
|
|
66
|
-
.PP
|
|
67
|
-
Report bugs at Github
|
|
68
|
-
\[la]https://github.com/arekinath/node-sshpk/issues\[ra]
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# assert-plus Changelog
|
|
2
|
-
|
|
3
|
-
## 1.0.0
|
|
4
|
-
|
|
5
|
-
- *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
|
|
6
|
-
- Add assert.finite check. Previous assert.number callers should use this if
|
|
7
|
-
they expect Infinity inputs to throw.
|
|
8
|
-
|
|
9
|
-
## 0.2.0
|
|
10
|
-
|
|
11
|
-
- Fix `assert.object(null)` so it throws
|
|
12
|
-
- Fix optional/arrayOf exports for non-type-of asserts
|
|
13
|
-
- Add optiona/arrayOf exports for Stream/Date/Regex/uuid
|
|
14
|
-
- Add basic unit test coverage
|