App-bmkpasswd
view release on metacpan or search on metacpan
- Clean up an old check that is no longer relevant; have_sha() will now
do the Right Thing if Crypt::Passwd::XS is missing, so we don't need
to check if someone was stupidly futzing with package variables.
1.02 2012-06-08
- Typo/style cleanups
1.01 2012-06-08
- Try::Tiny rather than raw block eval, 'use strictures'
- Improved tests
1.00 2012-05-23
- Minor cleanups, 1.00
0.05 2012-04-07
- t/04_sha: mention Crypt::Passwd::XS if SHA is missing
"requires" : {
"Bytes::Random::Secure::Tiny" : "0",
"Carp" : "0",
"Crypt::Eksblowfish" : "0.003",
"Exporter::Tiny" : "0",
"Getopt::Long" : "2.24",
"IO::Handle" : "0",
"POSIX" : "0",
"Pod::Usage" : "1.51",
"Time::HiRes" : "0",
"Try::Tiny" : "0.12",
"strictures" : "2"
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
requires:
Bytes::Random::Secure::Tiny: '0'
Carp: '0'
Crypt::Eksblowfish: '0.003'
Exporter::Tiny: '0'
Getopt::Long: '2.24'
IO::Handle: '0'
POSIX: '0'
Pod::Usage: '1.51'
Time::HiRes: '0'
Try::Tiny: '0.12'
strictures: '2'
resources:
repository: git://github.com/avenj/app-bmkpasswd.git
version: '2.012002'
x_serialization_backend: 'YAML::Tiny version 1.69'
Makefile.PL view on Meta::CPAN
"PREREQ_PM" => {
"Bytes::Random::Secure::Tiny" => 0,
"Carp" => 0,
"Crypt::Eksblowfish" => "0.003",
"Exporter::Tiny" => 0,
"Getopt::Long" => "2.24",
"IO::Handle" => 0,
"POSIX" => 0,
"Pod::Usage" => "1.51",
"Time::HiRes" => 0,
"Try::Tiny" => "0.12",
"strictures" => 2
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::Cmd" => "1.09",
"Test::More" => "0.88"
},
"VERSION" => "2.012002",
"test" => {
Makefile.PL view on Meta::CPAN
"Exporter::Tiny" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Getopt::Long" => "2.24",
"IO::Handle" => 0,
"POSIX" => 0,
"Pod::Usage" => "1.51",
"Test::Cmd" => "1.09",
"Test::More" => "0.88",
"Time::HiRes" => 0,
"Try::Tiny" => "0.12",
"strictures" => 2
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
bin/bmkpasswd view on Meta::CPAN
BEGIN {
pop @INC if $INC[-1] eq '.';
}
use POSIX ();
use IO::Handle;
use App::bmkpasswd -all;
use Time::HiRes qw/ gettimeofday tv_interval /;
use Try::Tiny;
my $type = 'bcrypt';
my $bcost = 8;
my ($bench, $strong, $check);
use Pod::Usage;
use Getopt::Long;
GetOptions(
'benchmark!' => \$bench,
requires "Carp" => "0";
requires "Getopt::Long" => "2.24";
requires "IO::Handle" => "0";
requires "Pod::Usage" => "1.51";
requires "POSIX" => "0";
requires "Time::HiRes" => "0";
requires "Bytes::Random::Secure::Tiny" => "0";
requires "Crypt::Eksblowfish" => "0.003";
requires "Exporter::Tiny" => "0";
requires "Try::Tiny" => "0.12";
requires "strictures" => "2";
recommends "Crypt::Passwd::XS" => "0";
recommends "Crypt::Random::Seed" => "0";
recommends "Math::Random::ISAAC" => "0";
recommends "Math::Random::ISAAC::XS" => "0";
on 'test' => sub {
requires "Test::More" => "0.88";
requires "Test::Cmd" => "1.09";
lib/App/bmkpasswd.pm view on Meta::CPAN
package App::bmkpasswd;
$App::bmkpasswd::VERSION = '2.012002';
use strictures 2;
use Carp;
use Try::Tiny;
use Crypt::Eksblowfish::Bcrypt qw/
bcrypt
en_base64
/;
use parent 'Exporter::Tiny';
our @EXPORT = qw/
mkpasswd
passwdcmp
t/00-report-prereqs.dd view on Meta::CPAN
'requires' => {
'Bytes::Random::Secure::Tiny' => '0',
'Carp' => '0',
'Crypt::Eksblowfish' => '0.003',
'Exporter::Tiny' => '0',
'Getopt::Long' => '2.24',
'IO::Handle' => '0',
'POSIX' => '0',
'Pod::Usage' => '1.51',
'Time::HiRes' => '0',
'Try::Tiny' => '0.12',
'strictures' => '2'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
'requires' => {
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
( run in 0.690 second using v1.01-cache-2.11-cpan-05444aca049 )