2009-03-19 10:57:09 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Crypt-GeneratePassword
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Crypt-GeneratePassword
|
|
|
|
%define real_name Crypt-GeneratePassword
|
|
|
|
Summary: GeneratePassword - generate secure random pronounceable passwords
|
|
|
|
Url: http://search.cpan.org/perldoc?Crypt::GeneratePassword
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
Version: 0.03
|
|
|
|
Release: 1
|
|
|
|
Vendor: openSUSE-Education
|
|
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-19 08:45:42 +00:00
|
|
|
BuildRequires: perl
|
2009-03-19 10:57:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Crypt::GeneratePassword generates random passwords that are (more or less)
|
|
|
|
pronounceable. Unlike Crypt::RandPasswd, it doesn't use the FIPS-181 NIST
|
|
|
|
standard, which is proven to be insecure. It does use a similar interface, so
|
|
|
|
it should be a drop-in replacement in most cases.
|
|
|
|
|
|
|
|
If you want to use passwords from a different language than english, you can
|
|
|
|
use one of the packaged alternate unit tables or generate your own. See below
|
|
|
|
for details.
|
|
|
|
|
|
|
|
For details on why FIPS-181 is insecure and why the solution used in this
|
|
|
|
module is reasonably secure, see "A New Attack on Random Pronounceable Password
|
|
|
|
Generators" by Ravi Ganesan and Chris Davies, available online in may places -
|
|
|
|
use your favourite search engine.
|
|
|
|
|
|
|
|
This module improves on FIPS-181 using a true random selection with the word
|
|
|
|
generator as mere filter. Other improvements are better pronounceability using
|
|
|
|
third order approximation instead of second order and multi-language support.
|
|
|
|
Drawback of this method is that it is usually slower. Then again, computer
|
|
|
|
speed has improved a little since 1977.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
Jörg Walter <jwalt@cpan.org>
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes README MANIFEST
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%dir %{perl_vendorarch}/auto/Crypt
|
|
|
|
%dir %{perl_vendorarch}/auto/Crypt/GeneratePassword
|
|
|
|
%dir %{perl_vendorlib}/Crypt
|
|
|
|
%dir %{perl_vendorlib}/Crypt/GeneratePassword
|
|
|
|
%{perl_vendorlib}/Crypt/*.pm
|
|
|
|
%{perl_vendorlib}/Crypt/GeneratePassword/*.pm
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|