Skip to content

Commit

Permalink
doc: update JWT documentation
Browse files Browse the repository at this point in the history
Update JWT subsystem documentation concerning the changes related
to:

- default library used
- new Kconfigs added

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
  • Loading branch information
valeriosetti authored and nashif committed Oct 8, 2024
1 parent 6e8e0ec commit 64ecbea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/releases/migration-guide-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,5 +479,14 @@ Shell
* ``kernel threads`` and ``kernel stacks`` shell command have been renamed to
``kernel thread list`` & ``kernel thread stacks``

JWT (JSON Web Token)
====================

* By default, the signature is now computed through PSA Crypto API for both RSA and ECDSA.
The newly-added :kconfig:option:`CONFIG_JWT_USE_LEGACY` can be used to switch
back to previous libraries (TinyCrypt for ECDSA and Mbed TLS for RSA).
The conversion to the PSA Crypto API is being done in preparation for the
deprecation of TinyCrypt. (:github:`78243` and :github:`43712`)

Architectures
*************
9 changes: 9 additions & 0 deletions doc/releases/release-notes-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,15 @@ Libraries / Subsystems

* ZBus

* JWT (JSON Web Token)

* The following new Kconfigs were added to specify which library to use for the
signature:

* :kconfig:option:`CONFIG_JWT_USE_PSA` (default) use the PSA Crypto API;
* :kconfig:option:`CONFIG_JWT_USE_LEGACY` use legacy libraries, i.e. TinyCrypt
for ECDSA and Mbed TLS for RSA.

HALs
****

Expand Down

0 comments on commit 64ecbea

Please sign in to comment.