package WWW::KeePassRest;
use 5.006;
use strict;
use warnings FATAL => 'all';
use WWW::JSONAPI;
use File::ShareDir;
use Carp;
=head1 NAME
WWW::KeePassRest - use KeePass for secure local
rest>
KeePassRest exposes a minimal API on localhost:12984, secured by SSL and accessed with a JSON API.
You can't do everything with it (you can't generate passwords, work with groups of entries,
$cert_file" unless -e $key_file;
my $port = $opts{port} || 12984;
$self->{json} = WWW::JSONAPI->new(cert_file => $cert_file,
key_file => $key_f