head 1.4; access; symbols pkgsrc-2023Q4:1.4.0.16 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.14 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.12 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.10 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.8 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.6 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.4 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.2 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.3.0.18 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.16 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.14 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.12 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.10 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.8 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.6 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.4 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.2.0.6 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.4 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.2 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.1.0.14 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.12 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.10 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.8 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.6 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.4 pkgsrc-2017Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2022.01.04.20.54.42; author wiz; state Exp; branches; next 1.3; commitid CYyhdK9qtoffkmnD; 1.3 date 2019.11.13.15.06.44; author adam; state Exp; branches; next 1.2; commitid 7nrPJTPHJnIhAHKB; 1.2 date 2019.01.17.13.22.00; author adam; state Exp; branches; next 1.1; commitid SX85pB6ZQoTdE88B; 1.1 date 2017.07.03.21.03.29; author adam; state Exp; branches; next ; commitid idozwkverkIDiPXz; desc @@ 1.4 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @# $NetBSD: Makefile,v 1.3 2019/11/13 15:06:44 adam Exp $ DISTNAME= mohawk-1.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=m/mohawk/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/kumar303/mohawk COMMENT= Library for Hawk HTTP authorization LICENSE= mpl-2.0 DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose USE_LANGUAGES= # none .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.3 log @py-mohawk: updated to 1.1.0 1.1.0: Support passing file-like objects (those implementing .read(n)) as the content parameter for Resources. See mohawk.Sender for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/01/17 13:22:00 adam Exp $ d5 1 @ 1.2 log @py-mohawk: updated to 1.0.0 1.0.0: Security related: Bewit MACs were not compared in constant time and were thus possibly circumventable by an attacker. Breaking change: Escape characters in header values (such as a back slash) are no longer allowed, potentially breaking clients that depended on this behavior. See https://github.com/kumar303/mohawk/issues/34 A sender is allowed to omit the content hash as long as their request has no content. The mohawk.Receiver will skip the content hash check in this situation, regardless of the value of accept_untrusted_content. See Empty requests for more details. Introduced max limit of 4096 characters in the Authorization header Changed default values of content and content_type arguments to mohawk.base.EmptyValue in order to differentiate between misconfiguration and cases where these arguments are explicitly given as None (as with some web frameworks). See Skipping content checks for more details. Failing to pass content and content_type arguments to mohawk.Receiver or mohawk.Sender.accept_response() without specifying accept_untrusted_content=True will now raise mohawk.exc.MissingContent instead of ValueError. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2017/07/03 21:03:29 adam Exp $ d3 1 a3 1 DISTNAME= mohawk-1.0.0 d14 2 @ 1.1 log @Mohawk is an alternate Python implementation of the Hawk HTTP authorization scheme. Hawk lets two parties securely communicate with each other using messages signed by a shared key. It is based on HTTP MAC access authentication (which was based on parts of OAuth 1.0). The Mohawk API is a little different from that of the Node library (i.e. the living Hawk spec). It was redesigned to be more intuitive to developers, less prone to security problems, and more Pythonic. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= mohawk-0.3.4 d15 1 a15 1 USE_LANGUAGES= # none @