Pass password manager

https://files.dyne.org/tomb/
cd Downloads
tar xvfz Tomb-2.4.tar.gz
cd Tomb-2.4
sudo make install
sudo apt-get install cryptsetup zsh

git clone https://github.com/roddhjav/pass-tomb/
cd pass-tomb
sudo make install

  • Tomb commands
    sudo tomb dig -s 10 mytomb
    sudo tomb forge mytomb.key
    sudo tomb lock mytomb -k mytomb.key

sudo tomb -f lock mytomb -k mytomb.key
sudo tomb -f open mytomb -k mytomb.key

tomb close
tomb slam all

tomb is found at /media/mytomb

~/.bashrc

export PASSWORD_STORE_GENERATED_LENGTH=16
export PASSWORD_STORE_DIR=/home/mbc/syncd/.password-store
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
export PASSWORD_STORE_TOMB_FILE=/home/mbc/syncd/.password.tomb
export PASSWORD_STORE_TOMB_KEY=/home/mbc/syncd/.password.key.tomb

Other

When you see “-bash: ‘\r’: command not found” run dos2unix on the file.
caution s dos2unix modifies in place

Usage

  • Start with annotation; also use this if the password already exists, it will not modify first line, or leaves first line blank if it already exists
    pass insert -m twitter

  • Add password; -i will not overwrite annotation
    pass generate -n -i mbc/twitter 16

  • View
    pass show twitter
    pass show -c

  • Find
    pass find .com

  • Edit
    pass edit mbc/twitter

By convention leave all file names lower case

To make nano the default editor (useful for pass edit):

sudo update-alternatives –config editor

When presented with the editor list choose /bin/nano (“1”)

Share