Port details on branch 2022Q2 |
- py-django-debreach Adds protection against the BREACH attack in Django
- 2.1.0 www =0 2.1.0Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2020-04-07 10:41:41
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python security
- License: BSD2CLAUSE
- WWW:
- https://github.com/lpomfrey/django-debreach
- Description:
- Basic/extra mitigation against the BREACH attack for Django projects.
django-debreach provides additional protection to Django's built in CSRF token
masking by randomizing the content length of each response.
This is achieved by adding a random string of between 12 and 25 characters as a
comment to the end of the HTML content. Note that this will only be applied to
responses with a content type of text/html.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}django-debreach>0:www/py-django-debreach@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-django-debreach/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-django-debreach
- pkg install py39-django-debreach
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-django-debreach listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-django-debreach
- Package flavors (<flavor>: <package>)
- py39: py39-django-debreach
- distinfo:
- TIMESTAMP = 1642547128
SHA256 (django-debreach-2.1.0.tar.gz) = aeac9f43e0ea97830bed69cb309ad5746b5ed2b9dce733ac4c136c8e16a7d6e5
SIZE (django-debreach-2.1.0.tar.gz) = 15616
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-django32>0 : www/py-django32@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-horizon
Configuration Options:
- No options to configure
- Options name:
- www_py-django-debreach
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|