From 1fedd133a78834277d260cf5ddbe78540a3b2393 Mon Sep 17 00:00:00 2001 From: ok-nick Date: Wed, 2 Dec 2026 11:07:50 -0500 Subject: [PATCH 1/2] chore: Bump project and C2PA version to 0.27.3 and 0.92.4 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index acb94b5..6a67468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ cmake_minimum_required(VERSION 3.27) # This is the current version of this C++ project -project(c2pa-c VERSION 0.27.2) +project(c2pa-c VERSION 0.27.3) # Set the version of the c2pa_rs library used -set(C2PA_VERSION "0.92.3") +set(C2PA_VERSION "0.92.4") set(CMAKE_POLICY_DEFAULT_CMP0135 NEW) set(CMAKE_C_STANDARD 17) From 7345d9fb507804a594d55eb2b76d171a74f73c96 Mon Sep 17 00:00:00 2001 From: ok-nick Date: Wed, 2 Dec 2026 13:13:30 -0500 Subject: [PATCH 2/2] test: Use truly unknown formats in unknown-format tests (c2pa-rs 0.92.4 now parses application/zip) --- tests/builder.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/builder.test.cpp b/tests/builder.test.cpp index 1a3b488..a9c7710 100644 --- a/tests/builder.test.cpp +++ b/tests/builder.test.cpp @@ -7405,7 +7405,7 @@ TEST_F(BuilderTest, AddIngredientAcceptsUnknownFormat) { auto builder = make_builder(); const std::string json = R"({"title": "A.jpg", "relationship": "componentOf"})"; - for (const std::string& format : {std::string("application/zip"), std::string("zzz")}) { + for (const std::string& format : {std::string("application/x-unknown"), std::string("zzz")}) { std::ifstream src(c2pa_test::get_fixture_path("A.jpg"), std::ios::binary); ASSERT_TRUE(src.is_open()); EXPECT_NO_THROW({ builder.add_ingredient(json, format, src); }) << "format: " << format; @@ -7466,7 +7466,7 @@ TEST_F(BuilderTest, SidecarSignAcceptsUnknownFormat) { // to be parsed or rewritten and any format is signable. auto signer = c2pa_test::create_test_signer(); - for (const std::string& format : {std::string("application/zip"), std::string("zzz")}) { + for (const std::string& format : {std::string("application/x-unknown"), std::string("zzz")}) { auto builder = make_builder(); builder.set_no_embed();