From bf455e06f18d4aef0b58e1befa5d9d01695b7ff4 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 17 Oct 2026 05:46:57 -0400 Subject: [PATCH 1/5] chore(release): prepare Wowlet 5.1.5 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 113b2fbd..7bfe0cab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.18) project(feather - VERSION "5.1.4" + VERSION "5.1.5" DESCRIPTION "A free Monero desktop wallet" LANGUAGES CXX C ASM ) From 998684c1a7ccf992f43e6f84b258b4ae0cfef57e Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 17 Oct 2026 05:51:46 -0400 Subject: [PATCH 2/5] ci(release): bind private Wowlet candidates to reviewed source --- .gitea/workflows/build-linux.yml | 53 +++----- .gitea/workflows/build-macos.yml | 119 ++++-------------- .gitea/workflows/build-windows.yml | 57 ++------- .gitea/workflows/verify.yml | 15 +++ Makefile | 1 + contrib/release/check_dispatch.py | 22 ++++ contrib/release/sign_macos.py | 150 +++++++++++++++++++++++ contrib/release/tests/test_dispatch.py | 20 +++ contrib/release/tests/test_sign_macos.py | 39 ++++++ 9 files changed, 297 insertions(+), 179 deletions(-) create mode 100644 .gitea/workflows/verify.yml create mode 100644 contrib/release/check_dispatch.py create mode 100644 contrib/release/sign_macos.py create mode 100644 contrib/release/tests/test_dispatch.py create mode 100644 contrib/release/tests/test_sign_macos.py diff --git a/.gitea/workflows/build-linux.yml b/.gitea/workflows/build-linux.yml index f59b1e8c..ccc57767 100644 --- a/.gitea/workflows/build-linux.yml +++ b/.gitea/workflows/build-linux.yml @@ -11,7 +11,16 @@ name: linux appimage (gitea self-hosted) # # Dispatch-only. The runner is capacity 1 and shared with the fleet gates. -on: [workflow_dispatch] +on: + workflow_dispatch: + inputs: + expected_sha: + description: Exact reviewed Builds commit + required: true + type: string + +env: + EXPECTED_SHA: ${{ inputs.expected_sha }} jobs: appimage: @@ -39,6 +48,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + ref: ${{ github.sha }} + + - name: Verify exact reviewed source + run: python3 -B contrib/release/check_dispatch.py - name: fetch wownerod to embed run: | @@ -154,41 +167,3 @@ jobs: name: wowlet-x86_64-linux-AppImage path: wowlet-x86_64.AppImage if-no-files-found: error - - - name: publish the AppImage to the tag's release - # The artifact above uploads fine but this Gitea's REST listing reports - # zero artifacts for every run, so a tag build's output cannot be fetched - # back through the API. Release assets can, so publish there as well. - # Fail-safe by design: with no usable token this says why and exits 0, - # it never turns a green build red. - if: startsWith(github.ref, 'refs/tags/') - env: - RELEASE_TOKEN: ${{ github.token }} - run: | - set -eu - FILE=wowlet-x86_64.AppImage - TAG="${GITHUB_REF#refs/tags/}" - API="${GITHUB_SERVER_URL:-https://git.such.software}/api/v1/repos/$GITHUB_REPOSITORY" - if [ -z "${RELEASE_TOKEN:-}" ]; then - echo "no token available to this runner, skipping the release upload" >&2 - exit 0 - fi - H="Authorization: token $RELEASE_TOKEN" - # Single-line python on purpose: a continuation line at column 0 would - # end this block scalar and break the workflow's YAML. `|| true` keeps - # a malformed response from aborting the step under `set -e`. - rid=$(curl -sS -H "$H" "$API/releases/tags/$TAG" | python3 -c "import json,sys;print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true) - if [ -z "$rid" ]; then - rid=$(curl -sS -H "$H" -H "Content-Type: application/json" -X POST \ - -d "{\"tag_name\":\"$TAG\",\"name\":\"wowlet $TAG\"}" "$API/releases" | python3 -c "import json,sys;print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true) - fi - if [ -z "$rid" ]; then - echo "could not resolve or create a release for $TAG, skipping the upload" >&2 - exit 0 - fi - code=$(curl -sS -H "$H" -o /dev/null -w '%{http_code}' -X POST \ - -F "attachment=@$FILE" "$API/releases/$rid/assets?name=$(basename "$FILE")") - echo "release asset upload returned HTTP $code" - if [ "$code" != "201" ]; then - echo "the release upload did not return 201; the run artifact still holds the build" >&2 - fi diff --git a/.gitea/workflows/build-macos.yml b/.gitea/workflows/build-macos.yml index 6b8b9c52..260eebac 100644 --- a/.gitea/workflows/build-macos.yml +++ b/.gitea/workflows/build-macos.yml @@ -14,7 +14,16 @@ name: macos build (gitea self-hosted) # APPLE_API_ISSUER, APPLE_API_KEY, APPLE_API_KEY_P8_BASE64 (notarytool). # If APPLE_CERTIFICATE is unset the build ships unsigned instead of failing. -on: [workflow_dispatch] +on: + workflow_dispatch: + inputs: + expected_sha: + description: Exact reviewed Builds commit + required: true + type: string + +env: + EXPECTED_SHA: ${{ inputs.expected_sha }} jobs: build-macos: @@ -31,13 +40,21 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + ref: ${{ github.sha }} - - name: install dependencies (brew) + - name: Verify exact reviewed source + run: python3 -B contrib/release/check_dispatch.py + + - name: Verify Fleet-managed build dependencies run: | + set -e export PATH="/opt/homebrew/bin:$PATH" - set +o pipefail # yes(1) takes SIGPIPE when brew has nothing to ask - export NONINTERACTIVE=1 HOMEBREW_NO_ENV_HINTS=1 HOMEBREW_NO_INSTALL_UPGRADE=1 - yes | brew install --quiet qt libsodium libzip qrencode unbound cmake boost hidapi openssl expat protobuf pkgconfig zxing-cpp + for formula in qt libsodium libzip qrencode unbound cmake boost hidapi openssl expat protobuf zxing-cpp; do + brew --prefix "$formula" >/dev/null || { + echo "Missing Fleet-managed build dependency: $formula" >&2 + exit 1 + } + done - name: fetch wownerod to embed run: | @@ -184,47 +201,8 @@ jobs: ls -la "$FW" | grep -iE "webp|sharpyuv|brotli" || true ls -la dist/ - - name: sign and notarize (skipped when secrets absent) - run: | - set -e - cd build - if [ -z "$APPLE_CERTIFICATE" ]; then - echo "APPLE_CERTIFICATE not set — shipping UNSIGNED build" - exit 0 - fi - KC=/tmp/wowlet-ci.keychain-db - KCPW=$(/usr/bin/uuidgen) - echo "$KCPW" > /tmp/wowlet-ci-kcpw # for the cleanup step only - security create-keychain -p "$KCPW" "$KC" - security set-keychain-settings -lut 3600 "$KC" - security unlock-keychain -p "$KCPW" "$KC" - printf '%s' "$APPLE_CERTIFICATE" | base64 -d > /tmp/dev_id.p12 - security import /tmp/dev_id.p12 -k "$KC" -P "$APPLE_CERTIFICATE_PASSWORD" \ - -T /usr/bin/codesign - security set-key-partition-list -S apple-tool:,apple: -s -k "$KCPW" "$KC" >/dev/null - security list-keychains -d user -s "$KC" login.keychain-db - - # Sign inside-out: every Mach-O NOT inside a .framework (embedded - # wownerod/tor, the bundled webp/sharpyuv/brotli dylibs, and the - # image-format plugins whose signatures install_name_tool just - # invalidated — keyed on `file`, not exec bit, since plugins/dylibs - # aren't +x), then each Qt framework as a unit, then the bundle. - SIGN() { codesign --force --options runtime --timestamp --keychain "$KC" \ - --sign "$APPLE_SIGNING_IDENTITY" "$@"; } - find dist/Wowlet.app -type f ! -path "*/*.framework/*" \ - | while read -r f; do file "$f" | grep -q Mach-O && SIGN "$f" || true; done - find dist/Wowlet.app/Contents/Frameworks -maxdepth 1 -name "*.framework" 2>/dev/null \ - | while read -r fw; do SIGN "$fw"; done - SIGN dist/Wowlet.app - codesign --verify --deep --strict dist/Wowlet.app - - printf '%s' "$APPLE_API_KEY_P8_BASE64" | base64 -d > /tmp/notary.p8 - ditto -c -k --keepParent dist/Wowlet.app /tmp/wowlet-notarize.zip - xcrun notarytool submit /tmp/wowlet-notarize.zip \ - --key /tmp/notary.p8 --key-id "$APPLE_API_KEY" --issuer "$APPLE_API_ISSUER" \ - --wait --timeout 30m - xcrun stapler staple dist/Wowlet.app - echo "signed + notarized + stapled" + - name: Sign and notarize the private candidate + run: python3 -B contrib/release/sign_macos.py - name: zip artifact run: | @@ -233,14 +211,6 @@ jobs: ditto -c -k --keepParent Wowlet.app ../wowlet-macos-$(uname -m).zip ls -la ../wowlet-macos-*.zip - - name: cleanup signing material - if: always() - run: | - if [ -f /tmp/wowlet-ci-kcpw ]; then - security delete-keychain /tmp/wowlet-ci.keychain-db || true - fi - rm -f /tmp/dev_id.p12 /tmp/notary.p8 /tmp/wowlet-ci-kcpw /tmp/wowlet-notarize.zip - - name: upload artifact uses: actions/upload-artifact@v3 with: @@ -250,44 +220,3 @@ jobs: # Without this an empty upload passes silently, which is how a signed # build can appear to publish while shipping nothing. if-no-files-found: error - - - name: publish the signed zip to the tag's release - # Same reason as the Linux job: run artifacts upload but this Gitea's - # REST listing returns zero for every run, so the notarized zip cannot - # be fetched back through the API. Release assets can be. Fail-safe: - # with no usable token this says why and exits 0. - if: startsWith(github.ref, 'refs/tags/') - env: - RELEASE_TOKEN: ${{ github.token }} - run: | - set -eu - FILE=$(ls build/wowlet-macos-*.zip 2>/dev/null | head -1) - if [ -z "$FILE" ]; then - echo "no macOS zip to publish; the packaging step should have failed first" >&2 - exit 0 - fi - TAG="${GITHUB_REF#refs/tags/}" - API="${GITHUB_SERVER_URL:-https://git.such.software}/api/v1/repos/$GITHUB_REPOSITORY" - if [ -z "${RELEASE_TOKEN:-}" ]; then - echo "no token available to this runner, skipping the release upload" >&2 - exit 0 - fi - H="Authorization: token $RELEASE_TOKEN" - # Single-line python on purpose: a continuation line at column 0 would - # end this block scalar and break the workflow's YAML. `|| true` keeps - # a malformed response from aborting the step under `set -e`. - rid=$(curl -sS -H "$H" "$API/releases/tags/$TAG" | python3 -c "import json,sys;print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true) - if [ -z "$rid" ]; then - rid=$(curl -sS -H "$H" -H "Content-Type: application/json" -X POST \ - -d "{\"tag_name\":\"$TAG\",\"name\":\"wowlet $TAG\"}" "$API/releases" | python3 -c "import json,sys;print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true) - fi - if [ -z "$rid" ]; then - echo "could not resolve or create a release for $TAG, skipping the upload" >&2 - exit 0 - fi - code=$(curl -sS -H "$H" -o /dev/null -w '%{http_code}' -X POST \ - -F "attachment=@$FILE" "$API/releases/$rid/assets?name=$(basename "$FILE")") - echo "release asset upload returned HTTP $code" - if [ "$code" != "201" ]; then - echo "the release upload did not return 201; the run artifact still holds the build" >&2 - fi diff --git a/.gitea/workflows/build-windows.yml b/.gitea/workflows/build-windows.yml index 655590e4..4639ec2f 100644 --- a/.gitea/workflows/build-windows.yml +++ b/.gitea/workflows/build-windows.yml @@ -20,9 +20,16 @@ name: windows build + sign (gitea self-hosted) # # Dispatch-only. Both runners are capacity 1 and shared with other lanes. -on: [workflow_dispatch] +on: + workflow_dispatch: + inputs: + expected_sha: + description: Exact reviewed Builds commit + required: true + type: string env: + EXPECTED_SHA: ${{ inputs.expected_sha }} HOST: x86_64-w64-mingw32 jobs: @@ -52,6 +59,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + ref: ${{ github.sha }} + + - name: Verify exact reviewed source + run: python3 -B contrib/release/check_dispatch.py # depends is the slow part (static Qt6/boost/openssl/tor from source). # Cache the source tarballs and the compiled packages so only a cold run @@ -270,47 +281,3 @@ jobs: wowlet-x86_64-windows.zip wowlet-x86_64-windows-unsigned.zip if-no-files-found: error - - - name: publish the Windows zips to the tag's release - # Same reason as the Linux and macOS jobs: artifacts upload fine, but - # this Gitea's REST listing reports zero for every run, so the signed exe - # cannot be fetched back through the API. Release assets can be. - # - # This runs after the Authenticode, timestamp and signer checks above, so - # an unsigned or untimestamped binary never reaches a release. curl.exe, - # not Invoke-WebRequest: `shell: powershell` is Windows PowerShell 5.1, - # whose Invoke-WebRequest has no -Form for multipart uploads. - # - # Fail-safe: a build that produced a correctly signed binary must not go - # red because publishing failed, so every bad path reports and exits 0. - if: startsWith(github.ref, 'refs/tags/') - shell: powershell - env: - RELEASE_TOKEN: ${{ github.token }} - run: | - $ErrorActionPreference = 'Continue' - if (-not $env:RELEASE_TOKEN) { - Write-Host "no token available to this runner, skipping the release upload" - exit 0 - } - $tag = $env:GITHUB_REF -replace '^refs/tags/', '' - $server = if ($env:GITHUB_SERVER_URL) { $env:GITHUB_SERVER_URL } else { 'https://git.such.software' } - $api = "$server/api/v1/repos/$env:GITHUB_REPOSITORY" - $auth = "Authorization: token $env:RELEASE_TOKEN" - $rid = '' - try { $rid = ((curl.exe -sS -H $auth "$api/releases/tags/$tag") | ConvertFrom-Json).id } catch { $rid = '' } - if (-not $rid) { - try { - $body = "{""tag_name"":""$tag"",""name"":""wowlet $tag""}" - $rid = ((curl.exe -sS -H $auth -H "Content-Type: application/json" -X POST -d $body "$api/releases") | ConvertFrom-Json).id - } catch { $rid = '' } - } - if (-not $rid) { - Write-Host "could not resolve or create a release for $tag, skipping the upload" - exit 0 - } - foreach ($f in @('wowlet-x86_64-windows.zip', 'wowlet-x86_64-windows-unsigned.zip')) { - if (-not (Test-Path $f)) { Write-Host "missing $f, nothing to publish for it"; continue } - $code = curl.exe -sS -o NUL -w '%{http_code}' -H $auth -F "attachment=@$f" "$api/releases/$rid/assets?name=$f" - Write-Host "release asset upload for $f returned HTTP $code" - } diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml new file mode 100644 index 00000000..1926043d --- /dev/null +++ b/.gitea/workflows/verify.yml @@ -0,0 +1,15 @@ +name: Wowlet verify + +on: + push: + branches: [master] + pull_request: + +jobs: + verify: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - name: Check support guides and release source admission + run: make check diff --git a/Makefile b/Makefile index 24613684..570b554d 100644 --- a/Makefile +++ b/Makefile @@ -15,5 +15,6 @@ default: build check: PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s contrib/docs/tests -v + PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s contrib/release/tests -v .PHONY: default build attest verify clean check diff --git a/contrib/release/check_dispatch.py b/contrib/release/check_dispatch.py new file mode 100644 index 00000000..669e3aff --- /dev/null +++ b/contrib/release/check_dispatch.py @@ -0,0 +1,22 @@ +"""Refuse a build whose resolved source differs from its reviewed request.""" +import os +import re +import subprocess + + +def check(expected, reported, checked_out): + if not re.fullmatch(r"[0-9a-f]{40}", expected or ""): + raise ValueError("expected_sha must identify the exact reviewed commit") + if reported != expected: + raise ValueError("provider run head differs from expected_sha") + if checked_out != expected: + raise ValueError("checked-out source differs from expected_sha") + + +if __name__ == "__main__": + head = subprocess.check_output(["git", "rev-parse", "HEAD"], text=True).strip() + try: + check(os.environ.get("EXPECTED_SHA"), os.environ.get("GITHUB_SHA"), head) + except ValueError as error: + raise SystemExit(str(error)) from None + print("Exact requested build source verified") diff --git a/contrib/release/sign_macos.py b/contrib/release/sign_macos.py new file mode 100644 index 00000000..9a651c4a --- /dev/null +++ b/contrib/release/sign_macos.py @@ -0,0 +1,150 @@ +"""Sign one private candidate without placing passwords in process arguments. + +Apple SecurityTool reads one quoted operation from stdin in interactive mode: +https://github.com/apple-oss-distributions/SecurityTool/blob/main/security.c +Output stays captured because native diagnostics may repeat supplied input. +""" +import base64 +import json +import os +from pathlib import Path +import secrets +import subprocess +import tempfile + + +FIELDS = ( + "APPLE_CERTIFICATE", "APPLE_CERTIFICATE_PASSWORD", "APPLE_SIGNING_IDENTITY", + "APPLE_API_ISSUER", "APPLE_API_KEY", "APPLE_API_KEY_P8_BASE64", +) + + +def argument(value): + if any(ord(char) < 32 or ord(char) == 127 for char in value): + raise ValueError("Keychain input contains an unsupported control character") + return '"' + value.replace('\\', '\\\\').replace('"', '\\"') + '"' + + +def child_environment(): + return {key: os.environ[key] for key in ("HOME", "PATH", "TMPDIR", "LANG", "DEVELOPER_DIR") if key in os.environ} + + +def security(operation, *values): + if operation not in { + "create-keychain", "set-keychain-settings", "unlock-keychain", "import", + "set-key-partition-list", "delete-keychain", + }: + raise ValueError("Keychain operation is outside candidate signing") + command = " ".join(argument(value) for value in (operation, *values)) + "\n" + if len(command.encode()) > 1024: + raise ValueError("Keychain input exceeds the bounded operation size") + result = subprocess.run( + ["/usr/bin/security", "-i", "-q"], input=command, + text=True, capture_output=True, env=child_environment(), timeout=90, + ) + if result.returncode: + # Never forward diagnostics or operation data. Report recognized causes. + causes = { + "MAC verification failed": "PKCS12 encoding or password verification failed", + "User interaction is not allowed": "keychain requires interactive access", + "already exists": "ephemeral keychain or imported identity already exists", + "could not be found": "requested keychain item was not found", + } + cause = next((cause for marker, cause in causes.items() if marker in result.stderr), + "native keychain operation returned an error") + raise RuntimeError(f"{operation}: {cause} (exit {result.returncode}); raw diagnostics withheld") + + +def run(arguments, *, timeout=120): + result = subprocess.run(arguments, text=True, capture_output=True, + env=child_environment(), timeout=timeout) + if result.returncode: + causes = { + "no identity found": "expected signing identity was not found", + "User interaction is not allowed": "signing key requires interactive access", + "errSecInternalComponent": "keychain denied access to the signing identity", + "not signed at all": "candidate contains an unsigned component", + } + cause = next((cause for marker, cause in causes.items() if marker in result.stderr), + "native signing operation returned an error") + raise RuntimeError(f"{Path(arguments[0]).name}: {cause} (exit {result.returncode}); raw diagnostics withheld") + return result.stdout + + +def private_file(path, content): + descriptor = os.open(path, os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600) + with os.fdopen(descriptor, "wb") as stream: + stream.write(content) + + +def main(): + credentials = {name: os.environ.get(name, "") for name in FIELDS} + missing = [name for name, value in credentials.items() if not value] + if missing: + raise ValueError("Signing input is missing: " + ", ".join(missing)) + if "Such Software" not in credentials["APPLE_SIGNING_IDENTITY"]: + raise ValueError("Developer ID identity does not name the expected publisher") + app = Path("build/dist/Wowlet.app").resolve() + if not app.is_dir(): + raise ValueError("Packaged Wowlet.app is missing") + old_umask = os.umask(0o077) + try: + with tempfile.TemporaryDirectory(prefix=".wowlet-signing-", dir=app.parent) as temporary: + workspace = Path(temporary) + keychain = workspace / "candidate.keychain-db" + certificate = workspace / "identity.p12" + notary_key = workspace / "notary.p8" + private_file(certificate, base64.b64decode(credentials["APPLE_CERTIFICATE"])) + private_file(notary_key, base64.b64decode(credentials["APPLE_API_KEY_P8_BASE64"])) + password = secrets.token_hex(32) + created = False + try: + security("create-keychain", "-p", password, str(keychain)) + created = True + security("set-keychain-settings", "-lut", "3600", str(keychain)) + security("unlock-keychain", "-p", password, str(keychain)) + security("import", str(certificate), "-k", str(keychain), "-P", + credentials["APPLE_CERTIFICATE_PASSWORD"], "-T", "/usr/bin/codesign") + security("set-key-partition-list", "-S", "apple-tool:,apple:", "-s", + "-k", password, str(keychain)) + + def sign(path): + run(["/usr/bin/codesign", "--force", "--options", "runtime", "--timestamp", + "--keychain", str(keychain), "--sign", + credentials["APPLE_SIGNING_IDENTITY"], str(path)]) + + for path in sorted(app.rglob("*")): + if path.is_file() and not any(part.endswith(".framework") for part in path.parts): + if "Mach-O" in run(["/usr/bin/file", "-b", str(path)]): + sign(path) + frameworks = app / "Contents/Frameworks" + for path in sorted(frameworks.glob("*.framework")): + sign(path) + sign(app) + run(["/usr/bin/codesign", "--verify", "--deep", "--strict", str(app)]) + archive = workspace / "candidate.zip" + run(["/usr/bin/ditto", "-c", "-k", "--keepParent", str(app), str(archive)]) + raw = run(["/usr/bin/xcrun", "notarytool", "submit", str(archive), + "--key", str(notary_key), "--key-id", credentials["APPLE_API_KEY"], + "--issuer", credentials["APPLE_API_ISSUER"], "--wait", "--timeout", "30m", + "--output-format", "json"], timeout=1900) + response = json.loads(raw) + if response.get("status") != "Accepted": + raise RuntimeError("Apple notarization did not return Accepted") + run(["/usr/bin/xcrun", "stapler", "staple", str(app)]) + run(["/usr/bin/xcrun", "stapler", "validate", str(app)]) + print("Developer ID signature verified; notarization accepted; staple validated") + finally: + if created: + security("delete-keychain", str(keychain)) + finally: + os.umask(old_umask) + + +if __name__ == "__main__": + try: + main() + except (OSError, ValueError, RuntimeError, subprocess.TimeoutExpired) as error: + # These exceptions contain logical fields, native result classes or + # public file paths. Captured child output is never included. + raise SystemExit(str(error)) from None diff --git a/contrib/release/tests/test_dispatch.py b/contrib/release/tests/test_dispatch.py new file mode 100644 index 00000000..77053708 --- /dev/null +++ b/contrib/release/tests/test_dispatch.py @@ -0,0 +1,20 @@ +import importlib.util +from pathlib import Path +import unittest + +spec = importlib.util.spec_from_file_location("dispatch", Path(__file__).parents[1] / "check_dispatch.py") +dispatch = importlib.util.module_from_spec(spec) +spec.loader.exec_module(dispatch) + + +class DispatchTests(unittest.TestCase): + def test_exact_source_is_required_before_building(self): + sha = "a" * 40 + dispatch.check(sha, sha, sha) + for expected, reported, checked_out in ( + (None, sha, sha), ("master", sha, sha), + (sha, "b" * 40, sha), (sha, sha, "b" * 40), + ): + with self.subTest(expected=expected, reported=reported, checked_out=checked_out): + with self.assertRaises(ValueError): + dispatch.check(expected, reported, checked_out) diff --git a/contrib/release/tests/test_sign_macos.py b/contrib/release/tests/test_sign_macos.py new file mode 100644 index 00000000..6d8511ce --- /dev/null +++ b/contrib/release/tests/test_sign_macos.py @@ -0,0 +1,39 @@ +import importlib.util +from pathlib import Path +from types import SimpleNamespace +import unittest +from unittest.mock import patch + +spec = importlib.util.spec_from_file_location("sign_macos", Path(__file__).parents[1] / "sign_macos.py") +signing = importlib.util.module_from_spec(spec) +spec.loader.exec_module(signing) + + +class MacSigningTests(unittest.TestCase): + def test_password_uses_private_input_and_diagnostics_never_echo_it(self): + synthetic = 'synthetic "quoted" value \\ with spaces' + captured = [] + + def execute(arguments, **options): + captured.append((arguments, options)) + return SimpleNamespace(returncode=1, stdout=synthetic, + stderr="MAC verification failed " + synthetic) + + with patch.object(signing.subprocess, "run", execute): + with self.assertRaises(RuntimeError) as caught: + signing.security("import", "candidate.p12", "-P", synthetic) + self.assertNotIn(synthetic, str(caught.exception)) + arguments, options = captured[0] + self.assertNotIn(synthetic, " ".join(arguments)) + self.assertIn("quoted", options["input"]) + self.assertTrue(options["capture_output"]) + self.assertNotIn("APPLE_CERTIFICATE_PASSWORD", options["env"]) + + def test_control_characters_and_unrelated_keychain_operations_refuse(self): + with patch.object(signing.subprocess, "run") as execute: + for value in ("line\nbreak", "nul\x00byte", "carriage\rreturn"): + with self.assertRaises(ValueError): + signing.security("unlock-keychain", "-p", value, "candidate.keychain") + with self.assertRaises(ValueError): + signing.security("dump-keychain", "login.keychain") + execute.assert_not_called() From d9cd8e328e7bb843619c36f214caa2e786180ecf Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 17 Oct 2026 05:52:26 -0400 Subject: [PATCH 3/5] fix(release): check macOS signing inputs before compilation --- .gitea/workflows/build-macos.yml | 3 +++ contrib/release/sign_macos.py | 16 ++++++++++++++-- contrib/release/tests/test_sign_macos.py | 6 ++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-macos.yml b/.gitea/workflows/build-macos.yml index 260eebac..741e12a7 100644 --- a/.gitea/workflows/build-macos.yml +++ b/.gitea/workflows/build-macos.yml @@ -45,6 +45,9 @@ jobs: - name: Verify exact reviewed source run: python3 -B contrib/release/check_dispatch.py + - name: Check signing inputs before compiling + run: python3 -B contrib/release/sign_macos.py --check-inputs + - name: Verify Fleet-managed build dependencies run: | set -e diff --git a/contrib/release/sign_macos.py b/contrib/release/sign_macos.py index 9a651c4a..207eef3f 100644 --- a/contrib/release/sign_macos.py +++ b/contrib/release/sign_macos.py @@ -10,6 +10,7 @@ import os from pathlib import Path import secrets import subprocess +import sys import tempfile @@ -77,13 +78,18 @@ def private_file(path, content): stream.write(content) -def main(): +def signing_inputs(): credentials = {name: os.environ.get(name, "") for name in FIELDS} missing = [name for name, value in credentials.items() if not value] if missing: raise ValueError("Signing input is missing: " + ", ".join(missing)) if "Such Software" not in credentials["APPLE_SIGNING_IDENTITY"]: raise ValueError("Developer ID identity does not name the expected publisher") + return credentials + + +def main(): + credentials = signing_inputs() app = Path("build/dist/Wowlet.app").resolve() if not app.is_dir(): raise ValueError("Packaged Wowlet.app is missing") @@ -143,7 +149,13 @@ def main(): if __name__ == "__main__": try: - main() + if sys.argv[1:] == ["--check-inputs"]: + signing_inputs() + print("Required signing inputs are present") + elif sys.argv[1:]: + raise ValueError("Use no arguments to sign or --check-inputs for the cheap input guard") + else: + main() except (OSError, ValueError, RuntimeError, subprocess.TimeoutExpired) as error: # These exceptions contain logical fields, native result classes or # public file paths. Captured child output is never included. diff --git a/contrib/release/tests/test_sign_macos.py b/contrib/release/tests/test_sign_macos.py index 6d8511ce..0ece75eb 100644 --- a/contrib/release/tests/test_sign_macos.py +++ b/contrib/release/tests/test_sign_macos.py @@ -29,6 +29,12 @@ class MacSigningTests(unittest.TestCase): self.assertTrue(options["capture_output"]) self.assertNotIn("APPLE_CERTIFICATE_PASSWORD", options["env"]) + def test_missing_inputs_refuse_without_native_operations(self): + with patch.dict(signing.os.environ, {}, clear=True), patch.object(signing.subprocess, "run") as execute: + with self.assertRaises(ValueError): + signing.signing_inputs() + execute.assert_not_called() + def test_control_characters_and_unrelated_keychain_operations_refuse(self): with patch.object(signing.subprocess, "run") as execute: for value in ("line\nbreak", "nul\x00byte", "carriage\rreturn"): From 34bdecf5acb7ef4f42dd8abacb07b587fce6c42e Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 17 Oct 2026 05:59:54 -0400 Subject: [PATCH 4/5] fix(release): embed the verified Wownero 0.11.5.0 daemon --- .gitea/workflows/build-linux.yml | 18 +---- .gitea/workflows/build-macos.yml | 25 +++--- .gitea/workflows/build-windows.yml | 16 +--- RELEASE.md | 85 +++++++++----------- contrib/release/fetch_wownerod.py | 73 +++++++++++++++++ contrib/release/tests/test_fetch_wownerod.py | 49 +++++++++++ contrib/release/wownerod.json | 12 +++ src/assets/qml/mining.qml | 2 +- src/dialog/AboutDialog.ui | 2 +- 9 files changed, 194 insertions(+), 88 deletions(-) create mode 100644 contrib/release/fetch_wownerod.py create mode 100644 contrib/release/tests/test_fetch_wownerod.py create mode 100644 contrib/release/wownerod.json diff --git a/.gitea/workflows/build-linux.yml b/.gitea/workflows/build-linux.yml index ccc57767..2258a194 100644 --- a/.gitea/workflows/build-linux.yml +++ b/.gitea/workflows/build-linux.yml @@ -53,21 +53,11 @@ jobs: - name: Verify exact reviewed source run: python3 -B contrib/release/check_dispatch.py - - name: fetch wownerod to embed + - name: fetch verified wownerod to embed run: | - # ubuntu-latest and windows-latest both resolve to the same host in - # host mode, so a fixed /tmp path lets a concurrently dispatched job's - # `rm -rf` delete this job's binary between fetch and configure. Scope - # every extract to the run. - EMBED="/tmp/wowlet-${GITHUB_RUN_ID:-local}" - rm -rf "$EMBED/wownerod-embed" && mkdir -p "$EMBED/wownerod-embed" - curl -fL -o "$EMBED/wownero.tar.bz2" \ - https://github.com/wownero/wownero-codeberg-mirror/releases/download/v0.11.4.0/wownero-x86_64-linux-gnu-v0.11.4.0.tar.bz2 - rm -rf "$EMBED/wow-x" && mkdir -p "$EMBED/wow-x" - tar xjf "$EMBED/wownero.tar.bz2" -C "$EMBED/wow-x" - find "$EMBED/wow-x" -name wownerod -type f -exec cp {} "$EMBED/wownerod-embed/" \; - chmod +x "$EMBED/wownerod-embed/wownerod" - ls -la "$EMBED/wownerod-embed" + python3 -B contrib/release/fetch_wownerod.py \ + --target x86_64-linux-gnu \ + --destination "/tmp/wowlet-${GITHUB_RUN_ID}/wownerod-embed" - name: fetch tor to embed run: | diff --git a/.gitea/workflows/build-macos.yml b/.gitea/workflows/build-macos.yml index 741e12a7..b23fc806 100644 --- a/.gitea/workflows/build-macos.yml +++ b/.gitea/workflows/build-macos.yml @@ -12,7 +12,7 @@ name: macos build (gitea self-hosted) # APPLE_CERTIFICATE (b64 Developer ID Application .p12), # APPLE_CERTIFICATE_PASSWORD, APPLE_SIGNING_IDENTITY, APPLE_TEAM_ID, # APPLE_API_ISSUER, APPLE_API_KEY, APPLE_API_KEY_P8_BASE64 (notarytool). -# If APPLE_CERTIFICATE is unset the build ships unsigned instead of failing. +# Missing signing or notarization inputs refuse before compilation. on: workflow_dispatch: @@ -59,22 +59,17 @@ jobs: } done - - name: fetch wownerod to embed + - name: fetch verified wownerod to embed run: | set -e - ARCH=$(uname -m) - case "$ARCH" in - arm64) WOWTAR=wownero-aarch64-apple-darwin11-v0.11.4.0.tar.bz2 ;; - *) WOWTAR=wownero-x86_64-apple-darwin11-v0.11.4.0.tar.bz2 ;; + case "$(uname -m)" in + arm64) target=aarch64-apple-darwin11 ;; + x86_64) target=x86_64-apple-darwin11 ;; + *) echo "Unsupported macOS build architecture" >&2; exit 1 ;; esac - mkdir -p /tmp/wownerod-embed /tmp/wow-extract - curl -L -o /tmp/wownero.tar.bz2 \ - "https://github.com/wownero/wownero-codeberg-mirror/releases/download/v0.11.4.0/$WOWTAR" - # /tmp is a symlink on macOS — find(1) won't descend it as a bare argument - tar xjf /tmp/wownero.tar.bz2 -C /tmp/wow-extract - find /tmp/wow-extract -name wownerod -type f -exec cp {} /tmp/wownerod-embed/ \; - chmod +x /tmp/wownerod-embed/wownerod - ls -la /tmp/wownerod-embed + EMBED="/tmp/wowlet-${GITHUB_RUN_ID}/wownerod-embed" + python3 -B contrib/release/fetch_wownerod.py --target "$target" --destination "$EMBED" + echo "WOWNEROD_DIR=$EMBED" >> "$GITHUB_ENV" - name: fetch tor to embed run: | @@ -108,7 +103,7 @@ jobs: export CPATH="$(brew --prefix)/include" export LIBRARY_PATH="$(brew --prefix)/lib" mkdir -p build && cd build - cmake -DWITH_SCANNER=OFF -DUSE_DEVICE_TREZOR=OFF -DBoost_USE_STATIC_LIBS=ON -DWOWNEROD_DIR=/tmp/wownerod-embed -DTOR_DIR=/tmp/tor-embed -DTOR_VERSION="$TOR_VERSION" -DCMAKE_PREFIX_PATH="$(brew --prefix qt)" .. + cmake -DWITH_SCANNER=OFF -DUSE_DEVICE_TREZOR=OFF -DBoost_USE_STATIC_LIBS=ON -DWOWNEROD_DIR="$WOWNEROD_DIR" -DTOR_DIR=/tmp/tor-embed -DTOR_VERSION="$TOR_VERSION" -DCMAKE_PREFIX_PATH="$(brew --prefix qt)" .. cmake --build . -j "$(sysctl -n hw.ncpu)" - name: package app bundle diff --git a/.gitea/workflows/build-windows.yml b/.gitea/workflows/build-windows.yml index 4639ec2f..6f30e9e1 100644 --- a/.gitea/workflows/build-windows.yml +++ b/.gitea/workflows/build-windows.yml @@ -107,19 +107,11 @@ jobs: path: contrib/depends/built key: depends-built-mingw32-${{ hashFiles('contrib/depends/packages/*', 'contrib/depends/hosts/*', 'contrib/depends/toolchain.cmake.in') }} - - name: fetch wownerod.exe to embed + - name: fetch verified wownerod to embed run: | - # This job and the Linux one land on the same host in host mode, and a - # fixed /tmp path let each wipe the other's binary mid-build. Scope the - # extract to the run. - EMBED="/tmp/wowlet-${GITHUB_RUN_ID:-local}" - rm -rf "$EMBED/wownerod-embed" && mkdir -p "$EMBED/wownerod-embed" - curl -fL -o "$EMBED/wownero-win.zip" \ - https://github.com/wownero/wownero-codeberg-mirror/releases/download/v0.11.4.0/wownero-x86_64-w64-mingw32-v0.11.4.0.zip - # -j flattens the versioned subdir so wownerod.exe is a DIRECT child - # (WownerodQrcGenerator globs ${WOWNEROD_DIR}/* non-recursively). - unzip -o -j "$EMBED/wownero-win.zip" 'wownero-x86_64-w64-mingw32-v0.11.4.0/wownerod.exe' -d "$EMBED/wownerod-embed" - ls -la "$EMBED/wownerod-embed" + python3 -B contrib/release/fetch_wownerod.py \ + --target x86_64-w64-mingw32 \ + --destination "/tmp/wowlet-${GITHUB_RUN_ID}/wownerod-embed" - name: build wowlet.exe run: | diff --git a/RELEASE.md b/RELEASE.md index 6fc32981..1bf7b9da 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,46 +1,41 @@ -# Release process +# Wowlet release process -- Before a minor release: - - Update `src/assets/restore_heights_monero_{mainnet,stagenet}.txt` - - To obtain values, run `contrib/generate-restore-heights/heights.py` - - Update default node lists in `src/assets/nodes.json` - - Bump `openssl`, `qt`, `tor_*` packages in `contrib/depends/packages` - - Update or patch any statically linked dependencies that have known vulnerabilities - - Run `feather-utils/depends/vulns.py` to check - - Rebase on top of latest Monero version -- Update `src/assets/ack.txt` -- Update documentation (`feather-wallet/feather-docs`) and `external/feather-docs` submodule -- Update the version number in `CMakeLists.txt` - - A hardfork-ready release must bump major version -- Create an annotated tag (`git tag x.x.x -a`) - - Tag must match version in `CMakeLists.txt` - - Only commits that update the version number in `CMakeLists.txt` may be tagged -- Push the master branch and tags - - `git push --tags origin master` -- Run `guix` builds in a clean repo: - - ```bash - git clone https://github.com/feather-wallet/feather.git - cd feather - git checkout - git submodule update --init --recursive - ./contrib/guix/guix-build - ``` - - Alternatively, run `feather-utils/guix/run-build.sh` -- Attest the builds (`contrib/guix/guix-attest`) and PR to `feather/feather-sigs`. - - Wait until at least one other person has independently verified reproducibility - - If builds are not reproducible: fix any reproducibility defects and bump patch version. Do not sign or release non-reproducible builds. -- Sign release artifacts and hashlists. - - Transfer files in `guix-build-x.x.x/output` to release signing machine - - Run `feather-utils/release/make-release.sh` -- Update the site (`feather-wallet/feather-site`) - - Run the `feather-utils/site/bump-version.py` script to create a template commit. - - Edit the changelog in `content/changelog` - - If a release includes security fixes add "(includes security fixes)" to the title. - - Update the version number, file sizes and paths in `data/release.json` - - Upload releases, signatures and signed hashlists. - - Follow the directory structure defined in `MainWindow::onShowUpdateCheck`. - - Make `depends` source files [available](https://featherwallet.org/files/sources/): - - `make -C contrib/depends download` -- Announce release on irc/Matrix -- Update websocket servers to notify clients of new release - - Wait up to 7 days to allow for bug reports before major rollout +GitHub `wownero/wowlet` owns source and public releases. Private `Builds/wowlet` +is the build ingress on our hardware. Fleet owns dispatch and publication plans. +A source merge, a build, a code signature and a published release are separate outcomes. + +1. Prepare and review a GitHub pull request with the version, wallet-library pin, + support documentation and release inputs. Publish a new library commit to its + canonical repository before pinning it. Keep source and dependency revisions exact. +2. `make check` runs the cheap source checks. Run the private Linux, Windows and + macOS workflows through reviewed Fleet admission with `expected_sha` equal to + the protected Builds commit. Preserve canonical source and Builds commit identities + separately. Do not run release builds on GitHub. +3. The build helpers verify embedded Wownero archives against `contrib/release/wownerod.json`. + That file records the reviewed checksum provenance. Do not describe an unsigned + checksum list as a PGP verification. +4. Collect artifacts by their run and artifact identities. Require a Linux AppImage, + macOS archive, signed Windows archive and unsigned Windows archive. Check archive + paths, bundled runtimes and packaging requirements. Never select an artifact by size. +5. Require Developer ID signing, accepted notarization and stapling for macOS. + Require valid, timestamped Such Software LLC Authenticode signing for Windows. + The EV token stays on its signing host; CI never receives its password or key. +6. Record any manual wallet checks actually performed. Manual testing and independent + reproducibility are separate evidence; successful builds do not prove either. + The unsigned Windows archive is provided for reproduction, without claiming an + independent reproduction occurred. +7. Create `hashes.txt` over the four final archives. Sign it on the owner's signing + machine with the existing release key `9F9930300530DF724761B7055A881347310EB79F`. + Verify the detached signature and all hashes before publication. Never transfer + the private key or put a passphrase in a command, environment or log. +8. Create an annotated `vX.Y.Z` tag from the exact reviewed canonical source, matching + `CMakeLists.txt`. Use Fleet's reviewed publication plan to upload the four archives, + `hashes.txt` and `hashes.txt.asc` to GitHub Releases. Refuse replacement of existing + tags or assets; recover partial publication from retained intent. +9. Download the public assets again and verify their hashes and PGP signature. Record + the tag, source commit, Builds commit, run identities, signing evidence and public + URL in the private journal. Release notes should say when security fixes are included. + +Additional architectures and Guix builds remain separate lanes. Do not claim a +platform is released merely because its workflow exists. Announcements are an +owner action, separate from publishing the release files. diff --git a/contrib/release/fetch_wownerod.py b/contrib/release/fetch_wownerod.py new file mode 100644 index 00000000..729585e5 --- /dev/null +++ b/contrib/release/fetch_wownerod.py @@ -0,0 +1,73 @@ +"""Fetch the pinned daemon archive and copy only its verified daemon binary.""" +import argparse +import hashlib +import json +from pathlib import Path, PurePosixPath +import shutil +import tarfile +import tempfile +import urllib.request +import zipfile + +MAX_ARCHIVE = 300 * 1024 * 1024 +MAX_BINARY = 128 * 1024 * 1024 +TARGETS = {"x86_64-linux-gnu", "x86_64-w64-mingw32", "aarch64-apple-darwin11", "x86_64-apple-darwin11"} + + +def copy_daemon(archive, destination, windows): + name = "wownerod.exe" if windows else "wownerod" + if windows: + container = zipfile.ZipFile(archive) + members = [m for m in container.infolist() if PurePosixPath(m.filename).name == name] + valid = lambda m: not m.is_dir() and (m.external_attr >> 16 & 0o170000) in (0, 0o100000) and 0 < m.file_size <= MAX_BINARY + reader = container.open + else: + container = tarfile.open(archive, "r:bz2") + members = [m for m in container.getmembers() if PurePosixPath(m.name).name == name] + valid = lambda m: m.isfile() and 0 < m.size <= MAX_BINARY + reader = container.extractfile + with container: + if len(members) != 1 or not valid(members[0]): + raise ValueError("Pinned archive must contain exactly one regular daemon binary") + # Do not extract archive paths, symlinks or unrelated files. + with reader(members[0]) as source, (destination / name).open("xb") as output: + shutil.copyfileobj(source, output) + (destination / name).chmod(0o755) + + +def fetch(target, destination): + manifest = json.loads(Path(__file__).with_name("wownerod.json").read_text()) + suffix = ".zip" if target.endswith("mingw32") else ".tar.bz2" + filename = f"wownero-{target}-{manifest['version']}{suffix}" + expected = manifest["archives"][filename] + destination.mkdir(parents=True, exist_ok=True) + with tempfile.TemporaryDirectory(prefix="wowlet-daemon-") as staging: + archive = Path(staging) / filename + digest = hashlib.sha256() + size = 0 + url = f"https://github.com/wownero/wownero/releases/download/{manifest['version']}/{filename}" + with urllib.request.urlopen(url, timeout=120) as response, archive.open("xb") as output: + if not response.geturl().startswith("https://"): + raise ValueError("Daemon download redirected outside HTTPS") + while chunk := response.read(1024 * 1024): + size += len(chunk) + if size > MAX_ARCHIVE: + raise ValueError("Daemon archive exceeds size bound") + digest.update(chunk) + output.write(chunk) + if digest.hexdigest() != expected: + raise ValueError("Daemon archive SHA-256 differs from the reviewed release pin") + copy_daemon(archive, destination, target.endswith("mingw32")) + print(f"Verified {filename}: {expected}") + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--target", required=True, choices=sorted(TARGETS)) + parser.add_argument("--destination", required=True, type=Path) + args = parser.parse_args() + fetch(args.target, args.destination) + + +if __name__ == "__main__": + main() diff --git a/contrib/release/tests/test_fetch_wownerod.py b/contrib/release/tests/test_fetch_wownerod.py new file mode 100644 index 00000000..62a62251 --- /dev/null +++ b/contrib/release/tests/test_fetch_wownerod.py @@ -0,0 +1,49 @@ +import importlib.util +import io +from pathlib import Path +import tarfile +import tempfile +import unittest +from unittest.mock import patch + +SPEC = importlib.util.spec_from_file_location("fetch_wownerod", Path(__file__).parents[1] / "fetch_wownerod.py") +fetcher = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(fetcher) + + +class DaemonTests(unittest.TestCase): + def test_checksum_failure_never_extracts_a_daemon(self): + response = io.BytesIO(b"untrusted archive bytes") + response.geturl = lambda: "https://release-assets.githubusercontent.com/archive" + with tempfile.TemporaryDirectory() as tmp, patch.object(fetcher.urllib.request, "urlopen", return_value=response), patch.object(fetcher, "copy_daemon") as extract: + with self.assertRaisesRegex(ValueError, "SHA-256"): + fetcher.fetch("x86_64-linux-gnu", Path(tmp) / "daemon") + extract.assert_not_called() + self.assertFalse((Path(tmp) / "daemon/wownerod").exists()) + + def test_archive_paths_cannot_write_outside_destination(self): + with tempfile.TemporaryDirectory() as tmp: + root = Path(tmp) + archive = root / "daemon.tar.bz2" + with tarfile.open(archive, "w:bz2") as output: + info = tarfile.TarInfo("../../wownerod") + info.size = 3 + output.addfile(info, io.BytesIO(b"exe")) + destination = root / "stage" + destination.mkdir() + fetcher.copy_daemon(archive, destination, False) + self.assertEqual((destination / "wownerod").read_bytes(), b"exe") + self.assertFalse((root / "wownerod").exists()) + + def test_symlink_daemon_is_refused(self): + with tempfile.TemporaryDirectory() as tmp: + root = Path(tmp) + archive = root / "daemon.tar.bz2" + with tarfile.open(archive, "w:bz2") as output: + info = tarfile.TarInfo("wownerod") + info.type = tarfile.SYMTYPE + info.linkname = "/etc/passwd" + output.addfile(info) + with self.assertRaisesRegex(ValueError, "regular daemon"): + fetcher.copy_daemon(archive, root, False) + self.assertFalse((root / "wownerod").exists()) diff --git a/contrib/release/wownerod.json b/contrib/release/wownerod.json new file mode 100644 index 00000000..c20eff55 --- /dev/null +++ b/contrib/release/wownerod.json @@ -0,0 +1,12 @@ +{ + "version": "v0.11.5.0", + "source_commit": "b22382c55fa2a97cd70aca450026b8e2bb8711a6", + "checksum_evidence": "https://github.com/wownero/wownero/actions/runs/37402323531", + "checksum_signature": "The release tag build replaced the archives after SHA256SUMS.txt.asc was signed. These hashes match the successful tag build and current release metadata; that signature does not cover these archives.", + "archives": { + "wownero-x86_64-w64-mingw32-v0.11.5.0.zip": "46dffbd313de1df4667516acf23737f986eb2e131c06a8dde1d11dcff2eb06e2", + "wownero-aarch64-apple-darwin11-v0.11.5.0.tar.bz2": "bad8cc7f1c78d026e63dbe3ffc0f2175d50b986bbde3fc18826a04ff693866d4", + "wownero-x86_64-apple-darwin11-v0.11.5.0.tar.bz2": "ae562c90a10856fcdd183dc9530dff73e46ed6eece9fb8dcfaa77f1e07174787", + "wownero-x86_64-linux-gnu-v0.11.5.0.tar.bz2": "2d0cc62c24255d45c51936616559651378011501c55a8caadb9a125bb875849b" + } +} diff --git a/src/assets/qml/mining.qml b/src/assets/qml/mining.qml index e105bcda..29c76c41 100644 --- a/src/assets/qml/mining.qml +++ b/src/assets/qml/mining.qml @@ -606,7 +606,7 @@ Rectangle { horizontalAlignment: Text.AlignHCenter color: "#f2dcb4" font.pointSize: 9 - text: "Mining needs your own node.\nYou are connected to a remote one — " + + text: "Mining needs your own node.\nYou are connected to a remote one. " + "start the built-in node or point the wallet at a local daemon " + "under Settings to mine." } diff --git a/src/dialog/AboutDialog.ui b/src/dialog/AboutDialog.ui index 5d17205f..35555dcd 100644 --- a/src/dialog/AboutDialog.ui +++ b/src/dialog/AboutDialog.ui @@ -137,7 +137,7 @@ - codeberg.org/wownero/wowlet + github.com/wownero/wowlet Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse From ec8bdf4dfe27dc5a5e26d4f85352dc283d17ccd6 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 17 Oct 2026 06:03:15 -0400 Subject: [PATCH 5/5] fix(wallet): include the Wownero 0.11.5.0 security library --- .gitmodules | 2 +- monero | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 17ca544f..1e4d13a6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "monero"] path = monero - url = https://codeberg.org/wownero/wownero.git + url = https://github.com/wownero/wownero.git branch = gui [submodule "src/third-party/polyseed"] path = src/third-party/polyseed diff --git a/monero b/monero index 8b05051b..324867ad 160000 --- a/monero +++ b/monero @@ -1 +1 @@ -Subproject commit 8b05051b5754c96ca1c7e1565095fbbef8c14239 +Subproject commit 324867ad42837f3bfc36df39dc5349133e436a3f