summaryrefslogtreecommitdiff
path: root/bin/raps2
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-20 18:49:06 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-20 18:49:06 +0200
commitf5ebcadaae26ef13e4bdd47af63cb6056a43e25d (patch)
tree006aec8eeefdb1388a5491a2455bccb1eb2b39c2 /bin/raps2
parent6d23a4563756e9129bd4741787954ffa6d7ee22e (diff)
Add a proper config file (raps2/defaults, Config::Tiny)
Diffstat (limited to 'bin/raps2')
-rwxr-xr-xbin/raps22
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/raps2 b/bin/raps2
index e3c78b0..02d0bf0 100755
--- a/bin/raps2
+++ b/bin/raps2
@@ -116,6 +116,7 @@ sub cmd_edit {
my $key = $raps2->pw_load( file => $pwfile );
my $salt = $key->{salt};
+ my $cost = $key->{cost};
my $url = $raps2->ui->read_line( 'URL', $key->{url} );
my $login = $raps2->ui->read_line( 'Login', $key->{login} );
my $pass = $key->{password};
@@ -129,6 +130,7 @@ sub cmd_edit {
$raps2->pw_save(
file => $pwfile,
salt => $salt,
+ cost => $cost,
url => $url,
login => $login,
password => $pass,