Path to this page:
Subject: CVS commit: pkgsrc/security/libjwt
From: Adam Ciarcinski
Date: 2025-02-21 17:20:50
Message id: 20250221162050.ACB3FFBE0@cvs.NetBSD.org
Log Message:
libjwt: updated to 3.2.0
3.2.0
libcurl for jwks and other things
3.1.0
Windows Build and a few fixes + coverage
3.0.0
A new way
This is a major overhaul of LibJWT. The previous version was clumsy in that a \
jwt_t object could be used for creating a new token, or be the result of \
verifying. The ambiguity led to a lot of possible errors.
The key handling was not very well done and was confusing.
The new methods has a factory paradigm in that you create either a builder or \
checker object, configure it for your purposes, and then either generate tokens \
(builder) or verify tokens (checker) based on the rules you've established. This \
means you don't have to create an instance for every time you want to perform \
one of these actions.
One of the other new features is a complete JWK and JWKS backend for keys. It is \
now the only method with which you can load and use keys in LibJWT. There are \
command line tools for converting PEM type keys into JWK(S) JSON files (and back \
again).
There are also two convenient command line tools for generating and verifying \
JWT tokens.
Files: