From dd8602530cd6bebdd5450026c2cba403932811f9 Mon Sep 17 00:00:00 2001
From: Fabrice Bellamy <38373466+Lab-8916100448256@users.noreply.github.com>
Date: Fri, 27 Feb 2026 15:16:07 +0100
Subject: [PATCH] update licensing info for this fork of the community edition
(#1)
* cleanup licensing info for this fork of the community edition
* add README.md
* typo
* update readme
* update license
* restore source files headers
* Use the new VID:PID allocated to Librekeys by OpenMoko
---
LICENSE | 22 +++++++++++++++++++++-
README.md | 4 ++++
pico_keys_sdk_import.cmake | 6 +++---
src/usb/usb_descriptors.c | 4 ++--
4 files changed, 30 insertions(+), 6 deletions(-)
create mode 100644 README.md
diff --git a/LICENSE b/LICENSE
index bae94e1..714397f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,3 +1,23 @@
+Unless stated otherwise at the top of a file, all the files of this
+project are licensed under the GNU Affero General Public License v3
+(AGPLv3). The full text of this license is reproduced at the bottom of
+this document.
+The copyright holders are indicated at the top of each file.
+
+The project is using the following libraries, sdk or portions of code:
+- mdebtls, licensed under Apache-2.0 and GPL-2.0-or-later licenses,
+ https://github.com/Mbed-TLS/mbedtls
+- tinyUSB, licensed under the MIT License,
+ https://github.com/hathach/tinyusb
+- tinycbor, licensed under the MIT license,
+ https://github.com/intel/tinycbor
+- mlkem-native, the Apache-2.0 license OR the ISC license OR the MIT
+ license, https://github.com/pq-code-package/mlkem-native
+- USB CCID from Raspberry Pi (Trading) Ltd, licensed under the BSD
+ license,
+
+________________________________________________________________________
+
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
@@ -658,4 +678,4 @@ specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
-.
\ No newline at end of file
+.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e2bf33f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+# Pico Keys SDK
+This is a fork of the community edition of the project located at https://github.com/polhenarejos/pico-keys-sdk
+
+For licensing information and credits, see the LICENSE file
diff --git a/pico_keys_sdk_import.cmake b/pico_keys_sdk_import.cmake
index 6458e7d..d1df2e0 100644
--- a/pico_keys_sdk_import.cmake
+++ b/pico_keys_sdk_import.cmake
@@ -64,12 +64,12 @@ if(ESP_PLATFORM)
endif()
if(NOT DEFINED USB_VID)
- set(USB_VID 0x2E8A)
+ set(USB_VID 0x1D50)
endif()
add_definitions(-DUSB_VID=${USB_VID})
if(NOT DEFINED USB_PID)
- set(USB_PID 0x10FD)
+ set(USB_PID 0x619B)
endif()
add_definitions(-DUSB_PID=${USB_PID})
@@ -126,7 +126,7 @@ if(NOT ESP_PLATFORM)
)
if(ENABLE_EDDSA)
- set(MBEDTLS_ORIGIN "https://github.com/polhenarejos/mbedtls.git")
+ set(MBEDTLS_ORIGIN "https://github.com/librekeys/mbedtls.git")
set(MBEDTLS_REF "mbedtls-3.6-eddsa")
execute_process(
diff --git a/src/usb/usb_descriptors.c b/src/usb/usb_descriptors.c
index 818795b..4cd5dd2 100644
--- a/src/usb/usb_descriptors.c
+++ b/src/usb/usb_descriptors.c
@@ -28,10 +28,10 @@
#include "usb.h"
#ifndef USB_VID
-#define USB_VID 0x2E8A
+#define USB_VID 0x1D50
#endif
#ifndef USB_PID
-#define USB_PID 0x10FD
+#define USB_PID 0x619B
#endif
#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM)