App-Raps2

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

#!/usr/bin/env perl

use strict;
use warnings;
use Module::Build;

my $build = Module::Build->new(
	build_requires => {
		'Test::Compile' => 0,
		'Test::Fatal' => 0,
		'Test::More' => 0,
		'Test::Pod' => 0,
	},
	license => 'unrestricted',
	module_name => 'App::Raps2',
	requires => {
		'perl' => '5.10.0',
		'Carp' => 0,
		'Config::Tiny' => 0,
		'Crypt::CBC' => 0,

Changelog  view on Meta::CPAN

    [App::Raps2::Password]
    * encrypt, decrypt: Now take hash as argument, keys are data/salt/cost

    [App::Raps2::UI]
    * to_clipboard: Return undef if xclip dosn't run, true otherwise

App::Raps2 0.50 - Fri Jul 08 2011

    * Switch to perl version scheme
    * Remove Test::MockObject dependency
    * Declare Test::Fatal dependency

    [App::Raps2]
    * Move cmd_* functions into raps2
    * Rename pw_add t pw_save
    * Rename pw_get to pw_load
    * pw_load now also returns the salt
    * file_to_hash now returns a hashref instead of a hash
    * Allow password to be passed as argument to get_master_password
    * Add pw_load_info method
    * The 'salt' argument to pw_add is now optional

META.json  view on Meta::CPAN

   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "App-Raps2",
   "prereqs" : {
      "build" : {
         "requires" : {
            "Test::Compile" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "Test::Pod" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "Module::Build" : "0.42"
         }
      },
      "runtime" : {

META.yml  view on Meta::CPAN

---
abstract: 'A Password safe'
author:
  - 'Copyright (C) 2011-2015 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>'
build_requires:
  Test::Compile: '0'
  Test::Fatal: '0'
  Test::More: '0'
  Test::Pod: '0'
configure_requires:
  Module::Build: '0.42'
dynamic_config: 1
generated_by: 'Module::Build version 0.4214, CPAN::Meta::Converter version 2.150005'
license: unrestricted
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

README  view on Meta::CPAN

$ perl Build
$ sudo perl Build install

You can then run 'man raps2' for more information.

Testing
-------

$ perl Build test

Note that this will require the Test::More, Test::Fatal, Test::Compile and
Test::Pod modules.

t/20-app-raps2-password.t  view on Meta::CPAN

#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;

use Test::More tests => 17;
use Test::Fatal;

my $pw;
my $salt = 'abcdefghijklmnop';
my $pass = 'something';

use_ok('App::Raps2::Password');

like(
	exception {
		App::Raps2::Password->new();



( run in 1.627 second using v1.01-cache-2.11-cpan-54e63673c56 )