[Python-modules-commits] r4024 - in packages/python-bcrypt/trunk (11 files)

kcoyner at users.alioth.debian.org kcoyner at users.alioth.debian.org
Sat Dec 22 20:52:18 UTC 2007


    Date: Saturday, December 22, 2007 @ 20:52:17
  Author: kcoyner
Revision: 4024

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-bcrypt/trunk/debian/
  packages/python-bcrypt/trunk/debian/changelog
  packages/python-bcrypt/trunk/debian/compat
  packages/python-bcrypt/trunk/debian/control
  packages/python-bcrypt/trunk/debian/copyright
  packages/python-bcrypt/trunk/debian/docs
  packages/python-bcrypt/trunk/debian/manpages
  packages/python-bcrypt/trunk/debian/pycompat
  packages/python-bcrypt/trunk/debian/python-bcrypt.1
  packages/python-bcrypt/trunk/debian/rules
  packages/python-bcrypt/trunk/debian/watch


Property changes on: packages/python-bcrypt/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/python-bcrypt/trunk/debian/changelog
===================================================================
--- packages/python-bcrypt/trunk/debian/changelog	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/changelog	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,6 @@
+python-bcrypt (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #454627)
+  * Added man page.
+
+ -- Kevin Coyner <kcoyner at debian.org>  Sat, 22 Dec 2007 13:45:05 -0500

Added: packages/python-bcrypt/trunk/debian/compat
===================================================================
--- packages/python-bcrypt/trunk/debian/compat	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/compat	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1 @@
+5

Added: packages/python-bcrypt/trunk/debian/control
===================================================================
--- packages/python-bcrypt/trunk/debian/control	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/control	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,25 @@
+Source: python-bcrypt
+Section: python
+Priority: extra
+Maintainer: Kevin Coyner <kcoyner at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: cdbs (>=0.4.43), debhelper (>= 5), python-all-dev, python-support (>= 0.6)
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-bcrypt/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-bcrypt/?op=log
+Homepage: http://www.mindrot.org/projects/py-bcrypt/
+Standards-Version: 3.7.3
+
+Package: python-bcrypt
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Description: implementation of OpenBSD's Blowfish password hash algorithm
+ 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 parametised, so
+ it can be increased as computers get faster.

Added: packages/python-bcrypt/trunk/debian/copyright
===================================================================
--- packages/python-bcrypt/trunk/debian/copyright	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/copyright	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,67 @@
+This package was debianized by Kevin Coyner <kcoyner at debian.org> on
+Sat, 22 Dec 2007 13:45:05 -0500.
+
+It was downloaded from http://www.mindrot.org/projects/py-bcrypt/
+
+The Python binding code is subject to this license:
+
+Upstream Author: Damien Miller <djm at mindrot.org>
+
+Copyright: (c) 2006 Damien Miller
+
+License:
+
+    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.
+
+The underlying blowfish code is derived from OpenBSD libc and is
+subject to the following license:
+
+Upstream Author: Niels Provos <provos at physnet.uni-hamburg.de>
+
+Copyright: (c) 1997 Niels Provos
+
+Implementation advice: David Mazieres <dm at lcs.mit.edu>
+
+License:
+
+    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. All advertising materials mentioning features or use of this software
+    must display the following acknowledgement: This product includes software
+    developed by Niels Provos.
+
+    4. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+The Debian packaging is (C) 2007, Kevin Coyner <kcoyner at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/python-bcrypt/trunk/debian/docs
===================================================================
--- packages/python-bcrypt/trunk/debian/docs	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/docs	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1 @@
+README

Added: packages/python-bcrypt/trunk/debian/manpages
===================================================================
--- packages/python-bcrypt/trunk/debian/manpages	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/manpages	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1 @@
+debian/python-bcrypt.1

Added: packages/python-bcrypt/trunk/debian/pycompat
===================================================================
--- packages/python-bcrypt/trunk/debian/pycompat	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/pycompat	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1 @@
+2

Added: packages/python-bcrypt/trunk/debian/python-bcrypt.1
===================================================================
--- packages/python-bcrypt/trunk/debian/python-bcrypt.1	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/python-bcrypt.1	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,54 @@
+.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 parametised, 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 <djm at mindrot.org>
+.PP
+This manual page was written by Kevin Coyner <kcoyner at debian.org> 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.

Added: packages/python-bcrypt/trunk/debian/rules
===================================================================
--- packages/python-bcrypt/trunk/debian/rules	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/rules	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk


Property changes on: packages/python-bcrypt/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-bcrypt/trunk/debian/watch
===================================================================
--- packages/python-bcrypt/trunk/debian/watch	                        (rev 0)
+++ packages/python-bcrypt/trunk/debian/watch	2007-12-22 20:52:17 UTC (rev 4024)
@@ -0,0 +1,2 @@
+version=3
+http://www.mindrot.org/files/py-bcrypt/py-bcrypt-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list