hi, kpcli upstream finally released 4.0 which supports 'recent' 4.x keepass database format, cf https://keepass.info/help/kb/kdbx_4.html
feedback welcome Landry
Index: Makefile =================================================================== RCS file: /cvs/ports/security/kpcli/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 27 Sep 2023 16:34:32 -0000 1.17 +++ Makefile 15 Nov 2023 12:36:32 -0000 @@ -1,6 +1,6 @@ COMMENT = cli browser for keepassx databases -DISTNAME = kpcli-3.8.1 +DISTNAME = kpcli-4.0 CATEGORIES = security EXTRACT_SUFX = .pl EXTRACT_ONLY = @@ -21,6 +21,7 @@ p5-Term-ReadLine-Perl-*|p5-Term-ReadLine-Gnu-*:devel/p5-Term-ReadLine-Gnu \ devel/p5-Sort-Naturally \ textproc/p5-Data-Password \ + textproc/p5-File-KDBX \ textproc/p5-File-KeePass do-install: Index: distinfo =================================================================== RCS file: /cvs/ports/security/kpcli/distinfo,v retrieving revision 1.8 diff -u -r1.8 distinfo --- distinfo 6 Sep 2022 08:55:52 -0000 1.8 +++ distinfo 15 Nov 2023 12:36:32 -0000 @@ -1,2 +1,2 @@ -SHA256 (kpcli-3.8.1.pl) = bIT4Y5JFeZv5stXOKXxBtdTsB4n39fqeh2dVaBbqRyw= -SIZE (kpcli-3.8.1.pl) = 263292 +SHA256 (kpcli-4.0.pl) = UYnX2tad3Jg00kdX5WHStI6u2pyts+SZlgj/jv4o/TU= +SIZE (kpcli-4.0.pl) = 325885 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/security/kpcli/pkg/DESCR,v retrieving revision 1.2 diff -u -r1.2 DESCR --- pkg/DESCR 17 Sep 2020 08:57:55 -0000 1.2 +++ pkg/DESCR 15 Nov 2023 12:36:32 -0000 @@ -1,5 +1,5 @@ A command line interface (interactive shell) to work with KeePass -1.x or 2.x database files. +1.x, 2.x or 4.x database files. To use the X11 clipboard features, install the p5-Clipboard and p5-Capture-Tiny extra packages.