Skip to content

Commit bd0fea5

Browse files
author
julienwoll
committed
version 3.2.3
1 parent 7c3b4b4 commit bd0fea5

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
/test/keys
33
/test/*.pem
44
/test/encrypted-key-passphrase
5+
package-lock.json

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# Change Log
2+
23
All notable changes to this project will be documented in this file.
34

5+
## [3.2.3]
6+
7+
### Changed
8+
9+
- Fix advisory GHSA-869p-cjfg-cm3x: createSign and createVerify now require
10+
that a non empty secret is provided (via opts.secret, opts.privateKey or opts.key)
11+
when using HMAC algorithms.
12+
- Upgrading JWA version to 1.4.2, adressing a compatibility issue for Node >= 25.
13+
414
## [3.0.0]
15+
516
### Changed
17+
618
- **BREAKING**: `jwt.verify` now requires an `algorithm` parameter, and
719
`jws.createVerify` requires an `algorithm` option. The `"alg"` field
820
signature headers is ignored. This mitigates a critical security flaw
@@ -12,7 +24,9 @@ All notable changes to this project will be documented in this file.
1224
for details.
1325

1426
## [2.0.0] - 2015-01-30
27+
1528
### Changed
29+
1630
- **BREAKING**: Default payload encoding changed from `binary` to
1731
`utf8`. `utf8` is a is a more sensible default than `binary` because
1832
many payloads, as far as I can tell, will contain user-facing
@@ -21,14 +35,13 @@ All notable changes to this project will be documented in this file.
2135
- Code reorganization, thanks [@fearphage]! (<code>[7880050]</code>)
2236

2337
### Added
38+
2439
- Option in all relevant methods for `encoding`. For those few users
2540
that might be depending on a `binary` encoding of the messages, this
2641
is for them. (<code>[6b6de48]</code>)
2742

2843
[unreleased]: https://github.com/brianloveswords/node-jws/compare/v2.0.0...HEAD
2944
[2.0.0]: https://github.com/brianloveswords/node-jws/compare/v1.0.1...v2.0.0
30-
3145
[7880050]: https://github.com/brianloveswords/node-jws/commit/7880050
3246
[6b6de48]: https://github.com/brianloveswords/node-jws/commit/6b6de48
33-
3447
[@fearphage]: https://github.com/fearphage

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jws",
3-
"version": "3.2.2",
3+
"version": "3.2.3",
44
"description": "Implementation of JSON Web Signatures",
55
"main": "index.js",
66
"directories": {
@@ -24,7 +24,7 @@
2424
"readmeFilename": "readme.md",
2525
"gitHead": "c0f6b27bcea5a2ad2e304d91c2e842e4076a6b03",
2626
"dependencies": {
27-
"jwa": "^1.4.1",
27+
"jwa": "^1.4.2",
2828
"safe-buffer": "^5.0.1"
2929
},
3030
"devDependencies": {

0 commit comments

Comments
 (0)