core patches: sign and serve from opnsense.karsttech.com

The vendor mirror opnsense.mono.si is gone and upstream publishes no
aarch64 builds, so releases are signed with our own key and served from
https://opnsense.karsttech.com.

The core patches move to patches/<series>/ and are applied with git am
onto core's release tag. The new mirror patch replaces the vendor's:
CORE_PACKAGESITE and the mirror list point at the new mirror, its key
opnsense.karsttech.com.20261117 is trusted, the vendor keys are revoked,
and the separate MonoGateway repository is dropped (mono-gateway is now
published in the OPNsense repository). The CMM restart patch is kept.

keys/ holds the public key and the fingerprints release tooling trusts:
ours (trusted/revoked) and upstream's for changelog/bogons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jeremy Karst 2026-11-17 18:56:54 -05:00
parent 95fd8558bf
commit 9d6aad2ef7
8 changed files with 88 additions and 50 deletions

View file

@ -0,0 +1,2 @@
function: "sha256"
fingerprint: "ed8c6cdf38383853b0d6f4c6bf70efa1793d76a57e78317a53653404bcabd931"

View file

@ -0,0 +1,2 @@
function: "sha256"
fingerprint: "8da295f8c3c4bc0817ac630e00c284fb2354f4fd27af4b72c58105186ff425f3"

View file

@ -0,0 +1,2 @@
function: "sha256"
fingerprint: "5fc1e2bf74e0386a2ea1ee60d085d683735a9d7cd8090647be0f476c779c0dc3"

View file

@ -0,0 +1,14 @@
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAqUcBs4gXMUWixPuuu7Gn
vlb3rhcShP5INI0vySdnqAYIH9K/xE7u8AaG7s9tsxRwm/uaIMmGI2RadrEeMvnS
1yaoL67glt33R2Zg+dmerH0OgdOJ3Q9RIho4uupGEoXcWJuioiURqqw2ed8FCEEe
IrJO4SCw/CyipYs1mwt5X+tOtVgLFCxL8kDN+T7jcu0pgZqqrkIoMG3IKrKqWRPC
h3bINW98wvvfAgaprmTb5lbHEgfP6QMJj3Dwk7jWnXTEkg9M4Mxd9Ms5nKjfIGrq
fBWjFd5wfTIJA5i/bN2KAqSIHZPobu0AF8WDtC986tQnQs3zUCLkNSvPD+MiazVR
IaU2Ebna0FQxoTEFohXUyu9DXNJ3wuNbr8LAx/ywtnCLOoD6wWZKYHXwicmupp8r
DDCwrob3GwmBCcnsUUzTI1AVDp3SNFsThd5uwYZexxfqhVOmtdK1Dxe9rNqEIeeT
Wy4Cngo55KU2nAYKL0T6ULIM7u8NR7OX7BiiLp5nakXcEe+sLRr2AcPZwnluKShD
1oAtVitfSrCEo4lHwILpuQC3Coq0Z4+W4w0h8IdzFmNCFQ0HWT4zaqH9RGlFtGF8
RkJzhBeM8dtnTiTV1oSWrp8DvJV7U1PcBTp+r4LvbFBt0nLV6buNvC2lEj/mOlDf
e7G8X/vRMzx+FnFwlBlpja8CAwEAAQ==
-----END PUBLIC KEY-----

View file

@ -0,0 +1,2 @@
function: "sha256"
fingerprint: "d8828c0658ffb5e900a31269d7091b402497d5706b9be179e01ed8c88a0d49d8"

View file

@ -0,0 +1,2 @@
function: "sha256"
fingerprint: "9f3b76ffef38fb6405595038b324b61043c9a2c375ae5c151d628508e9a845ce"

View file

@ -1,7 +1,7 @@
From 7fccb6aef52c340611715f918defeb286c95ae72 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tomaz Zaman <tomaz@mono.si>
Date: Fri, 3 Apr 2026 16:54:29 +0200
Subject: [PATCH] interfaces: restart CMM on interface reassignment
Subject: [PATCH 1/2] interfaces: restart CMM on interface reassignment
When interfaces are reassigned, CDX hardware flow tables retain stale
entries from the old interface mapping. CMM catches address changes via
@ -13,7 +13,7 @@ to flush stale offload state and re-discover interfaces.
1 file changed, 1 insertion(+)
diff --git a/src/www/interfaces_assign.php b/src/www/interfaces_assign.php
index 98cabfa97..81e3917c0 100644
index 98cabfa..81e3917 100644
--- a/src/www/interfaces_assign.php
+++ b/src/www/interfaces_assign.php
@@ -285,6 +285,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
@ -25,5 +25,5 @@ index 98cabfa97..81e3917c0 100644
header(url_safe('Location: /interfaces_assign.php'));
exit;
--
2.47.3
2.53.0

View file

@ -1,23 +1,38 @@
From 48f9b9d3c0e3a54220a44e26dd0dfdebab06f7ad Mon Sep 17 00:00:00 2001
From: Maurice Walker <maurice@walker.earth>
Date: Wed, 17 Jun 2026 02:38:55 +0200
Subject: [PATCH] Add Mono CORE_PACKAGESITE, mirror, repo and fingerprint,
remove amd64 mirrors
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jeremy Karst <jeremy@karsttech.com>
Date: Tue, 17 Nov 2026 18:12:05 -0500
Subject: [PATCH 2/2] firmware: use the opnsense.karsttech.com aarch64 mirror
and signing key
Upstream publishes no aarch64 builds and the vendor mirror
opnsense.mono.si is gone, so the Mono Gateway builds are signed and
published at https://opnsense.karsttech.com:
- CORE_PACKAGESITE points at the new mirror
- trust its key opnsense.karsttech.com.20261117
- revoke the vendor keys opnsense.mono.si.20260305 and .20260716
- the mirror list offers only the new mirror; the business and devel
families and subscription flavours do not exist for aarch64
The vendor's separate MonoGateway repository is dropped: the board
package is published in the OPNsense repository so that major upgrades
(opnsense-update -P only upgrades OPNsense) carry it across ABIs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---
Mk/version.mk | 2 +-
plist | 3 +
.../trusted/opnsense.mono.si.20260305 | 2 +
.../trusted/opnsense.mono.si.20260716 | 2 +
src/etc/pkg/repos/MonoGateway.conf.shadow.in | 7 ++
.../revoked/opnsense.mono.si.20260305 | 2 +
.../revoked/opnsense.mono.si.20260716 | 2 +
.../trusted/opnsense.karsttech.com.20261117 | 2 +
.../OPNsense/Core/repositories/opnsense.xml | 86 +------------------
6 files changed, 18 insertions(+), 84 deletions(-)
create mode 100644 src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260305
create mode 100644 src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260716
create mode 100644 src/etc/pkg/repos/MonoGateway.conf.shadow.in
6 files changed, 13 insertions(+), 84 deletions(-)
create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
create mode 100644 src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
create mode 100644 src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
diff --git a/Mk/version.mk b/Mk/version.mk
index 85c078b1aac..dba5004963f 100644
index 85c078b..05360ed 100644
--- a/Mk/version.mk
+++ b/Mk/version.mk
@@ -36,7 +36,7 @@ CORE_CONFLICTS?=firewall wireguard wireguard-go
@ -25,61 +40,57 @@ index 85c078b1aac..dba5004963f 100644
CORE_MAINTAINER?= project@opnsense.org
CORE_ORIGIN?= opnsense/${CORE_NAME}
-CORE_PACKAGESITE?= https://pkg.opnsense.org
+CORE_PACKAGESITE?= https://opnsense.mono.si
+CORE_PACKAGESITE?= https://opnsense.karsttech.com
CORE_PRODUCT?= OPNsense
CORE_WWW?= https://opnsense.org/
CORE_USER?= wwwonly
diff --git a/plist b/plist
index 7f9794916c1..09a0e91a147 100644
index 050bc93..f9e31d6 100644
--- a/plist
+++ b/plist
@@ -80,6 +80,8 @@
@@ -59,6 +59,8 @@
/usr/local/etc/opnsense-beep.d/start
/usr/local/etc/opnsense-beep.d/stop
/usr/local/etc/opnsense-update.conf
+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
+/usr/local/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20150402
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160104
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20160630
@@ -80,6 +82,7 @@
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20240611
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20241217
/usr/local/etc/pkg/fingerprints/OPNsense/revoked/pkg.opnsense.org.20250710
+/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260305
+/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260716
+/usr/local/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
/usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20260120
/usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20260608
/usr/local/etc/rc
@@ -2576,5 +2578,6 @@
@sample /usr/local/etc/bogonsv6.sample
@sample /usr/local/etc/config.xml.sample
@shadow /usr/local/etc/pkg/repos/FreeBSD.conf.sample
+@shadow /usr/local/etc/pkg/repos/MonoGateway.conf.sample
@shadow /usr/local/etc/pkg/repos/OPNsense-aux.conf.sample
@shadow /usr/local/etc/pkg/repos/OPNsense.conf.sample
diff --git a/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260305 b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260305
/usr/local/etc/rc.bootup
diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
new file mode 100644
index 00000000000..af6301792bd
index 0000000..af63017
--- /dev/null
+++ b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260305
+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260305
@@ -0,0 +1,2 @@
+function: "sha256"
+fingerprint: "ed8c6cdf38383853b0d6f4c6bf70efa1793d76a57e78317a53653404bcabd931"
diff --git a/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260716 b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260716
diff --git a/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716 b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
new file mode 100644
index 00000000000..48362100252
index 0000000..4836210
--- /dev/null
+++ b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.mono.si.20260716
+++ b/src/etc/pkg/fingerprints/OPNsense/revoked/opnsense.mono.si.20260716
@@ -0,0 +1,2 @@
+function: "sha256"
+fingerprint: "8da295f8c3c4bc0817ac630e00c284fb2354f4fd27af4b72c58105186ff425f3"
diff --git a/src/etc/pkg/repos/MonoGateway.conf.shadow.in b/src/etc/pkg/repos/MonoGateway.conf.shadow.in
diff --git a/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117 b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
new file mode 100644
index 00000000000..4947e72a217
index 0000000..da2fd81
--- /dev/null
+++ b/src/etc/pkg/repos/MonoGateway.conf.shadow.in
@@ -0,0 +1,7 @@
+MonoGateway: {
+ fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
+ url: "%%CORE_PACKAGESITE%%/${ABI}/%%CORE_ABI%%/mono",
+ signature_type: "fingerprints",
+ priority: 11,
+ enabled: yes
+}
+++ b/src/etc/pkg/fingerprints/OPNsense/trusted/opnsense.karsttech.com.20261117
@@ -0,0 +1,2 @@
+function: "sha256"
+fingerprint: "5fc1e2bf74e0386a2ea1ee60d085d683735a9d7cd8090647be0f476c779c0dc3"
diff --git a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
index da4f293ca6f..1b791258e3b 100644
index da4f293..bf3fc00 100644
--- a/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
+++ b/src/opnsense/mvc/app/models/OPNsense/Core/repositories/opnsense.xml
@@ -5,100 +5,20 @@
@ -160,8 +171,8 @@ index da4f293ca6f..1b791258e3b 100644
- <mirror>
- <url>http://mirror.venturasystems.tech/opnsense</url>
- <description>Ventura Systems (HTTP, Medellin, CO)</description>
+ <url>https://opnsense.mono.si</url>
+ <description>Mono (HTTPS, Nuremberg, DE)</description>
+ <url>https://opnsense.karsttech.com</url>
+ <description>Karst Tech (HTTPS, aarch64 Mono Gateway)</description>
</mirror>
</mirrors>
<flavours>
@ -186,3 +197,6 @@ index da4f293ca6f..1b791258e3b 100644
- </family>
</families>
</firmware>
--
2.53.0