Complete Password Manager

Author

Kacper Wysocki

Contact

kwy@redpill-linpro.com

Date

May 13th, 2014

✩Me?

Intro to CPM

CPM

img/bruce.jpg

Quick Start

apt-get install cpm
create-cpmdb
cpm

https://github.com/comotion/cpm/wiki

Overview

CPM

img/passwordPostIt.jpg

Why CPM?

Why not X?

Why CPM? cont'd

How?

img/engine.jpg

The how

The how

img/notbutter.jpg

HOWTO Be A Maintainer

HOWTO package

img/lolbunny.jpg

The how

The how

The how

img/pat.jpg

The how, cont'd more so

gpg --decrypt ~/.cpmdb | gunzip | xmlindent

features

"features"

img/destruction.jpg

"features"

Getting it

http://github.com/comotion/cpm/downloads

Installation, deb

apt-get install cpm
create-cpmdb
cpm

Side note: GPG basics!

Setting it up

me@mine:~$ create-cpmdb

Using it

me@mine:~$ cpm

CPM from the commandline

me@mine:~$ cpm minid

Fun Stuff™

img/bike.jpg

Fun Stuff™

gpg-agent

Configuration file

Arguments arent all: cpmrc

Configuration file

PasswordLength 10
PasswordAlphabet "abc.."
TemplateName "category"
SearchPattern

Data import

echo "host comment service c2 user c3 passwd c4;" |
/usr/share/cpm/import.sh

Multiuser

Multiuser cont'd

distributed CPM with git

distributed CPM with git

mkdir garbage_file
cd garbage_file
git init
cpm -f cpmdb
git add cpmdb
git commit -m 'initial'
git remote add garbage me@mine:garbage -m master -t master
git push

distributed CPM with git

cat > garbage << EOF
 #!/bin/sh
 cd ~/docs/passwords
 git pull
 /usr/bin/cpm -f cpmdb -c cpmrc $@
 if [ -z "`git diff --name-only`" ]
 then
    echo "No change"
 else
    git commit -am 'moar'
    git push
 fi
EOF

Multiuser CPM with git, cont'd

http://github.com/comotion/cpm/wiki/multiuser-CPM

Future features

Questions?

=> http://github.com/comotion/cpm/issues

Thanks!

Bruce

img/brucesmilee.jpg

★ my projects on github

https://github.com/comotion