Skip to content

[3.0] libjwt: add new package v1.12.1 (slurmrestd JWT auth)#17691

Open
sindhu-karri wants to merge 3 commits into
3.0-devfrom
sindhu/libjwt-3.0
Open

[3.0] libjwt: add new package v1.12.1 (slurmrestd JWT auth)#17691
sindhu-karri wants to merge 3 commits into
3.0-devfrom
sindhu/libjwt-3.0

Conversation

@sindhu-karri

Copy link
Copy Markdown

Summary

Adds libjwt 1.12.1 (MPL-2.0) to SPECS-EXTENDED/ for Azure Linux 3.0.

Why

Required by slurmrestd (Slurm REST API daemon) so the Azure CycleCloud team can build Slurm with JWT-based REST authentication on AZL 3.0. Without libjwt-devel in PMC, Slurm's configure --with-jwt silently disables JWT, leaving slurmrestd unable to authenticate REST callers.

Unblocks the UKMO Supercomputer engagement (contractual obligation to expose Scheduler via REST API).

Tracking

Package details

  • Version: 1.12.1 (satisfies Slurm's required range >=1.10.0, <2.0)
  • License: MPL-2.0
  • Upstream: https://github.com/benmcollins/libjwt
  • Subpackages: libjwt (runtime .so.1), libjwt-devel (headers + pkgconfig(libjwt) = 1.12.1)
  • Tier: SPECS-EXTENDED/ — not consumed by the base image, modeled on the existing JOSE-family neighbor cjose

Dependencies

All build/runtime deps already in AZL 3.0 base, no other new packages needed:

  • autoconf, automake, libtool, gcc, make
  • jansson-devel (already in base SPECS/jansson)
  • openssl-devel (already in base SPECS/openssl)

CVE posture

NVD lists 3 CVEs in libjwt's history; none apply to 1.12.1:

  • CVE-2024-25189 (CVSS 9.8): NVD CPE scoped to 1.15.3 only.
  • CVE-2026-33996 (CVSS 5.8): affects 3.0.0 – 3.2.x (JWK RSA-PSS parser, not present in 1.x).
  • CVE-2026-44699 (CVSS 9.1): affects 3.0.0 – 3.3.2 (JWK algorithm-confusion, not present in 1.x).

Same version Fedora / EPEL ships. cgmanifest.json updated for Component Governance.

Validation

  • Local rpmbuild -ba produces clean libjwt + libjwt-devel RPMs with correct pkgconfig(libjwt) = 1.12.1 and no unpackaged files.
  • Source tarball SHA256 verified into libjwt.signatures.json.
  • Source uploaded to azurelinuxsrcstorage: Source Publish build 1136607
  • Buddy build (green, x86_64 + aarch64 with %check): Build 1136609

cc @trcooper for CycleCloud team awareness.

sindhu-karri and others added 2 commits June 10, 2026 15:40
Adds libjwt 1.12.1 (MPL-2.0) to SPECS-EXTENDED for Azure Linux 3.0. Required by slurmrestd (Slurm REST API daemon) for JWT-based authentication of REST callers. Build deps (jansson-devel, openssl-devel, autoconf, automake, libtool, gcc, make) are all already available in the AZL 3.0 base repo. Tracked via ADO #61504121 (UKMO Supercomputer engagement).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Verified with rpmbuild -ba: produces clean libjwt + libjwt-devel RPMs. libjwt-devel provides pkgconfig(libjwt) = 1.12.1, satisfying Slurm --with-jwt.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sindhu-karri sindhu-karri requested review from a team as code owners June 11, 2026 10:10
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Jun 11, 2026
Use the validator-recognized 'Initial Azure Linux import from the source
project (license: same as "License" tag)' wording in the changelog
(import is from upstream GitHub, not Fedora), and regenerate the
LICENSES-MAP / licenses.json so the Spec License Map Check sees libjwt
under the 'Source project' bucket.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant