Package: kip
% KIP(1)
% Graham King
% 26 OCT 2012# NAMEkip - Keeps Internet Passwords. Command line script to keep usernames and passwords in gnupg encrypted text files.# SYNPOSISkip get|add|list|edit|del [filepart] [–username USERNAME] [–notes NOTES] [–prompt] [–print]# INSTALLMake sure you have a gnupg key pair:
[GnuPG HOWTO](https://help.ubuntu.com/community/GnuPrivacyGuardHowto).Latest release:sudo pip install kipLatest dev:1. Clone the repo:git clone https://github.com/grahamking/kip.git1. Install:sudo python3 setup.py installUbuntu: [PPA with ‘precise’ package](https://launchpad.net/~graham-king/+archive/ppa)Arch Linux: [kip package for Arch](https://aur.archlinux.org/packages.php?ID=62555).
Thanks [Pezz](https://github.com/pezz)!# COMMANDS## addkip add example.com –usename usernameWhat it does:Generates a random passwordWrites username and password to text file~/.kip/passwords/example.comEncrypts and signs it by runninggpg –encrypt –sign –armorCopies the new password to your clipboardAdd optional notes:kip add example.com –username username –notes “My notes”.
You can ask to be pompted for the password, instead of using a random one:kip add example.com –username username –prompt## getkip example.comWhat it does:Looks for~/.kip/passwords/*example.com*, decrypts it by runninggpg –decryptPrints your username in bold, and any notes your stored.Copies your password to the clipboard## listkip list “*.org”List contents of your password directory. [filepart] argument is a glob to filter the directory list. You can use ls too!## editkip edit example.com –username newuserChange the username inside a password file.  [filepart] is the file to edit, and –username sets a new username.## delkip del example.comDelete a password file. [filepart] is the file to delete. You can use rm too!## import_from_chromeImport passwords that Chrome stored in Gnome Keyring. This requires gnomekeyring (python lib) and python2.# DEPENDENCIESgnupg to encrypt password files, xclip (linux) or pbcopy (OSX) to copy password to clipboard, and python3 but you have that already.On Ubuntu / Debian:sudo apt-get install gnupg xclip# CONFIGURATIONIf you want to use different commands to encrypt / decrypt your files, want longer passwords, etc, you can.  Copykip.conffrom the repo to~/.kip/kip.conf, and customise it. It’s an INI file, using = or : as the delimiter. Make sure thehomepath does not end with a slash.# NOTES[GnuPG](http://www.gnupg.org/) is secure, open, multi-platform, and will probably be around forever. Can you say the same thing about the way you store your passwords currently?I was using the excellent [Keepass](http://en.wikipedia.org/wiki/KeePass) when I got concerned about it no longer being developed or supported. How would I get my passwords out? So I wrote this very simple wrapper for gnupg.If you live in the command line, I think you will findkipmakes your life a little bit better.# FILESThere’s 0 magic involved. Your accounts details are in text files, in your home directory. Each one is encrypted with your public key and signed with your private key. You can ditchkipat any time.Browse your files:ls ~/.kip/passwords/Display contents manually:gpg -d ~/.kip/passwords/facebook