Package Details: onionshare 2.2-2

Git Clone URL: (read-only, click to copy)
Package Base: onionshare
Description: Lets you securely and anonymously share a file of any size with someone
Upstream URL:
Keywords: file-sharing python security tor
Licenses: GPL3
Submitter: thelinuxguy
Maintainer: pancakes
Last Packager: pancakes
Votes: 37
Popularity: 1.52
First Submitted: 2014-08-24 11:43
Last Updated: 2019-10-22 22:47

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

pancakes commented on 2020-01-04 09:29

Edit: Now that python-stem v1.8 is in the Arch repos, this comment is no longer useful.

Anyone having errors similar to @repo in the comment below this one can build version 1.8 of python-stem manually using the PKGBUILD inlined in this comment to get around it. You may need to add the signer's pubkey: gpg --keyserver hkp:// --search-keys 888404C187F30690

Otherwise, please wait until python-stem v1.8 is in the arch repos (hopefully soon) and onionshare will be working fine again :)


# modified from
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Spider.007 <archlinux AT spider007 DOT net>

pkgdesc='Python controller library for Tor'
depends=('python' 'python-cryptography' 'python-pynacl' 'procps-ng')
checkdepends=('tor' 'python-mock')
optdepends=('tor: tor-server to talk to')
validpgpkeys=('68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6') # Damian Johnson ( <>

prepare() {
  cd ${_pypiname}-${pkgver}
  # remove flaky integration tests
  sed -i test/settings.cfg \
    -e '/|test.integ.client.connection.TestConnection/d' \
    -e '/|test.integ.process.TestProcess/d' \
    -e '/|test.integ.installation.TestInstallation/d'
  rm test/integ/{client/connection,{installation,process}}.py

build() {
  cd ${_pypiname}-${pkgver}
  python build

check() {
  cd ${_pypiname}-${pkgver}
  ./ --all

package() {
  cd ${_pypiname}-${pkgver}
  python install --optimize=1 --root="${pkgdir}" --skip-build

# vim: ts=2 sw=2 et:

repo commented on 2019-12-10 20:51

Since upgrade to python 3.8.0 on Arch Linux

OnionShare 2.2 | OnionShare could not connect to Tor in the background: dictionary keys changed during iteration

vexinf commented on 2019-11-10 20:59

anyone any ideas why Im getting this error

/usr/bin/python: symbol lookup error: /usr/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/../../lib/ undefined symbol: _ZdlPvm, version Qt_5

I tried uninstall python-pyqt5 and reinstalled but still getting error

lothar_m commented on 2019-10-18 11:23

Building 2.2 seems to require python-flask-httpauth. Please add as dependency. Also had to comment out the following line in the package section of the PKGBUILD:

install -Dm644 install/onionshare.desktop "${pkgdir}/usr/share/applications/onionshare.desktop"

ZeroDot1 commented on 2019-10-14 02:23

Onionshare 2.2 FINAL is available please update the package.

danieltetraquark commented on 2019-07-08 20:06

# Maintainer: Ye Shu <>

pkgdesc="Lets you securely and anonymously share a file of any size with someone"
depends=('stem' 'python-flask' 'tor' 'python-pycryptodome' 'python-pysocks' 'python-requests' 'python-pyqt5')
    'python-nautilus: to enable Nautilus  right-click extension'
    'obfs4proxy: for tor bridge support'


check() {
    cd "$srcdir/onionshare-$pkgver"
    pytest tests/

package() {
    cd "$srcdir/onionshare-$pkgver" || return $?
    python install --root="$pkgdir/" --optimize=1
    install -Dm644 install/onionshare.desktop "${pkgdir}/usr/share/applications/onionshare.desktop"
    install -Dm644 install/onionshare80.xpm "${pkgdir}/usr/share/pixmaps/onionshare80.xpm"

ZeroDot1 commented on 2019-05-07 19:20

Please update to the latest version.

Tio commented on 2019-02-25 11:19

For my error the fix is here

yechs commented on 2019-02-25 00:29

In fact, when building from a clean chroot, multiple tests failed without python-requests E ModuleNotFoundError: No module named 'requests'

As for python-pyqt5, since the upstream imports TorGuiShareTest in many of its tests modules, so the tests would fail without python-pyqt5. I guess the author is intended to install the GUI along with the application.

FYI, the upstream has included both packages in its dependencies list:

sekret commented on 2019-02-24 01:34

I actually think having python-pyqt5 as an optional dependency was a good option. It would have been enough to add those I proposed to make dependencies.

And please consider that python-requests is NOT a dependency! I checked in a chroot, both binaries run just fine without it!