[Pkg-privacy-maintainers] Bug#925328: onionshare: Missing dependency on python3-crypto and python3-socks

intrigeri at debian.org intrigeri at debian.org
Sat Mar 23 08:34:02 GMT 2019


Package: onionshare
Version: 2.0-1
Severity: serious

Hi,

trying to run the "onionshare" command in a terminal yields:

Traceback (most recent call last):
  File "/bin/onionshare", line 21, in <module>
    import onionshare
  File "/usr/lib/python3/dist-packages/onionshare/__init__.py", line 26, in <module>
    from .onion import *
  File "/usr/lib/python3/dist-packages/onionshare/onion.py", line 24, in <module>
    from Crypto.PublicKey import RSA
ModuleNotFoundError: No module named 'Crypto'

This is fixed by installing python3-crypto.

Looking at the upstream packaging changes (stdeb.cfg), I see another
new dependency (python3-socks) that AFAICT is only pulled by the
onionshare package, by way of torbrowser-launcher, if:

 - contrib repos are enabled
 - one is running a version of Debian that ships torbrowser-launcher
   (i.e. not current stable and probably not Buster once it's released)
 - one has not disabled automatic installation of Recommends

Cheers,
-- 
intrigeri



More information about the Pkg-privacy-maintainers mailing list