Package Details: mitmproxy6 6.0.2-1

Git Clone URL: https://aur.archlinux.org/mitmproxy6.git (read-only, click to copy)
Package Base: mitmproxy6
Description: SSL-capable man-in-the-middle HTTP proxy (version 6)
Upstream URL: https://mitmproxy.org
Licenses: MIT
Conflicts: mitmproxy, pathod
Provides: mitmproxy, pathod
Replaces: pathod
Submitter: J5lx
Maintainer: None
Last Packager: J5lx
Votes: 0
Popularity: 0.000000
First Submitted: 2022-01-05 10:41 (UTC)
Last Updated: 2022-01-05 10:41 (UTC)

Latest Comments

J5lx commented on 2023-01-17 20:44 (UTC)

That error appears to be the result of a change in pyOpenSSL 22.1.0. I tried patching the sources, but it appears to be a bit trickier than it looks at first sight since I got a bunch of test failures. Because this package is not a priority for me, I’m not motivated to invest the time to sort those out. With that in mind, here are your options:

  • You could try using an older version of pyOpenSSL from the Arch Linux Archive or your local package cache (at your own risk, depending on your usecase).
  • If you’re trying to build this package in order to run the tests of python-httpcore0.10, you could simply skip the tests using makepkg’s --nocheck option.
  • If you’re up for some tinkering, you could try fixing the issue yourself. I’ll disown the package so you can adopt it if you like.

agilob commented on 2023-01-17 13:16 (UTC)

warning: no previously-included files matching '.pyc' found under directory '' warning: no previously-included files matching '.pyo' found under directory '' warning: no previously-included files matching '.swo' found under directory '' warning: no previously-included files matching '.swp' found under directory '' warning: no previously-included files matching '.map' found under directory '' adding license file 'LICENSE' writing manifest file 'mitmproxy.egg-info/SOURCES.txt' running build_ext ImportError while loading conftest '/home/agilob/.cache/yay/mitmproxy6/src/mitmproxy-6.0.2/test/conftest.py'. test/conftest.py:4: in <module> from mitmproxy.utils import data, compat mitmproxy/utils/compat.py:10: in <module> from mitmproxy import connections mitmproxy/connections.py:10: in <module> from mitmproxy.net import tcp mitmproxy/net/tcp.py:12: in <module> from mitmproxy.net import tls mitmproxy/net/tls.py:42: in <module> "SSLv2": (SSL.SSLv2_METHOD, BASIC_OPTIONS), E AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv2_METHOD'. Did you mean: 'SSLv23_METHOD'? ==> ERROR: A failure occurred in check(). Aborting... -> error making: mitmproxy6 ❯ ❯