Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed May 22, 2021
1 parent f3ccd41 commit bfc9cac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v2.0.0]
- Update the interface to not use strlen() for lengths but expect them to be
passed in. This reduces the likelihood of this library being exploited by
a long string.
- Add the cjwt_printf() function to the interface.
- Remove the alg mapping function that was mistakenly provided in the 1.x.x API.
- Add a few worked examples.

## [v1.0.4]
- Move to use internal base64 decoding with stricter processing rules
- Major refactor to use a specified length and not '\0' terminated strings internally.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ option flags that let you do so, but use them sparingly and with care.

# Examples:

- HS256
- RS256
- ES256
- [HS](https://github.com/xmidt-org/cjwt/blob/main/examples/basic/hs_example.c)
- [RS / PS](https://github.com/xmidt-org/cjwt/blob/main/examples/basic/rs_example.c)
- [ES](https://github.com/xmidt-org/cjwt/blob/main/examples/basic/es_example.c)

## Inline

Expand Down

0 comments on commit bfc9cac

Please sign in to comment.