Package Details: onionshare 2.0-2

Git Clone URL: https://aur.archlinux.org/onionshare.git (read-only)
Package Base: onionshare
Description: Lets you securely and anonymously share a file of any size with someone
Upstream URL: https://github.com/micahflee/onionshare
Keywords: file-sharing python security tor
Licenses: GPL3
Submitter: thelinuxguy
Maintainer: shuye02
Last Packager: shuye02
Votes: 25
Popularity: 5.577115
First Submitted: 2014-08-24 11:43
Last Updated: 2019-02-23 15:12

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

teoretic commented on 2019-02-23 16:13

error:

Synchronizing package databases...
Starting full system upgrade...
Cloning onionshare build files...
Checking onionshare dependencies...
Building onionshare...
==> Making package: onionshare 2.0-2 (sáb 23 feb 2019 17:07:06 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading onionshare-2.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   126    0   126    0     0    180      0 --:--:-- --:--:-- --:--:--   180

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100  367k    0  367k    0     0   168k      0 --:--:--  0:00:02 --:--:--  364k
100 2091k    0 2091k    0     0   708k      0 --:--:--  0:00:02 --:--:-- 1178k
==> Validating source files with sha512sums...
    onionshare-2.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting onionshare-2.0.tar.gz with bsdtar
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.7.0, pluggy-0.8.1
rootdir: /tmp/pamac-build/onionshare/src/onionshare-2.0, inifile:
collected 281 items

tests/local_onionshare_404_public_mode_skips_ratelimit_test.py s         [  0%]
tests/local_onionshare_404_triggers_ratelimit_test.py s                  [  0%]
tests/local_onionshare_quitting_during_share_prompts_warning_test.py s   [  1%]
tests/local_onionshare_receive_mode_sender_closed_test.py s              [  1%]
tests/local_onionshare_receive_mode_timer_test.py s                      [  1%]
tests/local_onionshare_receive_mode_upload_non_writable_dir_test.py s    [  2%]
tests/local_onionshare_receive_mode_upload_public_mode_non_writable_dir_test.py s [  2%]
                                                                         [  2%]
tests/local_onionshare_receive_mode_upload_public_mode_test.py s         [  2%]
tests/local_onionshare_receive_mode_upload_test.py s                     [  3%]
tests/local_onionshare_settings_dialog_legacy_tor_test.py s              [  3%]
tests/local_onionshare_settings_dialog_no_tor_test.py s                  [  3%]
tests/local_onionshare_settings_dialog_v3_tor_test.py s                  [  4%]
tests/local_onionshare_share_mode_download_public_mode_test.py s         [  4%]
tests/local_onionshare_share_mode_download_stay_open_test.py s           [  4%]
tests/local_onionshare_share_mode_download_test.py s                     [  5%]
tests/local_onionshare_share_mode_large_download_test.py s               [  5%]
tests/local_onionshare_share_mode_slug_persistent_test.py s              [  6%]
tests/local_onionshare_share_mode_timer_test.py s                        [  6%]
tests/local_onionshare_share_mode_timer_too_short_test.py s              [  6%]
tests/local_onionshare_share_mode_unreadable_file_test.py s              [  7%]
tests/onionshare_790_cancel_on_second_share_test.py s                    [  7%]
tests/onionshare_receive_mode_upload_public_mode_test.py s               [  7%]
tests/onionshare_receive_mode_upload_test.py s                           [  8%]
tests/onionshare_share_mode_cancel_share_test.py s                       [  8%]
tests/onionshare_share_mode_download_public_mode_test.py s               [  8%]
tests/onionshare_share_mode_download_stay_open_test.py s                 [  9%]
tests/onionshare_share_mode_download_test.py s                           [  9%]
tests/onionshare_share_mode_persistent_test.py s                         [  9%]
tests/onionshare_share_mode_stealth_test.py s                            [ 10%]
tests/onionshare_share_mode_timer_test.py s                              [ 10%]
tests/onionshare_share_mode_tor_connection_killed_test.py s              [ 11%]
tests/onionshare_share_mode_v2_onion_test.py s                           [ 11%]
tests/test_onionshare.py .......                                         [ 13%]
tests/test_onionshare_common.py ........................................ [ 28%]
.......................................................................  [ 53%]
tests/test_onionshare_settings.py ............                           [ 57%]
tests/test_onionshare_strings.py ....                                    [ 59%]
tests/test_onionshare_web.py FFFF....................................... [ 74%]
........................................................................ [100%]

=================================== FAILURES ===================================
___________________________ TestWeb.test_share_mode ____________________________

self = <tests.test_onionshare_web.TestWeb object at 0x7f73bf91f588>
common_obj = <onionshare.common.Common object at 0x7f73bf91f278>

    def test_share_mode(self, common_obj):
        web = web_obj(common_obj, 'share', 3)
        assert web.mode is 'share'
        with web.app.test_client() as c:
            # Load 404 pages
            res = c.get('/')
            res.get_data()
>           assert res.status_code == 404
E           assert 200 == 404
E            +  where 200 = <Response 1634 bytes [200 OK]>.status_code

tests/test_onionshare_web.py:77: AssertionError
____________ TestWeb.test_share_mode_close_after_first_download_on _____________

self = <tests.test_onionshare_web.TestWeb object at 0x7f73bf7b3240>
common_obj = <onionshare.common.Common object at 0x7f73bf7b32e8>
temp_file_1024 = '/tmp/tmpc2z1sukl'

    def test_share_mode_close_after_first_download_on(self, common_obj, temp_file_1024):
        web = web_obj(common_obj, 'share', 3)
        web.stay_open = False

        assert web.running == True

        with web.app.test_client() as c:
            # Download the first time
            res = c.get('/{}/download'.format(web.slug))
            res.get_data()
>           assert res.status_code == 200
E           assert 404 == 200
E            +  where 404 = <Response 501 bytes [404 NOT FOUND]>.status_code

tests/test_onionshare_web.py:104: AssertionError
____________ TestWeb.test_share_mode_close_after_first_download_off ____________

self = <tests.test_onionshare_web.TestWeb object at 0x7f73bf7b3160>
common_obj = <onionshare.common.Common object at 0x7f73bf903e10>
temp_file_1024 = '/tmp/tmpa3a1n92q'

    def test_share_mode_close_after_first_download_off(self, common_obj, temp_file_1024):
        web = web_obj(common_obj, 'share', 3)
        web.stay_open = True

        assert web.running == True

        with web.app.test_client() as c:
            # Download the first time
            res = c.get('/{}/download'.format(web.slug))
            res.get_data()
>           assert res.status_code == 200
E           assert 404 == 200
E            +  where 404 = <Response 501 bytes [404 NOT FOUND]>.status_code

tests/test_onionshare_web.py:119: AssertionError
__________________________ TestWeb.test_receive_mode ___________________________

self = <tests.test_onionshare_web.TestWeb object at 0x7f73bf9d43c8>
common_obj = <onionshare.common.Common object at 0x7f73bf7a1160>

    def test_receive_mode(self, common_obj):
        web = web_obj(common_obj, 'receive')
        assert web.mode is 'receive'

        with web.app.test_client() as c:
            # Load 404 pages
            res = c.get('/')
            res.get_data()
>           assert res.status_code == 404
E           assert 200 == 404
E            +  where 200 = <Response 1949 bytes [200 OK]>.status_code

tests/test_onionshare_web.py:131: AssertionError
=============================== warnings summary ===============================
/usr/lib/python3.7/site-packages/socks.py:58
  /usr/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Callable

onionshare_gui/settings_dialog.py:1031
  /tmp/pamac-build/onionshare/src/onionshare-2.0/onionshare_gui/settings_dialog.py:1031: DeprecationWarning: invalid escape sequence \s
    ipv4_pattern = re.compile("(obfs4\s+)?(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]):([0-9]+)(\s+)([A-Z0-9]+)(.+)$")

onionshare_gui/settings_dialog.py:1032
  /tmp/pamac-build/onionshare/src/onionshare-2.0/onionshare_gui/settings_dialog.py:1032: DeprecationWarning: invalid escape sequence \s
    ipv6_pattern = re.compile("(obfs4\s+)?\[(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\]:[0-9]+\s+[A-Z0-9]+(.+)$")

onionshare_gui/settings_dialog.py:1033
  /tmp/pamac-build/onionshare/src/onionshare-2.0/onionshare_gui/settings_dialog.py:1033: DeprecationWarning: invalid escape sequence \s
    meek_lite_pattern = re.compile("(meek_lite)(\s)+([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]+)(\s)+([0-9A-Z]+)(\s)+url=(.+)(\s)+front=(.+)")

-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 4 failed, 245 passed, 32 skipped, 4 warnings in 0.80 seconds =========
==> ERROR: A failure occurred in check().
    Aborting...

shuye02 commented on 2019-02-23 15:13

@sekret @colluphid thanks for the feedback, I've added them to the dependencies list

colluphid commented on 2019-02-23 07:19

Failed a bunch of tests with ModuleNotFoundError: No module named 'PyQt5'. Installing python-pyqt5 fixed it.

shuye02 commented on 2019-02-23 05:51

@sekret Sure, I'll look into that

sekret commented on 2019-02-22 23:04

Hi, I built the package in a clean chroot and needed 'python-requests' and 'python-pyqt5' in makedepends. Doesn't build withouth those!

simonfxr commented on 2019-02-22 15:18

@shuye02 Cool, THX for taking over as a maintainer!

shuye02 commented on 2019-02-22 14:56

@simonfxr I have adopted the package and updated it according to your script, thanks!

qertoip commented on 2019-02-22 07:54

Please kindly update the package.

simonfxr commented on 2019-02-21 19:34

@ZeroDot1 Have you seen my comment below?

ZeroDot1 commented on 2019-02-21 19:21

Please update the package to the latest version: https://blog.torproject.org/new-release-onionshare-2