From nobody Sat Apr 29 23:32:42 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q85P64LBsz48Psq; Sat, 29 Apr 2023 23:32:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q85P63Thqz3xxq; Sat, 29 Apr 2023 23:32:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682811162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ctSwOfUMfcZCAekr1r64JIg30SDPZZlWOVzOl/cFwQI=; b=szVXjrPzep/HDEUr/IjpDW05xTcV2zWZ+Ij2lcKt3dkSk1koDL+b0wwADCa/UEum8u27LH a7niShipTVKa+f/JEFK/RsDe/pY/K56V/vuGjjFbuR8Vpf4Lozuj2vC2exFRvYFB8bfFH3 x/6ahaDacldBalBIh8dp9oZS8M9S6JE3LuFqcVLt8Viof/L78U5gFYZUmCYvBZH7vGnm5A 4rymSoz4J0blx4cG2QmmNaRHoL2WNkEvA1hgEJidFcWsMZWJCmcSBIy9tpj+hCJxK8+PRn UpLUIqED0dwdN7E4i762T5iQ70q+lrbuFxEbErq2WYBdZVrUTMp3GXgUnNcauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682811162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ctSwOfUMfcZCAekr1r64JIg30SDPZZlWOVzOl/cFwQI=; b=e1rbi5CWsbXVa/eNlsfuDInOu6HF97xa1RvOBGTbRUSE7zXCDlKZ+9svNodiAIS5JDzbR5 sxrgOrlxb35f7gBXS0RhWgVcg5n7LO3fkzw8SV0lWfvL3Jt+tUKJAjYF0fUz2NLaUGu94R aBdpLYgTkQFfpzrCeUuk3BPTvF4beDIHjBRt1Zll5aRe3+ibkObhBKASsXXjzZBVdlX3w1 LR/p/RabLZO/F+VaN2RVa3X0vXYKRjSYZ96EMiW+vtFv1X+IwHhhmG3LPE2hJPYqheK0Ne lfJ+gKN2vrLKjzW9xvYE7wTCh0pwXNmgfgkBW4n1CSChuEuX465hykNUb7Bh7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682811162; a=rsa-sha256; cv=none; b=dOeFEFg32/ACl5dzSGexzk4oFYqH1ZAXzLL/6hWg0vAD57uiKqrqFbZ1qw3YKvZj8/Bod9 En4ItROqQk4DjQ6jJTYe2NmINYRo1+9qcIUhaASn2E1RyQkBAeG/14stBXfh/mWQhNhL71 zUOb2yJdPOCxeAhpUGeG1pFzhA6gNeStVsjHlirgDR/eGgX3azpltoPzHsAX1T0Q9MBfYX n/J+wYZiphlEiC0QzGSQq6Xz+W/eMdq+dSGKhk/XwbS1NQFvLvU6wTehRv5D7FpESvr3+1 9LBWn/sleejF/nZUtnmycJ9HRI+XN1BcZmBPBzDzc66e2XDSq72ANiS3kHp0OA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q85P62YHGz11Wk; Sat, 29 Apr 2023 23:32:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33TNWgqF044786; Sat, 29 Apr 2023 23:32:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33TNWgMN044785; Sat, 29 Apr 2023 23:32:42 GMT (envelope-from git) Date: Sat, 29 Apr 2023 23:32:42 GMT Message-Id: <202304292332.33TNWgMN044785@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 0b98cb4e41c9 - main - security/py-flask-bcrypt: New port: Flask extension that provides bcrypt hashing utilities for your application List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b98cb4e41c9560063cba4da0efd30b391d6275b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b98cb4e41c9560063cba4da0efd30b391d6275b commit 0b98cb4e41c9560063cba4da0efd30b391d6275b Author: Jose Alonso Cardenas Marquez AuthorDate: 2023-04-29 23:30:46 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2023-04-29 23:32:33 +0000 security/py-flask-bcrypt: New port: Flask extension that provides bcrypt hashing utilities for your application Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevalence of powerful hardware, such as modern GPUs, hashes have become increasingly easy to crack. A proactive solution to this is to use a hash that was designed to be "de-optimized". Bcrypt is such a hashing facility; unlike hashing algorithms such as MD5 and SHA1, which are optimized for speed, bcrypt is intentionally structured to be slow. For sensitive data that must be protected, such as passwords, bcrypt is an advisable choice. --- security/Makefile | 1 + security/py-flask-bcrypt/Makefile | 21 +++++++++++++++++++++ security/py-flask-bcrypt/distinfo | 3 +++ security/py-flask-bcrypt/pkg-descr | 11 +++++++++++ 4 files changed, 36 insertions(+) diff --git a/security/Makefile b/security/Makefile index 448996693d2a..8b7c7d709195 100644 --- a/security/Makefile +++ b/security/Makefile @@ -899,6 +899,7 @@ SUBDIR += py-fail2ban SUBDIR += py-fido2 SUBDIR += py-first-server + SUBDIR += py-flask-bcrypt SUBDIR += py-flask-httpauth SUBDIR += py-flask-kerberos SUBDIR += py-flask-saml diff --git a/security/py-flask-bcrypt/Makefile b/security/py-flask-bcrypt/Makefile new file mode 100644 index 000000000000..7e9f36525545 --- /dev/null +++ b/security/py-flask-bcrypt/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Flask-Bcrypt +PORTVERSION= 1.0.1 +CATEGORIES= security www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Flask extension that provides bcrypt hashing utilities for your application +WWW= https://github.com/maxcountryman/flask-bcrypt + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bcrypt>0:security/py-bcrypt@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/security/py-flask-bcrypt/distinfo b/security/py-flask-bcrypt/distinfo new file mode 100644 index 000000000000..5ee43c55a203 --- /dev/null +++ b/security/py-flask-bcrypt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680277022 +SHA256 (Flask-Bcrypt-1.0.1.tar.gz) = f07b66b811417ea64eb188ae6455b0b708a793d966e1a80ceec4a23bc42a4369 +SIZE (Flask-Bcrypt-1.0.1.tar.gz) = 5996 diff --git a/security/py-flask-bcrypt/pkg-descr b/security/py-flask-bcrypt/pkg-descr new file mode 100644 index 000000000000..ae8d5a4a5a88 --- /dev/null +++ b/security/py-flask-bcrypt/pkg-descr @@ -0,0 +1,11 @@ +Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for +your application. + +Due to the recent increased prevalence of powerful hardware, such as modern +GPUs, hashes have become increasingly easy to crack. A proactive solution to +this is to use a hash that was designed to be "de-optimized". Bcrypt is such a +hashing facility; unlike hashing algorithms such as MD5 and SHA1, which are +optimized for speed, bcrypt is intentionally structured to be slow. + +For sensitive data that must be protected, such as passwords, bcrypt is an +advisable choice.