113 Commits

Author SHA1 Message Date
ca7b8539a8 v3.2.0 v3.2.0 2025-03-12 15:42:50 +01:00
5ac703a4b2 feat: Reduce dependencies
* Use `pointycastle` for HMAC calculation instead of `crypto`
* Implement custom deep list equality instead of using the `collection` package
2025-03-12 15:40:36 +01:00
368d05a1a5 Update upper bound of pointycastle (#65)
* Update upper bound of `pointycastle`

* Update versions
2025-03-12 11:54:49 +01:00
bd6d246927 v3.1.1 v3.1.1 2025-02-28 11:39:39 +01:00
87e3d1d8ca fix: Rollback collection to 1.17.1 for older Flutter version 2025-02-28 11:37:01 +01:00
56a4199681 v3.1.0 v3.1.0 2025-02-27 14:32:36 +01:00
e1a4d6cce9 feat: Add JWTKey.fromJWK method for parsing JWK to various key types 2025-02-27 14:24:19 +01:00
cd4b6ee1b9 test: Add comprehensive JWK conversion tests for various key types 2025-02-27 13:35:44 +01:00
a4b59af51d refactor: Centralize test key constants in keys_const.dart 2025-02-27 13:35:37 +01:00
7da7286cb9 fix: unconsistant JWK convertion 2025-02-27 13:35:11 +01:00
cb05704baa v3.0.0 v3.0.0 2025-02-27 12:11:03 +01:00
948c7284af test: Add tests for iat claim 2025-02-27 12:03:37 +01:00
eb9c722e17 test: Add tests for JWT token expiration and not before checks 2025-02-27 11:50:08 +01:00
6fd7e585aa fix: following JWT RFC for NumericDate by only using UTC DateTime 2025-02-26 16:19:00 +01:00
9721288616 chore: Update dependency versions 2025-02-26 15:39:28 +01:00
d06103bde5 feat: Add JWK (JSON Web Key) conversion methods to key classes 2025-02-26 15:37:55 +01:00
10fc90f3a2 fix: HMAC secret auto detect if base64 is url or not 2025-02-25 22:03:22 +01:00
7593a42c02 fix: base64Url instead of base64 for string payloads JWT 2025-02-25 22:03:08 +01:00
0afad2dbc6 v2.17.0 v2.17.0 2025-02-03 13:08:00 +01:00
c3a908d3d3 refactor: simplify decode method 2025-02-03 13:03:01 +01:00
a3d2358ee3 Set parameters when using JWT.decode
Set audience, issuer, subject and jwtId when using the JWT.decode function
2025-02-03 13:03:01 +01:00
a2a494cf4a v2.16.0 v2.16.0 2025-01-22 11:49:06 +01:00
b843d932bd add support of PEM parsing for EdDSA 2025-01-22 11:38:49 +01:00
1be10d9387 v2.15.0 v2.15.0 2025-01-20 13:10:54 +01:00
b645662506 removing a forgotten print 2025-01-20 13:07:00 +01:00
b3aebe549c no seeding required for PSS + fix tests 2025-01-20 13:03:37 +01:00
b3113297a9 Update lib/src/algorithms.dart 2025-01-20 13:03:37 +01:00
b6056ced3c resolved issue with failed test due to incorrect signature verification. 2025-01-20 13:03:37 +01:00
de73b7f6af 34 -32 corrected for verify 2025-01-20 13:03:37 +01:00
7e434a3656 Added support for PSS alogrithm varations 2025-01-20 13:03:37 +01:00
a5b32d7a66 v2.14.2 v2.14.2 2024-12-01 13:58:26 +01:00
6a1d614826 Fixed Issue #61 (#62)
* Fixed Issue #61

Ensure sub is string if int

* Update lib/src/jwt.dart

---------

Co-authored-by: Jonas Roussel <dev@jonas.bzh>
2024-12-01 13:53:01 +01:00
fe401edafa v2.14.1 v2.14.1 2024-10-01 16:44:22 +02:00
f4d6ca4b9b Fix iat claim verification (#57) 2024-10-01 16:41:03 +02:00
7988c7d103 v2.14.0 v2.14.0 2024-04-25 18:12:39 +02:00
adbd3b7046 feat: add support for base64 encoded secrets (#54) 2024-04-25 15:27:39 +02:00
c59770c06a v2.13.0 v2.13.0 2024-02-11 18:26:13 +01:00
093661afe2 CHANGELOG for v2.12.2 v2.12.2 2023-12-29 01:18:03 +01:00
1c9b415ddb v2.12.2 2023-12-29 01:09:21 +01:00
7144f16aa2 Fixing issue with time on exp tests 2023-12-29 01:02:23 +01:00
aab2ace88f Add testable date times (#50)
* refactor: replaces DateTime.now() with clock.now() for testability

* test: add tests for verify exp

* Refactor JWT expiration tests

---------

Co-authored-by: Jonas Roussel <go.jroussel@gmail.com>
2023-12-29 00:57:59 +01:00
881fe9af60 fixing issue with custom headers v2.12.1 2023-11-05 14:50:46 +01:00
44e2815af6 v2.12.0 v2.12.0 2023-09-30 20:09:48 +02:00
7fe143b53a fix gitub workflows dir name & add some useful files for github 2023-09-30 20:05:42 +02:00
f8470437ee adding brand new tests 2023-09-30 19:59:00 +02:00
8b162293d5 v2.11.0 v2.11.0 2023-08-26 18:56:21 +02:00
1206d1ad0d fixing false_secrets setting v2.10.0 2023-08-23 12:37:19 +02:00
3847ffcca1 v2.10.0 2023-08-23 12:34:38 +02:00
1e69c815c5 v2.9.1 v2.9.1 2023-08-21 16:32:35 +02:00
fe696b8e25 v2.9.0 v2.9.0 2023-08-21 16:00:13 +02:00