Skip to content

Commit 391fbe4

Browse files
authoredNov 17, 2021
#123 Need to update jsprim due to vulnerability in json-schema (#125)
Reviewed by: BruceHaley <v-brucehaley@microsoft.com> Reviewed by: Dan McDonald <danmcd@kebe.com>
1 parent e7a8a00 commit 391fbe4

File tree

4 files changed

+43
-39
lines changed

4 files changed

+43
-39
lines changed
 

‎CHANGES.md

+31-27
Original file line numberDiff line numberDiff line change
@@ -4,85 +4,89 @@
44

55
(nothing yet)
66

7+
## 1.3.6
8+
9+
* Update jsprim due to vulnerability in json-schema (#123)
10+
711
## 1.3.5
812

9-
- Add keyPassphrase option to signer (#115)
10-
- Add support for created and expires values (#110)
13+
* Add keyPassphrase option to signer (#115)
14+
* Add support for created and expires values (#110)
1115

1216
## 1.3.4
1317

14-
- Fix breakage in v1.3.3 with the setting of the "algorithm" field in the
18+
* Fix breakage in v1.3.3 with the setting of the "algorithm" field in the
1519
Authorization header (#102)
1620

1721
## 1.3.3
1822

1923
**Bad release. Use 1.3.4.**
2024

21-
- Add support for an opaque param in the Authorization header (#101)
22-
- Add support for adding the keyId and algorithm params into the signing string (#100)
25+
* Add support for an opaque param in the Authorization header (#101)
26+
* Add support for adding the keyId and algorithm params into the signing string (#100)
2327

2428
## 1.3.2
2529

26-
- Allow Buffers to be used for verifyHMAC (#98)
30+
* Allow Buffers to be used for verifyHMAC (#98)
2731

2832
## 1.3.1
2933

30-
- Fix node 0.10 usage (#90)
34+
* Fix node 0.10 usage (#90)
3135

3236
## 1.3.0
3337

3438
**Known issue:** This release broken http-signature with node 0.10.
3539

36-
- Bump dependency `sshpk`
37-
- Add `Signature` header support (#83)
40+
* Bump dependency `sshpk`
41+
* Add `Signature` header support (#83)
3842

3943
## 1.2.0
4044

41-
- Bump dependency `assert-plus`
42-
- Add ability to pass a custom header name
43-
- Replaced dependency `node-uuid` with `uuid`
45+
* Bump dependency `assert-plus`
46+
* Add ability to pass a custom header name
47+
* Replaced dependency `node-uuid` with `uuid`
4448

4549
## 1.1.1
4650

47-
- Version of dependency `assert-plus` updated: old version was missing
51+
* Version of dependency `assert-plus` updated: old version was missing
4852
some license information
49-
- Corrected examples in `http_signing.md`, added auto-tests to
53+
* Corrected examples in `http_signing.md`, added auto-tests to
5054
automatically validate these examples
5155

5256
## 1.1.0
5357

54-
- Bump version of `sshpk` dependency, remove peerDependency on it since
58+
* Bump version of `sshpk` dependency, remove peerDependency on it since
5559
it now supports exchanging objects between multiple versions of itself
5660
where possible
5761

5862
## 1.0.2
5963

60-
- Bump min version of `jsprim` dependency, to include fixes for using
64+
* Bump min version of `jsprim` dependency, to include fixes for using
6165
http-signature with `browserify`
6266

6367
## 1.0.1
6468

65-
- Bump minimum version of `sshpk` dependency, to include fixes for
69+
* Bump minimum version of `sshpk` dependency, to include fixes for
6670
whitespace tolerance in key parsing.
6771

6872
## 1.0.0
6973

70-
- First semver release.
71-
- #36: Ensure verifySignature does not leak useful timing information
72-
- #42: Bring the library up to the latest version of the spec (including the
74+
* First semver release.
75+
* #36: Ensure verifySignature does not leak useful timing information
76+
* #42: Bring the library up to the latest version of the spec (including the
7377
request-target changes)
74-
- Support for ECDSA keys and signatures.
75-
- Now uses `sshpk` for key parsing, validation and conversion.
76-
- Fixes for #21, #47, #39 and compatibility with node 0.8
78+
* Support for ECDSA keys and signatures.
79+
* Now uses `sshpk` for key parsing, validation and conversion.
80+
* Fixes for #21, #47, #39 and compatibility with node 0.8
7781

7882
## 0.11.0
7983

80-
- Split up HMAC and Signature verification to avoid vulnerabilities where a
84+
* Split up HMAC and Signature verification to avoid vulnerabilities where a
8185
key intended for use with one can be validated against the other method
8286
instead.
8387

8488
## 0.10.2
8589

86-
- Updated versions of most dependencies.
87-
- Utility functions exported for PEM => SSH-RSA conversion.
88-
- Improvements to tests and examples.
90+
* Updated versions of most dependencies.
91+
* Utility functions exported for PEM => SSH-RSA conversion.
92+
* Improvements to tests and examples.

‎Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@Library('jenkins-joylib@v1.0.2') _
1+
@Library('jenkins-joylib@v1.0.8') _
22

33
pipeline {
44

@@ -80,7 +80,7 @@ pipeline {
8080

8181
post {
8282
always {
83-
joyMattermostNotification()
83+
joySlackNotifications()
8484
}
8585
}
8686
}

‎package-lock.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "http-signature",
33
"description": "Reference implementation of Joyent's HTTP Signature scheme.",
4-
"version": "1.3.5",
4+
"version": "1.3.6",
55
"license": "MIT",
66
"author": "Joyent, Inc",
77
"contributors": [
@@ -31,7 +31,7 @@
3131
},
3232
"dependencies": {
3333
"assert-plus": "^1.0.0",
34-
"jsprim": "^1.2.2",
34+
"jsprim": "^2.0.2",
3535
"sshpk": "^1.14.1"
3636
},
3737
"devDependencies": {

0 commit comments

Comments
 (0)
Please sign in to comment.