Mon, 11 Jul 2022 13:43:01 +0100 util.jwt: Add new init() convenience method to obtain both signer and verifier
Matthew Wild <mwild1@gmail.com> [Mon, 11 Jul 2022 13:43:01 +0100] rev 12711
util.jwt: Add new init() convenience method to obtain both signer and verifier
Mon, 11 Jul 2022 13:42:08 +0100 util.jwt: Consolidate payload parsing, ensure it's always a valid object
Matthew Wild <mwild1@gmail.com> [Mon, 11 Jul 2022 13:42:08 +0100] rev 12710
util.jwt: Consolidate payload parsing, ensure it's always a valid object
Mon, 11 Jul 2022 13:28:29 +0100 util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime)
Matthew Wild <mwild1@gmail.com> [Mon, 11 Jul 2022 13:28:29 +0100] rev 12709
util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime) To avoid every user of the library needing to add and verify expiry info, this is now handled by util.jwt itself (if not overridden or disabled). Issuing tokens that are valid forever is bad practice and rarely desired, and the default token lifetime is now 3600s (1 hour).
Sat, 02 Jul 2022 15:29:04 +0100 util.jwt: All the algorithms (+ all the tests!)
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 15:29:04 +0100] rev 12708
util.jwt: All the algorithms (+ all the tests!) Except 'none'. Not implementing that one.
Sat, 02 Jul 2022 15:27:44 +0100 util.crypto: tests: fix some tests that didn't do much (thanks luacheck!)
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 15:27:44 +0100] rev 12707
util.crypto: tests: fix some tests that didn't do much (thanks luacheck!)
Sat, 02 Jul 2022 14:59:52 +0100 util.crypto: More digests for sign/verify, use macros for clarity/consistency
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 14:59:52 +0100] rev 12706
util.crypto: More digests for sign/verify, use macros for clarity/consistency
Sat, 02 Jul 2022 14:22:20 +0100 util.jwt: Overhaul of tests to use declarative approach
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 14:22:20 +0100] rev 12705
util.jwt: Overhaul of tests to use declarative approach Now we can consistently apply the same tests to every algorithm, instead of duplicating code.
Sat, 02 Jul 2022 12:36:52 +0100 spec: Move test crypto keys to a shared file for clarity and easy maintenance
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 12:36:52 +0100] rev 12704
spec: Move test crypto keys to a shared file for clarity and easy maintenance
Sat, 02 Jul 2022 12:26:43 +0100 util.jwt: Add support for RSA-based algorithms (RS256, PS256)
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 12:26:43 +0100] rev 12703
util.jwt: Add support for RSA-based algorithms (RS256, PS256)
Sat, 02 Jul 2022 11:51:24 +0100 util.crypto: Friendlier error message on incorrect key types
Matthew Wild <mwild1@gmail.com> [Sat, 02 Jul 2022 11:51:24 +0100] rev 12702
util.crypto: Friendlier error message on incorrect key types
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 tip