The NetBSD Project

CVS log for pkgsrc/security/libjwt/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / security / libjwt

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 23 07:01:45 2026 UTC (2 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
libjwt: fix PLIST for doxygen 1.18 and depend on it

Bump PKGREVISION.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 3 11:31:45 2026 UTC (4 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
libjwt: updated to 3.6.1

LibJWT 3.6.1 is a small test-portability patch release.

The in-process HTTP server used by the cached-JWKS test cast write() to (void) to ignore its result. glibc marks write() warn_unused_result, and the (void) cast does not suppress that warning on newer glibc, so the -Werror test build failed. The result is now asserted with ck_assert_int_gt(write(...), 0).

This is ABI-compatible with 3.6.0: no library source changed, so the exported symbol set is identical and per the libtool rules only the SONAME revision advances (18:0:4 → 18:1:4). The SONAME stays libjwt.so.14 and existing binaries keep working.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 17 06:52:11 2026 UTC (6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
libjwt: fix PLIST for doxygen 1.17

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 5 04:28:44 2026 UTC (6 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
libjwt: updated to 3.3.3

3.3.3
Bug fixes

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 11 11:03:01 2026 UTC (8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -4 lines
libjwt: updated to 3.3.2

3.3.2

Patch release to fix symbol visibility for the JSON abstraction layer.

Build fix: Mark all JSON abstraction functions with JWT_NO_EXPORT to prevent them from being exported in the shared library's public symbol table. These are internal implementation details of the JSON backend abstraction (Jansson/json-c) and should not be visible to library consumers.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Nov 12 07:32:12 2025 UTC (12 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
libjwt: updated to 3.2.3

3.2.3

Fix case-sensitive check for Content-Length
jwt-cli.bats: Better comparison for all.json
doxygen: Updates for cleaner gen of docs

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Sep 5 07:47:10 2025 UTC (14 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
libjwt: bash also needed for building

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 1 11:29:06 2025 UTC (14 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
libjwt: updated to 3.2.2

3.2.2
Various small fixes

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 1 08:28:54 2025 UTC (19 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -4 lines
libjwt: updated to 3.2.1

3.2.1
Memory leak fixes

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 4 08:59:07 2025 UTC (20 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
libjwt: requires openssl 3

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 21 16:20:50 2025 UTC (20 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +22 -14 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 29 18:17:24 2025 UTC (21 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
libjwt: updated to 2.1.1

2.1.1

jwt_decode_2(): Security vulnerability

This function had faulty logic based on some assumptions that it could trust the JWT in that if it was alg:none, it would not run the callback.

The assumption would allow an attacker to modify the JWT header and body and trick the function into returning without having retrieved a key from the cb, meaning no verification of the signature was done, and it retuned as if everything was successful.

The caller of jwt_decode_2 has no real way to know that their cb was never run.

As an aside, it was found that some of the test cases were assuming that you could call jwt_decode_2 with key_provider == NULL. This doesn't make much sense, considering there's no way to pass a key without a key_provider.

In this instance, if passed a JWT with alg:none, this was fine. If called with any other alg type, the code would attempt to run the NULL ``key_provider` and produce a SEGV.

RESOLUTION

jwt_decode_2 will always run the key_provider if passed, assuming there was not a previous error.
Always check key_provider for NULL before using it
If no key_provider, but JWT had alg != none, processing fails
NOTES:

jwt_decode() and jwt_decode_2() are being deprecated in favor more robust functionality.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 13 19:35:15 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
libjwt: added version 1.17.2

JWT C Library.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>