summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py22
1 files changed, 17 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 61f9058..191d186 100755
--- a/setup.py
+++ b/setup.py
@@ -26,23 +26,35 @@ VERSION = "0.3"
if __name__ == '__main__':
bcrypt = Extension('bcrypt._bcrypt',
- sources = ['bcrypt/bcrypt_python.c', 'bcrypt/blowfish.c',
- 'bcrypt/bcrypt.c'])
+ sources = [
+ 'bcrypt/bcrypt.c',
+ 'bcrypt/bcrypt_pbkdf.c',
+ 'bcrypt/bcrypt_python.c',
+ 'bcrypt/blowfish.c',
+ 'bcrypt/sha2.c',
+ 'bcrypt/timingsafe_bcmp.c',
+ ],
+ )
setup( name = "py-bcrypt",
version = VERSION,
author = "Damien Miller",
author_email = "djm@mindrot.org",
- url = "http://www.mindrot.org/py-bcrypt.html",
- description = "Blowfish password hashing",
+ url = "https://code.google.com/p/py-bcrypt",
+ description = "bcrypt password hashing and key derivation",
long_description = """\
py-bcrypt is an implementation the OpenBSD Blowfish password hashing
algorithm, as described in "A Future-Adaptable Password Scheme" by
-Niels Provos and David Mazieres.
+Niels Provos and David Mazieres and related bcrypt-based key derivation
+function implemented in OpenBSD libutil.
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.
+
+Two interfaces are supported: a classic password hashing interface and
+a key derivation function (KDF) intended for generating cryptographic
+keys.
""",
license = "BSD",
packages = ['bcrypt'],