BSD Ports

security/py-bcrypt 5.0.0p2 OpenBSD

bcrypt blowfish password hashing for Python

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
3f059e808a
Categories
security, lang/python, lang/rust

Description

py-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing code, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.

This system hashes passwords using a version of Bruce Schneier's Blowfish block cipher with modifications designed to raise the cost of off-line password cracking and frustrate fast hardware implementation. The computation cost of the algorithm is parametrised, so it can be increased as computers get faster. The intent is to make a compromise of a password database less likely to result in an attacker gaining knowledge of the plaintext passwords (e.g. using John the Ripper).

While bcrypt remains an acceptable choice for password storage, depending on your specific use case you may also want to consider using scrypt (either via standard library or cryptography) or argon2id via argon2_cffi.

In the other systems

SystemPortVersion
OpenBSDsecurity/py-bcrypt5.0.0p2
FreeBSDsecurity/py-bcrypt5.0.0_9
NetBSDsecurity/py-bcrypt5.0.0
DragonFlysecurity/py-bcrypt3.2.2_1
MidnightBSDsecurity/py-bcrypt3.2.2_2

Install

Binary package:

pkg_add py3-bcrypt

From the ports tree:

cd /usr/ports/security/py-bcrypt && make install

Dependencies

Build dependencies 9
Run dependencies 2

Commit history 2

DateCommitCreditsLog message
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1
790c92c18a sthen fix issues found by codespell