From 6abbfc6923615158c37fb0eaa006fe839ec7f28c Mon Sep 17 00:00:00 2001 From: koalasat Date: Sat, 12 Jul 2025 11:22:33 +0200 Subject: [PATCH 1/2] v0.8.0-alpha --- desktopApp/package-lock.json | 4 ++-- desktopApp/package.json | 2 +- docs/assets/schemas/api-latest.yaml | 2 +- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- mobile/android/app/build.gradle | 4 ++-- mobile/package-lock.json | 4 ++-- mobile/package.json | 2 +- release_notes.md | 30 ++++++++++++++--------------- version.json | 4 ++-- 10 files changed, 29 insertions(+), 29 deletions(-) diff --git a/desktopApp/package-lock.json b/desktopApp/package-lock.json index 573bba89..5a5ab54a 100644 --- a/desktopApp/package-lock.json +++ b/desktopApp/package-lock.json @@ -1,12 +1,12 @@ { "name": "desktop-app", - "version": "0.7.9", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "desktop-app", - "version": "0.7.9", + "version": "0.8.0", "license": "ISC", "dependencies": { "cors": "^2.8.5", diff --git a/desktopApp/package.json b/desktopApp/package.json index 3f348d72..68246489 100644 --- a/desktopApp/package.json +++ b/desktopApp/package.json @@ -1,6 +1,6 @@ { "name": "desktop-app", - "version": "0.7.9", + "version": "0.8.0", "description": "", "main": "index.js", "scripts": { diff --git a/docs/assets/schemas/api-latest.yaml b/docs/assets/schemas/api-latest.yaml index f6210392..fe841fd2 100644 --- a/docs/assets/schemas/api-latest.yaml +++ b/docs/assets/schemas/api-latest.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: RoboSats REST API - version: 0.7.9 + version: 0.8.0 x-logo: url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png backgroundColor: '#FFFFFF' diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 74363d94..cf4f18fa 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "frontend", - "version": "0.7.9", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "frontend", - "version": "0.7.9", + "version": "0.8.0", "license": "ISC", "dependencies": { "@babel/plugin-proposal-class-properties": "^7.18.6", diff --git a/frontend/package.json b/frontend/package.json index ce79f018..74386488 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "0.7.9", + "version": "0.8.0", "description": "", "main": "index.js", "scripts": { diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle index df8d7b51..298b2147 100644 --- a/mobile/android/app/build.gradle +++ b/mobile/android/app/build.gradle @@ -150,8 +150,8 @@ android { applicationId "com.robosats" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 13 - versionName "0.7.9-alpha" + versionCode 14 + versionName "0.8.0-alpha" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() if (isNewArchitectureEnabled()) { diff --git a/mobile/package-lock.json b/mobile/package-lock.json index a356a70b..880dae64 100644 --- a/mobile/package-lock.json +++ b/mobile/package-lock.json @@ -1,12 +1,12 @@ { "name": "robosats", - "version": "0.7.9", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "robosats", - "version": "0.7.9", + "version": "0.8.0", "dependencies": { "@react-native-clipboard/clipboard": "^1.13.2", "@react-native-community/netinfo": "^11.3.0", diff --git a/mobile/package.json b/mobile/package.json index 925adee5..4b8d1518 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -1,6 +1,6 @@ { "name": "robosats", - "version": "0.7.9", + "version": "0.8.0", "private": true, "scripts": { "android": "react-native run-android", diff --git a/release_notes.md b/release_notes.md index 805e07aa..daf9030f 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,4 +1,4 @@ -RoboSats v0.7.9 is now out! :rocket: +RoboSats v0.8.0 is now out! :rocket: # Changes ## What's new @@ -9,15 +9,15 @@ RoboSats v0.7.9 is now out! :rocket: # Android -**[Click to download universal RoboSats APK for Android](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-v0.7.9.alpha-universal.apk)** +**[Click to download universal RoboSats APK for Android](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-v0.8.0.alpha-universal.apk)** Smaller bundles for each CPU architecture available in the attachments. ### Verify the app using GPG: -1. [Download the ascii armored signature](https://github.com/Reckless-Satoshi/robosats/releases/download/v0.7.9-alpha/robosats-v0.7.9.alpha-universal.apk.asc) +1. [Download the ascii armored signature](https://github.com/Reckless-Satoshi/robosats/releases/download/v0.8.0-alpha/robosats-v0.8.0.alpha-universal.apk.asc) 2. Run this command on a directory that contains the apk file and and the ascii armored signature. -`gpg --verify robosats-v0.7.9.alpha-universal.apk.asc` +`gpg --verify robosats-v0.8.0.alpha-universal.apk.asc` 3. Verify the signer is actually ~~Reckless-Satoshi (fingerprints match): [B4AB5F19113D4125DDF217739C4585B561315571](https://keys.openpgp.org/vks/v1/by-fingerprint/B4AB5F19113D4125DDF217739C4585B561315571)~~ KoalaSat [8FCDBF574CCFD73DB68B00CC2F7F61C6146AB157](https://keys.openpgp.org/vks/v1/by-fingerprint/8FCDBF574CCFD73DB68B00CC2F7F61C6146AB157) @@ -28,36 +28,36 @@ Additionally, you can download it from [Izzysoft repository](https://apt.izzysof **Download the Desktop App zip file** Find the zip file that suits with your operative system: -- [Windows](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-win32-ia32.zip) -- [Mac](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-mac-darwin-x64.zip) -- [Linux](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-linux-x64.zip) +- [Windows](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-win32-ia32.zip) +- [Mac](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-mac-darwin-x64.zip) +- [Linux](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-linux-x64.zip) ### Verify the app using GPG: 1. Download the ascii armored signature: -- [Windows](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-win32-ia32.zip.asc) -- [Mac](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-mac-darwin-x64.zip.asc) -- [Linux](https://github.com/RoboSats/robosats/releases/download/v0.7.9-alpha/robosats-desktop-v0.7.9.alpha-linux-x64.zip.asc) +- [Windows](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-win32-ia32.zip.asc) +- [Mac](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-mac-darwin-x64.zip.asc) +- [Linux](https://github.com/RoboSats/robosats/releases/download/v0.8.0-alpha/robosats-desktop-v0.8.0.alpha-linux-x64.zip.asc) 3. Run this command on a directory that contains the apk file and and the ascii armored signature. -`gpg --verify robosats-v0.7.9.alpha-....asc` +`gpg --verify robosats-v0.8.0.alpha-....asc` 4. Verify the signer is actually ~~Reckless-Satoshi (fingerprints match): [B4AB5F19113D4125DDF217739C4585B561315571](https://keys.openpgp.org/vks/v1/by-fingerprint/B4AB5F19113D4125DDF217739C4585B561315571)~~ KoalaSat [8FCDBF574CCFD73DB68B00CC2F7F61C6146AB157](https://keys.openpgp.org/vks/v1/by-fingerprint/8FCDBF574CCFD73DB68B00CC2F7F61C6146AB157) # Docker Images -[Coordinator Backend Image v0.7.9-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=v0.7.9-alpha) +[Coordinator Backend Image v0.8.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=v0.8.0-alpha) ```bash -docker pull recksato/robosats:v0.7.9-alpha +docker pull recksato/robosats:v0.8.0-alpha ``` -[Client App Image v0.7.9-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats-client/tags?page=1&name=v0.7.9-alpha) +[Client App Image v0.8.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats-client/tags?page=1&name=v0.8.0-alpha) ```bash -docker pull recksato/robosats-client:v0.7.9-alpha +docker pull recksato/robosats-client:v0.8.0-alpha ``` See [nodeapp/docker-compose.yml](https://github.com/Reckless-Satoshi/robosats/blob/2cd9d748706a8dcc0f03006b483acc6000e0572a/nodeapp/docker-compose.yml) for an example docker-compose usage of the `robosats-client` image. diff --git a/version.json b/version.json index b2849483..5d16f92b 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { "major": 0, - "minor": 7, - "patch": 9 + "minor": 8, + "patch": 0 } From 339495078d9b85281bdcd4fac1590ca62e751bb6 Mon Sep 17 00:00:00 2001 From: koalasat Date: Sat, 12 Jul 2025 11:24:10 +0200 Subject: [PATCH 2/2] Enforce nostr pubkey in header --- robosats/middleware.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/robosats/middleware.py b/robosats/middleware.py index 00fafb0e..6a9bf509 100644 --- a/robosats/middleware.py +++ b/robosats/middleware.py @@ -42,12 +42,7 @@ class SplitAuthorizationHeaderMiddleware(MiddlewareMixin): auth_header = request.META.get("HTTP_AUTHORIZATION", "") split_auth = auth_header.split(" | ") - if len(split_auth) == 3: - # Deprecated in favor of len 4 - request.META["HTTP_AUTHORIZATION"] = split_auth[0] - request.META["PUBLIC_KEY"] = split_auth[1] - request.META["ENCRYPTED_PRIVATE_KEY"] = split_auth[2] - elif len(split_auth) == 4: + if len(split_auth) == 4: request.META["HTTP_AUTHORIZATION"] = split_auth[0] request.META["PUBLIC_KEY"] = split_auth[1] request.META["ENCRYPTED_PRIVATE_KEY"] = split_auth[2]