Skip to content

Commit 64ecbea

Browse files
valeriosettinashif
authored andcommitted
doc: update JWT documentation
Update JWT subsystem documentation concerning the changes related to: - default library used - new Kconfigs added Signed-off-by: Valerio Setti <[email protected]>
1 parent 6e8e0ec commit 64ecbea

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

doc/releases/migration-guide-4.0.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,5 +479,14 @@ Shell
479479
* ``kernel threads`` and ``kernel stacks`` shell command have been renamed to
480480
``kernel thread list`` & ``kernel thread stacks``
481481

482+
JWT (JSON Web Token)
483+
====================
484+
485+
* By default, the signature is now computed through PSA Crypto API for both RSA and ECDSA.
486+
The newly-added :kconfig:option:`CONFIG_JWT_USE_LEGACY` can be used to switch
487+
back to previous libraries (TinyCrypt for ECDSA and Mbed TLS for RSA).
488+
The conversion to the PSA Crypto API is being done in preparation for the
489+
deprecation of TinyCrypt. (:github:`78243` and :github:`43712`)
490+
482491
Architectures
483492
*************

doc/releases/release-notes-4.0.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,15 @@ Libraries / Subsystems
416416

417417
* ZBus
418418

419+
* JWT (JSON Web Token)
420+
421+
* The following new Kconfigs were added to specify which library to use for the
422+
signature:
423+
424+
* :kconfig:option:`CONFIG_JWT_USE_PSA` (default) use the PSA Crypto API;
425+
* :kconfig:option:`CONFIG_JWT_USE_LEGACY` use legacy libraries, i.e. TinyCrypt
426+
for ECDSA and Mbed TLS for RSA.
427+
419428
HALs
420429
****
421430

0 commit comments

Comments
 (0)