pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-pwdlib
Module Name: pkgsrc
Committed By: wiz
Date: Wed Nov 11 14:44:48 UTC 2026
Added Files:
pkgsrc/security/py-pwdlib: DESCR Makefile PLIST distinfo
Log Message:
security/py-pwdlib: import py-pwdlib-0.3.1
For years, the de-facto standard to hash passwords was passlib.
Unfortunately, it has not been very active recently and its
maintenance status is under question. Starting Python 3.13, passlib
won't work anymore.
That's why I decided to start pwdlib, a password hash helper for
the modern Python era. However, it's not designed to be a complete
replacement for passlib, which supports numerous hashing algorithms
and features.
- Goals
Provide an easy-to-use wrapper to hash and verify passwords
Support modern and secure algorithms like Argon2 or Bcrypt
- Non-goals
Support legacy hashing algorithms like MD5
Implement algorithms directly - we should only rely on existing
and battle-tested implementations
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-pwdlib/DESCR \
pkgsrc/security/py-pwdlib/Makefile pkgsrc/security/py-pwdlib/PLIST \
pkgsrc/security/py-pwdlib/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/security/py-pwdlib/DESCR
diff -u /dev/null pkgsrc/security/py-pwdlib/DESCR:1.1
--- /dev/null Wed Nov 11 14:44:48 2026
+++ pkgsrc/security/py-pwdlib/DESCR Wed Nov 11 14:44:48 2026
@@ -0,0 +1,21 @@
+For years, the de-facto standard to hash passwords was passlib.
+Unfortunately, it has not been very active recently and its
+maintenance status is under question. Starting Python 3.13, passlib
+won't work anymore.
+
+That's why I decided to start pwdlib, a password hash helper for
+the modern Python era. However, it's not designed to be a complete
+replacement for passlib, which supports numerous hashing algorithms
+and features.
+
+- Goals
+
+ Provide an easy-to-use wrapper to hash and verify passwords
+ Support modern and secure algorithms like Argon2 or Bcrypt
+
+- Non-goals
+
+ Support legacy hashing algorithms like MD5
+
+ Implement algorithms directly - we should only rely on existing
+ and battle-tested implementations
Index: pkgsrc/security/py-pwdlib/Makefile
diff -u /dev/null pkgsrc/security/py-pwdlib/Makefile:1.1
--- /dev/null Wed Nov 11 14:44:48 2026
+++ pkgsrc/security/py-pwdlib/Makefile Wed Nov 11 14:44:48 2026
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2026/11/11 14:44:48 wiz Exp $
+
+DISTNAME= pwdlib-0.3.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pwdlib/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/frankie567/pwdlib
+COMMENT= Modern password hashing for Python
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
+DEPENDS+= ${PYPKGPREFIX}-argon2-cffi>=0:../../security/py-argon2-cffi
+DEPENDS+= ${PYPKGPREFIX}-bcrypt>=0:../../security/py-bcrypt
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-pwdlib/PLIST
diff -u /dev/null pkgsrc/security/py-pwdlib/PLIST:1.1
--- /dev/null Wed Nov 11 14:44:48 2026
+++ pkgsrc/security/py-pwdlib/PLIST Wed Nov 11 14:44:48 2026
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/11 14:44:48 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/pwdlib/__init__.py
+${PYSITELIB}/pwdlib/__init__.pyc
+${PYSITELIB}/pwdlib/__init__.pyo
+${PYSITELIB}/pwdlib/_hash.py
+${PYSITELIB}/pwdlib/_hash.pyc
+${PYSITELIB}/pwdlib/_hash.pyo
+${PYSITELIB}/pwdlib/exceptions.py
+${PYSITELIB}/pwdlib/exceptions.pyc
+${PYSITELIB}/pwdlib/exceptions.pyo
+${PYSITELIB}/pwdlib/hashers/__init__.py
+${PYSITELIB}/pwdlib/hashers/__init__.pyc
+${PYSITELIB}/pwdlib/hashers/__init__.pyo
+${PYSITELIB}/pwdlib/hashers/argon2.py
+${PYSITELIB}/pwdlib/hashers/argon2.pyc
+${PYSITELIB}/pwdlib/hashers/argon2.pyo
+${PYSITELIB}/pwdlib/hashers/base.py
+${PYSITELIB}/pwdlib/hashers/base.pyc
+${PYSITELIB}/pwdlib/hashers/base.pyo
+${PYSITELIB}/pwdlib/hashers/bcrypt.py
+${PYSITELIB}/pwdlib/hashers/bcrypt.pyc
+${PYSITELIB}/pwdlib/hashers/bcrypt.pyo
+${PYSITELIB}/pwdlib/py.typed
Index: pkgsrc/security/py-pwdlib/distinfo
diff -u /dev/null pkgsrc/security/py-pwdlib/distinfo:1.1
--- /dev/null Wed Nov 11 14:44:48 2026
+++ pkgsrc/security/py-pwdlib/distinfo Wed Nov 11 14:44:48 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/11 14:44:48 wiz Exp $
+
+BLAKE2s (pwdlib-0.3.1.tar.gz) = 61f4760150f4f6d7215d84c5a7177035ca8c3d235e1facc797e9b7ce61031e3f
+SHA512 (pwdlib-0.3.1.tar.gz) = 73b9f49b665d850f27a854c356bc27d0c6e78d42a84f7288522587527dafd3120fb30f1792a7e1e798ece43b51079c91734b9085aec93662363c8d68f663d9f1
+Size (pwdlib-0.3.1.tar.gz) = 216951 bytes
Home |
Main Index |
Thread Index |
Old Index