App-KeePass2
view release on metacpan or search on metacpan
lib/App/KeePass2.pm view on Meta::CPAN
sub run {
my ($self) = @_;
$self->_create, return if ( $self->create );
$self->_list_groups, return if ( $self->list_groups );
$self->_dump_groups, return if ( $self->dump_groups );
return;
}
sub _get_master_key {
my ($self) = @_;
return "" . prompt( "Master Password : ", -e => "*", -tty );
}
sub _get_confirm_key {
my ($self) = @_;
return "" . prompt( "Confirm Password : ", -e => "*", -tty );
}
sub _create {
my ($self) = @_;
croak "The file already exists !" if -f $self->file;
$self->_fkp->clear;
my $root = $self->_fkp->add_group(
{ title => 'My Passwords',
icon => $self->get_icon_id_from_key('key')
}
( run in 0.751 second using v1.01-cache-2.11-cpan-6aa56a78535 )