App-KeePass2
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
App::KeePass2 - KeePass2 commandline tools
# VERSION
version 0.04
# ATTRIBUTES
## file
The password file
## create
Create the keepass2 file
## dump\_groups
Dump the content of the groups
## list\_groups
lib/App/KeePass2.pm view on Meta::CPAN
);
$self->_fkp->add_group(
{ title => 'Bank',
group => $gid,
icon => $self->get_icon_id_from_key('dollar')
}
);
$self->_fkp->unlock if $self->_fkp->is_locked;
my $master = $self->_get_master_key;
my $confirm = $self->_get_confirm_key;
croak "Your master password is different from the confirm password !"
if $master ne $confirm;
$self->_fkp->save_db( $self->file, $master );
return;
}
sub _dump_groups {
my ($self) = @_;
$self->_fkp->load_db( $self->file, $self->_get_master_key );
p( $self->_fkp->groups );
return;
lib/App/KeePass2.pm view on Meta::CPAN
App::KeePass2 - KeePass2 commandline tools
=head1 VERSION
version 0.04
=head1 ATTRIBUTES
=head2 file
The password file
=head2 create
Create the keepass2 file
=head2 dump_groups
Dump the content of the groups
=head2 list_groups
( run in 0.859 second using v1.01-cache-2.11-cpan-49f99fa48dc )