-
Notifications
You must be signed in to change notification settings - Fork 12
Home
CPM is the Console Password Management tool, which allows you to securely store passwords and other key=value pairs in an encrypted XML tree. A single CPM database can be securely used by several people at the same time, see multiuser CPM. CPM passwords can be revision controlled, see revision control.
CPM is adopted here since I've fixed some minor issues of bit rot.
Ubuntu 10.04 LTS 64bit users: install the _debian_ package cpm_0.25~beta-2debian3_amd64.deb See the downloads section for Debian packages at http://github.com/comotion/cpm/downloads
You need: a GPG key and 3 minutes of your time. Create the password database (only once):
me@mine:$ create-cpmdb
Use your GPG key to encrypt the database. This puts a .cpmdb file in your home folder.
Run CPM and add your passwords! Exit by hitting ESC to save the keys.
me@mine:$ cpm
For more info read http://kacper.blog.linpro.no/archives/135
Build dependencies apt-get install libcdk5 libcdk5-dev cracklib-runtime cracklib2 cracklib2-dev libdotconf1.0 libdotconf-dev libgpgme11 libgpgme11-dev libncurses5 libncurses5-dev zlib1g zlib1g-dev gettext
Build with: ./configure --with-crack-dict=/var/cache/cracklib/cracklib_dict make
Run with: chown root:root cpm chmod +s cpm ./cpm
Install with: make install
- Set up your password db:
- if you don't have one already
cp conf/cpmrc-default ~/.cpmrc cd share/cpm ./import.sh general passwordsafe/example.txt cp -i cpm_convert.db ~/.cpmdb
And you are ready to go!