[packages/canokey-core] - up to 3.0.3

qboosh qboosh at pld-linux.org
Mon May 18 19:39:47 CEST 2026


commit 5857c54b3357a47818ff2e40b25817b6b5fd2ce7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 18 19:39:48 2026 +0200

    - up to 3.0.3

 canokey-core-system-libs.patch | 18 +++++++++++++-----
 canokey-core.spec              |  8 ++++----
 2 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/canokey-core.spec b/canokey-core.spec
index 9427ba6..a439aab 100644
--- a/canokey-core.spec
+++ b/canokey-core.spec
@@ -1,17 +1,17 @@
-%define		crypto_gitref	02fe68051a7aafe7a26c2d94916cd17975eede5f
+%define		crypto_gitref	c65b9015d44115182ac5106f58a228efb569c93f
 %define		mbedtls_gitref	f71e2878084126737cc39083e1e15afc459bd93d
 Summary:	Core implementation of an open-source secure key
 Summary(pl.UTF-8):	Podstawowa implementacja bezpiecznego klucza o otwartych źródłach
 Name:		canokey-core
-Version:	2.0.1
+Version:	3.0.3
 Release:	0.1
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://github.com/canokeys/canokey-core/tags
 Source0:	https://github.com/canokeys/canokey-core/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	3796481418c30996b6abf8df2e594f53
+# Source0-md5:	76d0aa71a1fc257af0f40dd700efc400
 Source1:	https://github.com/canokeys/canokey-crypto/archive/%{crypto_gitref}/canokey-crypto-%{crypto_gitref}.tar.gz
-# Source1-md5:	50fedd10a71a8618c8434ee50de2b40d
+# Source1-md5:	5fd76e43a8cba9bb0332162df1063526
 # private mbedtls is patched for MBEDTLS_ECP_DP_ED25519 support
 Source2:	https://github.com/ARMmbed/mbedtls/archive/%{mbedtls_gitref}/mbedtls-%{mbedtls_gitref}.tar.gz
 # Source2-md5:	80fe94ab2e3eb4213d00ba0473dbe71c
diff --git a/canokey-core-system-libs.patch b/canokey-core-system-libs.patch
index 4848a6c..c24557b 100644
--- a/canokey-core-system-libs.patch
+++ b/canokey-core-system-libs.patch
@@ -1,7 +1,7 @@
---- canokey-core-2.0.1/CMakeLists.txt.orig	2023-11-04 17:29:24.000000000 +0100
-+++ canokey-core-2.0.1/CMakeLists.txt	2024-03-27 20:19:01.211323537 +0100
-@@ -28,9 +28,8 @@ if (DEFINED USBD_PRODUCT_STRING)
-     add_definitions(-DUSBD_PRODUCT_STRING="${USBD_PRODUCT_STRING}")
+--- canokey-core-3.0.3/CMakeLists.txt.orig	2025-03-25 17:12:31.000000000 +0100
++++ canokey-core-3.0.3/CMakeLists.txt	2026-05-18 19:36:30.622556842 +0200
+@@ -28,9 +28,8 @@ if (DEFINED PRODUCT_NAME)
+     add_definitions(-DUSBD_PRODUCT_STRING="${PRODUCT_NAME}")
  endif ()
  
 -file(GLOB_RECURSE SRC src/*.c applets/*.c interfaces/*.c
@@ -12,7 +12,15 @@
  add_library(canokey-core ${SRC})
  
  if (ENABLE_TESTS)
-@@ -55,7 +54,7 @@ target_include_directories(canokey-core
+@@ -47,15 +46,13 @@ endif (ENABLE_FUZZING)
+ target_include_directories(canokey-core SYSTEM
+         PUBLIC
+         include
+-        littlefs
+-        tinycbor/src
+         interfaces/USB/device
+         interfaces/USB/core/inc
+         interfaces/USB/class/ccid
          interfaces/USB/class/ctaphid
          interfaces/USB/class/kbdhid
          interfaces/USB/class/webusb)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/canokey-core.git/commitdiff/5857c54b3357a47818ff2e40b25817b6b5fd2ce7



More information about the pld-cvs-commit mailing list