Search This Blog

Thursday, October 9, 2014

Installing KPCLI on OS X

keepasscli (kpcli) setup

Notes on installing and configuring keepasscli (a.k.a. kpcli) on OS X 10.9 (Mavericks) and 10.10 (Yosemite)

date: May 2014

First, download kpcli.
Once downloaded, put it in its final location (e.g. ~/):

mv ~/Downloads/kpcli-2.5.pl ~/)

Make it executable:

chmod u+x kpcli-2.5.pl

Install perl dependencies via cpan

sudo cpan Crypt::Rijndael
sudo cpan Sort::Naturally
sudo cpan Term::ShellUI
sudo cpan File::KeePass

In theory that should be it, but there’s a problem with Term::readline. To fix it follow the instructions here

UPDATE

For the Term::ReadLine::Gnu the previous link didn’t work for me when updating to OS X 10.10. Instead I followed these instructions

Other dependencies

To be able to copy to the clipboard inside kpcli (e.g. xu or xp), you will also need to install these

sudo cpan Clipboard
sudo cpan Capture::Tiny

Finally, you can make an alias to kpcli including the DB location for fast access. Add the following line to ~/.bash_profile

alias kp="/Users/myuser/kpcli-2.5.pl -kdb='/Users/myuser/mydb.kdbx'"

8 comments:

  1. By reading this article I get a lot of lessons and this is very useful . cara menggugurkan kandungan

    ReplyDelete
  2. تعد شركات التنظيف منتشرة في منطقة الخليج بشكل خاص كما أنها منتشره في كل مكان بالعالم , ولكن اليوم نقدم لكم شركة السباق المثالي للخدمات المنزلية , تعد من الشركات الرائدة في مجالات التنظيف وخدمات النمافكة الحشرات وصيانة المكيفات بالمملكة العربية السعودية ومنطقة جازان بشكل خاص وإليكم بعض من خدمات الشركة ويمكنم التواصل من خلالها
    شركة تنظيف بجازان شركة السباق المثالي

    شركة تنظيف بجازان تنظيف المنازل , والكنب , والموكيت والسجاد والفرش , وتنظيف الفلل , وتنظيف الأرضيات , التعقيم المسمتر , لذلك وجب عليك الإستعانة بشركة متخصصة في خدمات التنظيف ودائماً ما نشرح لكم شركة السباق المثالي
    واليكم بعض من خدماتها الأخرى في مدينة جازان

    1. شركة غسيل وصيانة مكيفات بجازان

    2. شركة تنظيف مكيفات باطوال

    3. شركة تنظيف مكيفات بأحد مسارحة

    4. شركة تنظيف مكيفات بصبيا

    5. شركة تنظيف مكيفات بابو عريش

    6. شركة مكافحة حشرات بجازان

    7. شركة تنظيف خزانات بجازان شركة السباق المثالي

    8. شركة عزل اسطح بجازان

    ReplyDelete