792bcc
Summary:	Python bindings for OpenBSD's Blowfish password hashing code
792bcc
Name:		py-bcrypt
bbdab8
Version:	0.4
20ada0
Release:	21%{?dist}
792bcc
License:	BSD with advertising
b2fc98
URL:		http://code.google.com/p/py-bcrypt/
b2fc98
Source:		http://py-bcrypt.googlecode.com/files/py-bcrypt-%{version}.tar.gz
792bcc
daf8e1
BuildRequires:  python3-devel
38049b
BuildRequires:  gcc
792bcc
46989a
%global _description\
46989a
python-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing\
46989a
code, as described in "A Future-Adaptable Password Scheme" by Niels\
46989a
Provos and David Mazières.\
46989a
\
46989a
This system hashes passwords using a version of Bruce Schneier's Blowfish\
46989a
block cipher with modifications designed to raise the cost of off-line\
46989a
password cracking and frustrate fast hardware implementation. The\
46989a
computation cost of the algorithm is parametised, so it can be increased\
46989a
as computers get faster. The intent is to make a compromise of a password\
46989a
database less likely to result in an attacker gaining knowledge of the\
46989a
plain-text passwords (e.g. using John the Ripper).
46989a
46989a
%description %_description
46989a
bbdab8
%package -n python3-py-bcrypt
bbdab8
Summary:	Python 3 bindings for OpenBSD's Blowfish password hashing code
bbdab8
bbdab8
%description -n python3-py-bcrypt
bbdab8
python-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing
bbdab8
code, as described in "A Future-Adaptable Password Scheme" by Niels
bbdab8
Provos and David Mazières.
bbdab8
bbdab8
This system hashes passwords using a version of Bruce Schneier's Blowfish
bbdab8
block cipher with modifications designed to raise the cost of off-line
bbdab8
password cracking and frustrate fast hardware implementation. The
bbdab8
computation cost of the algorithm is parametised, so it can be increased
bbdab8
as computers get faster. The intent is to make a compromise of a password
bbdab8
database less likely to result in an attacker gaining knowledge of the
792bcc
plaintext passwords (e.g. using John the Ripper). 
792bcc
bbdab8
This package allows for use of py-bcrypt with Python 3.
bbdab8
bbdab8
792bcc
%prep
792bcc
%setup -q -n %{name}-%{version}
792bcc
792bcc
%build
23a0bd
%py3_build
792bcc
792bcc
%install
23a0bd
%py3_install
792bcc
bbdab8
%files -n python3-py-bcrypt
bbdab8
%doc LICENSE README TODO
bbdab8
%{python3_sitearch}/py_bcrypt-%{version}-py3.*
bbdab8
%{python3_sitearch}/bcrypt
792bcc
792bcc
%changelog
20ada0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-21
20ada0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
20ada0
dc13b8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-20
dc13b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dc13b8
daf8e1
* Thu Sep 13 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.4-19
daf8e1
- Drop Python 2 per BZ 1627390.
daf8e1
38049b
* Fri Jul 20 2018 Kevin Fenzi <kevin@scrye.com> - 0.4-18
38049b
- Fix FTBFS bug #1605532
38049b
99815d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-17
99815d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
99815d
6e5e9e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-16
6e5e9e
- Rebuilt for Python 3.7
6e5e9e
b5fb10
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-15
b5fb10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b5fb10
4d19a8
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-14
4d19a8
- Add Provides for the old name without %%_isa
4d19a8
46989a
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4-13
46989a
- Python 2 binary package renamed to python2-py-bcrypt
46989a
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
46989a
9cd2d7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-12
9cd2d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9cd2d7
a38879
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-11
a38879
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a38879
ddeef9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-10
ddeef9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ddeef9
39ff08
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4-9
39ff08
- Rebuild for Python 3.6
39ff08
fb0acb
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-8
fb0acb
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
fb0acb
c061a5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-7
c061a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c061a5
88924a
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-6
88924a
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
88924a
505015
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
505015
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
505015
78b415
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
78b415
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
78b415
efcbe0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
efcbe0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
efcbe0
fbb785
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.4-2
fbb785
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
fbb785
bbdab8
* Tue Nov 19 2013 Jon Ciesla <limburgher@gmail.com> - 0.4-1
bbdab8
- Latest upstream, added support for Python 3 and two new functions: bcrypt.checkpw() and bcrypt.kdf()
bbdab8
21c4aa
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
21c4aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
21c4aa
b2fc98
* Tue Mar 26 2013 Jon Ciesla <limburgher@gmail.com> - 0.3-1
b2fc98
- Latest upstream, fixes CVE-2013-1895: concurrency issue leading to auth bypass
b2fc98
f25ff0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-8
f25ff0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f25ff0
40af09
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-7
40af09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
40af09
538dce
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-6
538dce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
538dce
fe7b88
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
fe7b88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fe7b88
48277f
* Tue Aug 17 2010 david.r@ultracar.co.uk - 0.2-4
48277f
- Altered spec file to allow building across py2.6 and py2.7
48277f
792bcc
* Thu Aug 12 2010 dcr226@fedorapeople.org - 0.2-3
792bcc
- Rebuilt for python 2.7
792bcc
792bcc
* Wed Aug 11 2010 dcr226@fedoraproject.org - 0.2-2
792bcc
- packaged for Fedora
792bcc
792bcc
*Mon Jun 14 2010 djm@mindrot.org
792bcc
- (djm) Prefer setuptools for packaging. Based on patch from Niall
792bcc
   O'Higgins.
792bcc
- (djm) Release py-bcrypt-0.2
792bcc
792bcc
*Thu Oct 01 2009 djm@mindrot.org
792bcc
- (djm) Allow Python threads to run during (potentially lengthy) bcrypt
792bcc
   operation. Patch from vijay AT meebo-inc.com
792bcc
792bcc
*Tue Aug 08 2006 djm@mindrot.org
792bcc
- (djm) Add support for Win32
792bcc
792bcc
*Mon May 22 2006 djm@mindrot.org
792bcc
- (djm) Start