Skip to content

Commit c3fff7c

Browse files
committed
docs
1 parent e51b47f commit c3fff7c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ test, headers, err := Decode(token, func(headers map[string]interface{}, payload
10001000
```
10011001

10021002
### Customizing compression
1003-
There were denial-of-service attacks reported on JWT libraries that supports deflate compression by constructing malicious payload that explodes in terms of RAM on decompression. See for details: #33
1003+
There were denial-of-service attacks reported on JWT libraries that supports deflate compression by constructing malicious payload that explodes in terms of RAM on decompression. See for details: [#33](https://github.com/dvsekhvalnov/jose2go/issues/33)
10041004

10051005
As of v1.7.0 `jose2go` limits decompression buffer to 250Kb to limit memory consumption and additionaly provides a way to adjust the limit according to specific scenarios:
10061006

@@ -1010,6 +1010,10 @@ As of v1.7.0 `jose2go` limits decompression buffer to 250Kb to limit memory cons
10101010
```
10111011

10121012
## Changelog
1013+
### 1.7
1014+
- 250Kb limit on decompression buffer
1015+
- ability to register deflate compressor with custom limits
1016+
10131017
### 1.6
10141018
- ability to deregister specific algorithms
10151019
- configurable min/max restrictions for PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW

0 commit comments

Comments
 (0)