diff mbox series

[meta-oe,10/55] cjose: upgrade 0.6.2.8 -> 0.8.1

Message ID 20261125080732.2419614-16-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-multimedia] clightd: Port ALS sensor to libiio 1.0 | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:06 a.m. UTC
- Switch from the OpenIDC 0.6.2.x fork back to upstream cisco/cjose,
  which merged the fork's security fixes and adds a CMake build next to
  autotools; the libcjose.so.0 ABI is kept
- 0.6.3: many security fixes, including a heap overflow in AES key
  unwrap, a pre-auth DoS via OPENSSL_cleanse after failed RSA decrypt,
  minimum 2048-bit RSA and HMAC key lengths, critical header and
  alg/key-type checks
- 0.7.0: A128GCM/A192GCM content encryption and caller-supplied IV APIs;
  RSA1_5 key encryption is now a build-time opt-in, off by default
- 0.8.0: RSA-OAEP-256, ECDH-ES+A*KW, ES256K/secp256k1 and OKP keys with
  Ed25519/Ed448 signing; OpenSSL types removed from public headers; fix
  HMAC over non-oct keys
- 0.8.1: refuse valueless private JWK members, multi-prime RSA keys,
  private epk members and non-disjoint JWE header names, which may
  reject input 0.8.0 accepted

Switch from the OpenIDC 0.6.2.x fork to the 0.8.x branch of the original
cisco/cjose project, which is maintained again. Add an upstream check;
the tags have no v prefix.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb}            | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb} (51%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb b/meta-oe/recipes-support/cjose/cjose_0.8.1.bb
similarity index 51%
rename from meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb
rename to meta-oe/recipes-support/cjose/cjose_0.8.1.bb
index 492ee0d143..07a91face3 100644
--- a/meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb
+++ b/meta-oe/recipes-support/cjose/cjose_0.8.1.bb
@@ -1,11 +1,13 @@ 
 SUMMARY = "C library implementing the Javascript Object Signing and Encryption (JOSE)"
-HOMEPAGE = "https://github.com/OpenIDC/cjose"
+HOMEPAGE = "https://github.com/cisco/cjose"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7249e2f9437adfb8c88d870438042f0e"
 
-SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV}"
+SRC_URI = "git://github.com/cisco/cjose;protocol=https;branch=0.8.x;tag=${PV}"
 
-SRCREV = "e787ace6a203d483038a793fd58f958a2f9b48c1"
+SRCREV = "6fdb5fe75a86acb9cd34ca2eb13d9e090a6df588"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "openssl libcheck jansson"