Mercurial > p > roundup > code
view doc/license.txt @ 7809:be6cb2e0d471
feat: add support for rotating jwt keys
This allows jwt_secret to have multiple ',' separated secrets. The
first/leftmost should be used to sign new JWTs. All of them are used
(starting from left/newest) to try to verify a JWT.
If the first secret is < 32 chars in length JWTs are disabled. If any
of the other secrets are < 32 chars, the configuration code causes the
software to exit. This prevents insecure (too short) secrets from
being used.
Updated doc examples and tests.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 14 Mar 2024 19:04:19 -0400 |
| parents | 0d9f704a7ef2 |
| children | a1bdd7823bf8 |
line wrap: on
line source
License ======= Roundup is Free Software under the following license (from the file COPYING.txt in the software distribution): .. raw:: html <div class="file_insert"> .. include:: ../COPYING.txt .. raw:: html </div>
