KeePass Command Line Interface (CLI) / interactive shell.

Use kpcli to access and manage your KeePass databases from a Unix-like command line.

It supports all version 1.x (*.kdb) and 2.x (*.kdbx) prior to the KDBX 4.0 update.

Features

  • KeePass
  • cli
  • command line
  • password management

Project Samples

Project Activity

See All Activity >

License

Artistic License

Follow kpcli

kpcli Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
3
0
1
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Great idea, and it used to work, but unfortunately it doesn't work. I get: Can't load '/home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/auto/Cwd/Cwd.so' for module Cwd: /home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/auto/Cwd/Cwd.so: undefined symbol: PL_stack_sp at /usr/lib/x86_64-linux-gnu/perl-base/XSLoader.pm line 93. at /home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/Cwd.pm line 82. Compilation failed in require at /data/Downloads/kpcli-4.0.pl line 108. BEGIN failed--compilation aborted at /data/Downloads/kpcli-4.0.pl line 108 (#1) (F) The module you tried to load failed to load a dynamic extension. This may either mean that you upgraded your version of perl to one that is incompatible with your old dynamic extensions (which is known to happen between major versions of perl), or (more likely) that your dynamic extension was built against an older version of the library that is installed on your system. You may need to rebuild your old dynamic extensions. Uncaught exception from user code: Can't load '/home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/auto/Cwd/Cwd.so' for module Cwd: /home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/auto/Cwd/Cwd.so: undefined symbol: PL_stack_sp at /usr/lib/x86_64-linux-gnu/perl-base/XSLoader.pm line 93. at /home/pp/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/Cwd.pm line 82. Compilation failed in require at /data/Downloads/kpcli-4.0.pl line 108. BEGIN failed--compilation aborted at /data/Downloads/kpcli-4.0.pl line 108.
  • It doesn't support newer kbdx file formats. See the issue 46 and the README to see "Version 4 of the KDBX file format is unsupported"
    Reply from kpcli
    Edited 2022-03-19
    kpcli will support version 4 of the KDBX file format if and when the Perl module File::KeePass does. Contributions to make that so are very welcomed. ⬤ The documentation also clearly describes this and describes how to work around it: "KeePass 2.35 introduced version 4 of the KDBX file format (KDBXv4) and it is unsupported by File::KeePass. File::KeePass can only decrypt databases encrypted with AES and newer KeePass versions offer ChaCha20, which will also save the file as KDBXv4. You can use the File -> Database Settings -> Security tab to change the encryption algorithm to AES/Rijndael and, as of KeePass 2.46, kpcli will be able to operate on the files." ⬤ Given all of the capability that kpcli provides, it seems seems disingenuous for you to give it a 1-star rating due to it missing one feature that you desire.
  • fast, simple easy to handle and flexible.
  • I use this all the time - being able to ssh in remotely to my server and access keepass is just great.
  • Much easier installation than full keypass gui app. Very lightweight. Article entitled "How To Use kpcli To Manage KeePass2 Password Files on an Ubuntu 14.04 Server" helped me get going. Can't attach URLs so you'll have to search for it
    Reply from kpcli
    Posted 2020-06-13
    https://www.digitalocean.com/community/tutorials/how-to-use-kpcli-to-manage-keepass2-password-files-on-an-ubuntu-14-04-server
Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Advanced End Users, System Administrators, Security Professionals

User Interface

Console/Terminal, Command-line

Programming Language

Perl

Database Environment

Other file-based DBMS

Related Categories

Perl Password Managers

Registered

2010-11-28