Update obfs4proxy, meek and tor versions. Try building 32-bit snapcraft. Bump Onionshare version to 2.6.1

This commit is contained in:
Miguel Jacq 2022-10-18 12:15:01 +11:00
parent e129f73934
commit e0665fa100
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6
14 changed files with 33 additions and 27 deletions

View File

@ -1,5 +1,10 @@
# OnionShare Changelog
## 2.6.1
* Upgrade Tor, Meek, and obfs4proxy versions
* Bug fix: Restore the primary_action mode settings in a tab after OnionShare reconnects to Tor
## 2.6
* Major feature: a new 'Quickstart' screen, which enables toggling on or off an animated automatic connection to Tor. This allows configuring network settings prior to automatic connection.

View File

@ -1 +1 @@
2.6
2.6.1

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "onionshare_cli"
version = "2.6"
version = "2.6.1"
description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service."
authors = ["Micah Lee <micah@micahflee.com>"]
license = "GPLv3+"

View File

@ -24,6 +24,6 @@
<update_contact>micah@micahflee.com</update_contact>
<content_rating type="oars-1.1" />
<releases>
<release type="development" date="2022-10-09" version="2.6" />
<release type="development" date="2022-10-18" version="2.6.1" />
</releases>
</component>

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "onionshare"
version = "2.6"
version = "2.6.1"
description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service."
authors = ["Micah Lee <micah@micahflee.com>"]
license = "GPLv3+"

View File

@ -1,4 +1,4 @@
$env:OBFS4PROXY_TAG = 'obfs4proxy-0.0.13'
$env:OBFS4PROXY_TAG = 'obfs4proxy-0.0.14'
New-Item -ItemType Directory -Force -Path .\build\obfs4proxy
cd .\build\obfs4proxy

View File

@ -1,9 +1,9 @@
#!/bin/bash
OBFS4PROXY_TAG=obfs4proxy-0.0.13
OBFS4PROXY_TAG=obfs4proxy-0.0.14
mkdir -p ./build/obfs4proxy
cd ./build/obfs4proxy
git clone https://gitlab.com/yawning/obfs4 || echo "already cloned"
cd obfs4
git checkout $OBFS4PROXY_TAG
go build -o ../../../onionshare/resources/tor/obfs4proxy ./obfs4proxy
go build -o ../../../onionshare/resources/tor/obfs4proxy ./obfs4proxy

View File

@ -1,4 +1,4 @@
$env:SNOWFLAKE_TAG = 'v2.2.0'
$env:SNOWFLAKE_TAG = 'v2.3.1'
New-Item -ItemType Directory -Force -Path .\build\snowflake
cd .\build\snowflake

View File

@ -1,5 +1,5 @@
#!/bin/bash
SNOWFLAKE_TAG=v2.2.0
SNOWFLAKE_TAG=v2.3.1
mkdir -p ./build/snowflake
cd ./build/snowflake

View File

@ -9,18 +9,18 @@ import subprocess
import requests
import click
torbrowser_version = "11.5.2"
torbrowser_version = "11.5.4"
expected_win32_sha256 = (
"07e721ae76bc7eefe25f20792091009238e9568d500331fc64bdd8796fec8c0f"
"5179df98761d7c52c03cbea41af75148e9164fccc0f5ad89962f05f9cd8c6261"
)
expected_win64_sha256 = (
"8237bca22b5fa545de21f84ba8c9270c84442d0fc50a2e626f757d069e4bc7a8"
"cee248528addbba59db355fca4a177746fdafd35e6e87d1b86cca2e8508dc8a7"
)
expected_macos_sha256 = (
"b80d3dba83b343fab7a6c8fc08440b2751da1ac12f86fe593da8e74069e4d7f6"
"de86f4462ee287b89504cf4145f769f7be482e8d6e23241817cdef602b06f6b5"
)
expected_linux64_sha256 = (
"90cdce3854e9114ee7232aaa74672a2d9f3a40b6fa8ac33971f586ee3a3cf75a"
"db73fc130d1ab0ea6d0d8549d3103e01338e4fdda7cff236176f82b007a37caa"
)
win32_url = f"https://dist.torproject.org/torbrowser/{torbrowser_version}/torbrowser-install-{torbrowser_version}_en-US.exe"

View File

@ -3,7 +3,7 @@
import setuptools
# The version must be hard-coded because Snapcraft won't have access to ../cli
version = "2.6"
version = "2.6.1"
setuptools.setup(
name="onionshare",

View File

@ -1,6 +1,6 @@
project = "OnionShare"
author = copyright = "Micah Lee, et al."
version = release = "2.6"
version = release = "2.6.1"
extensions = ["sphinx_rtd_theme"]
templates_path = ["_templates"]
@ -24,7 +24,7 @@ languages = [
("Українська", "uk"), # Ukrainian
]
versions = ["2.3", "2.3.1", "2.3.2", "2.3.3", "2.4", "2.5", "2.6"]
versions = ["2.3", "2.3.1", "2.3.2", "2.3.3", "2.4", "2.5", "2.6", "2.6.1"]
html_theme = "sphinx_rtd_theme"
html_logo = "_static/logo.png"

View File

@ -45,8 +45,8 @@ modules:
buildsystem: autotools
sources:
- type: archive
sha256: d39d38598208f4d6201d7edc6ad573b3a898a932a5c68d3074016a9525519b22
url: https://dist.torproject.org/tor-0.4.7.9.tar.gz
sha256: 647e56dfa59ea36dab052027fcfc7663905c826c03509363c456900ecd435a5b
url: https://dist.torproject.org/tor-0.4.7.10.tar.gz
modules:
- name: libevent
buildsystem: autotools
@ -80,7 +80,7 @@ modules:
dest: src/golang.org/x/sys
- type: git
url: https://gitlab.com/yawning/obfs4
commit: e330d1b7024b4ab04f7d96cc1afc61325744fafc
commit: 336a71d6e4cfd2d33e9c57797828007ad74975e9
dest: src/gitlab.com/yawning/obfs4.git
- type: git
url: https://gitlab.com/yawning/utls
@ -173,7 +173,7 @@ modules:
dest: src/git.torproject.org/pluggable-transports/goptlib.git
- type: git
url: https://git.torproject.org/pluggable-transports/snowflake
commit: ead5a960d7fa19dc890ccbfc0765c5ab6629eaa9
commit: 36f03dfd4483922b3e7400dedc71df9cf2f30b6b
dest: src/git.torproject.org/pluggable-transports/snowflake.git
- type: git
url: https://github.com/templexxx/xorsimd
@ -469,4 +469,4 @@ modules:
sha256: 4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a
- type: file
url: https://files.pythonhosted.org/packages/2e/a7/f20fa91d9de799f8e19bacf225bc993b8a53b5fc6f41ffa20d64f0850579/Cython-3.0.0a11.tar.gz
sha256: e4672491fb31546b9abb63677f638e738085dc9321398170956ef6fbfc0e1726
sha256: e4672491fb31546b9abb63677f638e738085dc9321398170956ef6fbfc0e1726

View File

@ -1,6 +1,6 @@
name: onionshare
base: core20
version: "2.6"
version: "2.6.1"
summary: Securely and anonymously share files, host websites, and chat using Tor
description: |
OnionShare lets you securely and anonymously send and receive files. It works by starting
@ -12,6 +12,7 @@ grade: stable # stable or devel
confinement: strict
architectures:
- build-on: i386
- build-on: amd64
- build-on: arm64
- build-on: armhf
@ -193,8 +194,8 @@ parts:
after: [onionshare-cli]
tor:
source: https://dist.torproject.org/tor-0.4.7.9.tar.gz
source-checksum: sha256/d39d38598208f4d6201d7edc6ad573b3a898a932a5c68d3074016a9525519b22
source: https://dist.torproject.org/tor-0.4.7.10.tar.gz
source-checksum: sha256/647e56dfa59ea36dab052027fcfc7663905c826c03509363c456900ecd435a5b
source-type: tar
plugin: autotools
autotools-configure-parameters:
@ -216,7 +217,7 @@ parts:
- go/latest/stable
source: https://gitlab.com/yawning/obfs4.git
source-type: git
source-tag: obfs4proxy-0.0.13
source-tag: obfs4proxy-0.0.14
snowflake-client:
plugin: go
@ -224,7 +225,7 @@ parts:
- go/latest/stable
source: https://git.torproject.org/pluggable-transports/snowflake.git
source-type: git
source-tag: v2.2.0
source-tag: v2.3.1
organize:
bin/client: bin/snowflake-client