From a2a494cf4ad0d4951dc41c15e6a755c07a37e7c1 Mon Sep 17 00:00:00 2001 From: Jonas Roussel Date: Wed, 22 Jan 2025 11:49:06 +0100 Subject: [PATCH] v2.16.0 --- CHANGELOG.md | 4 ++++ LICENSE | 2 +- pubspec.yaml | 3 ++- test/verify_test.dart | 4 ++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 055777f..461fc1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.16.0 + +- Add support of PEM parsing for EdDSA keys with `EdDSAPrivateKey.fromPem` and `EdDSAPublicKey.fromPem` + ## 2.15.0 - Added support for PSS alogrithm varations (https://github.com/jonasroussel/dart_jsonwebtoken/pull/59) diff --git a/LICENSE b/LICENSE index 6b8cf10..3b8dcfd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Jonas Roussel +Copyright (c) 2025 Jonas Roussel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pubspec.yaml b/pubspec.yaml index b25ff0c..82af7ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_jsonwebtoken description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT). -version: 2.15.0 +version: 2.16.0 repository: https://github.com/jonasroussel/dart_jsonwebtoken homepage: https://github.com/jonasroussel/dart_jsonwebtoken#readme @@ -10,6 +10,7 @@ environment: false_secrets: - /example/*.pem - /test/* + - /README.md dependencies: crypto: ^3.0.3 diff --git a/test/verify_test.dart b/test/verify_test.dart index eeea84c..37c296a 100644 --- a/test/verify_test.dart +++ b/test/verify_test.dart @@ -25,6 +25,9 @@ MCowBQYDK2VwAyEAEi7MNW0Q9T83UA3Rw+8DbspMgqeuxCqa2wXaWS+tHqY= void main() { group('Verify a JWT', () { + //--------// + // Claims // + //--------// group('Claims', () { group('iat', () { final oneMinuteAgo = DateTime.now().subtract(Duration(minutes: 1)); @@ -81,6 +84,7 @@ void main() { }); }); }); + //------// // HMAC // //------//