summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-20 22:31:43 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-20 22:31:43 +0200
commit11492c5d7ece59a11b80db5f882fc3f5dabc7e87 (patch)
tree68947fd69fe8164cd2c6210120c716ad8db35610
parenta0210fe918ca6ff9be2a3543134e7265c6f317f2 (diff)
Release v0.510.51
-rw-r--r--Changelog16
-rwxr-xr-xbin/raps210
-rw-r--r--lib/App/Raps2.pm4
-rw-r--r--lib/App/Raps2/Password.pm4
-rw-r--r--lib/App/Raps2/UI.pm4
5 files changed, 27 insertions, 11 deletions
diff --git a/Changelog b/Changelog
index f965bbb..a71b51f 100644
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,20 @@
-git HEAD
+App::Raps2 0.51 - Wed Jul 20 2011
* Major usability improvements
+ * New dependency Config::Tiny
+ * New configuration file .config/raps2/defaults
+ * Add --cost option to set cost for raps2 add
+ * raps2 add: Use pwgen to create password if none is specified
+ * Add --no-echo, --paste and --pwgen-cmd options for raps2 add / pwgen
+
+ [App::Raps2]
+ * new: Add pwgen_cmd argument
+ * Add create_defaults, load_defaults, conf and generate_password methods
+ * pw_save: Add optional cost argument
+ * pw_load, pw_load_info: Now also return the key setup cost
+
+ [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
diff --git a/bin/raps2 b/bin/raps2
index 33bd0ff..2246f86 100755
--- a/bin/raps2
+++ b/bin/raps2
@@ -13,7 +13,7 @@ use Getopt::Long qw(:config no_ignore_case);
my ( $default_cost, $no_echo, $paste, $pwgen_cmd );
-our $VERSION = '0.50';
+our $VERSION = '0.51';
GetOptions(
'c|cost=i' => \$default_cost,
@@ -271,11 +271,11 @@ raps2 - "Right, Another Password Store" take two
=head1 SYNOPSIS
-B<raps2> I<action> I<args ...>
+B<raps2> [I<options>] I<action> [I<args ...>]
=head1 VERSION
-This manual documents B<raps2> version 0.50
+This manual documents B<raps2> version 0.51
=head1 DESCRIPTION
@@ -386,7 +386,7 @@ zero on success, non-zero otherwise.
raps2 saves the master password hash in F<~/.config/raps2/password>.
-The configuation (key setup cost and pwgen command) is stored in
+The configuration (key setup cost and pwgen command) is stored in
F<~/.config/raps2/defaults> in an INI-like format.
Additional encrypted passwords are stored in F<~/.local/share/raps2/>.
@@ -410,6 +410,8 @@ B<XDG_DATA_HOME> environment variables.
=item * File::Slurp
+=item * pwgen (if you want C<< raps2 add >> to generate passwords)
+
=item * xclip (for C<< raps2 get >>)
=back
diff --git a/lib/App/Raps2.pm b/lib/App/Raps2.pm
index dd00e54..1d18d79 100644
--- a/lib/App/Raps2.pm
+++ b/lib/App/Raps2.pm
@@ -12,7 +12,7 @@ use File::BaseDir qw(config_home data_home);
use File::Path qw(make_path);
use File::Slurp qw(slurp write_file);
-our $VERSION = '0.50';
+our $VERSION = '0.51';
sub new {
my ( $class, %opt ) = @_;
@@ -299,7 +299,7 @@ B<App::Raps2> is the backend for B<raps2>, a simple commandline password safe.
=head1 VERSION
-This manual documents App::Raps2 version 0.50
+This manual documents App::Raps2 version 0.51
=head1 METHODS
diff --git a/lib/App/Raps2/Password.pm b/lib/App/Raps2/Password.pm
index fb73255..6b5be02 100644
--- a/lib/App/Raps2/Password.pm
+++ b/lib/App/Raps2/Password.pm
@@ -9,7 +9,7 @@ use Crypt::CBC;
use Crypt::Eksblowfish;
use Crypt::Eksblowfish::Bcrypt qw(bcrypt_hash en_base64 de_base64);
-our $VERSION = '0.50';
+our $VERSION = '0.51';
sub new {
my ( $obj, %conf ) = @_;
@@ -135,7 +135,7 @@ App::Raps2::Password - Password class for App::Raps2
=head1 VERSION
-This manual documents B<App::Raps2::Password> version 0.50
+This manual documents B<App::Raps2::Password> version 0.51
=head1 DESCRIPTION
diff --git a/lib/App/Raps2/UI.pm b/lib/App/Raps2/UI.pm
index 2392ec6..c8b34c0 100644
--- a/lib/App/Raps2/UI.pm
+++ b/lib/App/Raps2/UI.pm
@@ -8,7 +8,7 @@ use Carp qw(cluck confess);
use POSIX;
use Term::ReadLine;
-our $VERSION = '0.50';
+our $VERSION = '0.51';
sub new {
my ($obj) = @_;
@@ -132,7 +132,7 @@ App::Raps2::UI - App::Raps2 User Interface
=head1 VERSION
-This manual documents B<App::Raps2::UI> version 0.50
+This manual documents B<App::Raps2::UI> version 0.51
=head1 DESCRIPTION