This commit is contained in:
Jonas Roussel
2025-01-22 11:49:06 +01:00
parent b843d932bd
commit a2a494cf4a
4 changed files with 11 additions and 2 deletions

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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 //
//------//