debian/0000775000000000000000000000000012316332507007172 5ustar debian/source/0000775000000000000000000000000012221333507010466 5ustar debian/source/format0000664000000000000000000000001312221333507011673 0ustar 3.0 (quilt)debian/copyright0000664000000000000000000000707712221333507011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: py-bcrypt Upstream-Contact: Damien Miller Source: http://code.google.com/p/py-bcrypt/source/browse/ Files: * Copyright: 2006 Damien Miller License: ISC Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: /bcrypt/* Copyright: 1997 Niels Provos License: BSD-4-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the Institute nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . 4. Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: /debian/* Copyright: 2007 Kevin Coyner , 2013 Simon Fondrie-Teitler License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/manpages0000664000000000000000000000002712221333507010703 0ustar debian/python-bcrypt.1 debian/changelog0000664000000000000000000000202512316332507011043 0ustar python-bcrypt (0.4-1ubuntu2) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:34:47 +0100 python-bcrypt (0.4-1ubuntu1) trusty; urgency=medium * Build-depend on python3-all-dev. -- Matthias Klose Wed, 12 Feb 2014 16:39:32 +0100 python-bcrypt (0.4-1) unstable; urgency=low * New Upstream release * Migrate to git-buildpackage * Update control file to reflect more modern debian standards (no changes) * Update to use debhelper 9 * Add source/format of "3.0 (quilt)" * Fix spelling of parametrised throughout debian/ directory * Update watch file to use google code * Remove depricated pycompat file * Update copyright file to be machine-readable -- Simon Fondrie-Teitler Sat, 21 Sep 2013 16:26:21 -0500 python-bcrypt (0.1-1) unstable; urgency=low * Initial release (Closes: #454627) * Added man page. -- Kevin Coyner Sat, 22 Dec 2007 13:45:05 -0500 debian/control0000664000000000000000000000403312316332507010575 0ustar Source: python-bcrypt Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Simon Fondrie-Teitler , Section: python Priority: extra Build-Depends: debhelper (>= 9), python-all, python-dev, python-setuptools, python3-all-dev, python3-setuptools Homepage: http://www.mindrot.org/projects/py-bcrypt/ Standards-Version: 3.9.4 Package: python-bcrypt Architecture: any Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: implementation of OpenBSD's Blowfish password hash algorithm - python 2.x py-bcrypt is a Python module implementating the OpenBSD Blowfish password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres: http://www.openbsd.org/papers/bcrypt-paper.ps . This module hashes passwords using a version of Bruce Schneier's Blowfish block cipher with modifications designed to raise the cost of off-line password cracking. The computation cost of the algorithm is parametrised, so it can be increased as computers get faster. . This package provides the py-bcript Python module for Python 2.x. Package: python3-bcrypt Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: implementation of OpenBSD's Blowfish password hash algorithm - python 3.x py-bcrypt is a Python module implementating the OpenBSD Blowfish password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres: http://www.openbsd.org/papers/bcrypt-paper.ps . This module hashes passwords using a version of Bruce Schneier's Blowfish block cipher with modifications designed to raise the cost of off-line password cracking. The computation cost of the algorithm is parametrised, so it can be increased as computers get faster. . This package provides the py-bcript Python module for Python 3.x. debian/rules0000775000000000000000000000110112221333507010237 0ustar #!/usr/bin/make -f PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) %: dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_clean: dh_clean -O--buildsystem=python_distutils rm -rf build py_bcrypt.egg-info override_dh_auto_install: set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-bcrypt; \ done set -e && for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-bcrypt; \ done debian/watch0000664000000000000000000000017512221333507010222 0ustar version=3 http://code.google.com/p/py-bcrypt/downloads/list .*/py-bcrypt-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/docs0000664000000000000000000000000712221333507010036 0ustar README debian/compat0000664000000000000000000000000212221333507010364 0ustar 9 debian/python-bcrypt.10000664000000000000000000000346712221333507012104 0ustar .TH PYTHON-BCRYPT 1 "December 22, 2007" .SH "NAME" python-bcrypt \- a module to implement OpenBSD's Blowfish password hash algorithm .PP This manual page was written for the \fBDebian\fP distribution because the original program does not have a manual page. .PP python-bcrypt is a Python module implementating the OpenBSD Blowfish password hashing algorithm, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres: http://www.openbsd.org/papers/bcrypt-paper.ps .PP 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. The computation cost of the algorithm is parametrised, so it can be increased as computers get faster. .PP A simple example demonstrates most of the features: import bcrypt # Hash a password for the first time .br hashed = bcrypt.hashpw(password, bcrypt.gensalt()) .br # gensalt's log_rounds parameter determines the complexity .br # the work factor is 2**log_rounds, and the default is 12 .br hashed = bcrypt.hashpw(password, bcrypt.gensalt(10)) # Check that an unencrypted password matches one that has .br # previously been hashed .br if bcrypt.hashpw(plaintext, hashed) == hashed: .br print "It matches" .br else: .br print "It does not match" .SH "AUTHOR" python-bcrypt was written by Damien Miller .PP This manual page was written by Kevin Coyner for the \fBDebian\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL.