I'll tell you what I do, first off I have an encfs volume in my dropbox (which is not needed but an extra layer of security is always nice...
I keep an gpg encrypted text file in this encfs volume, lets call it myPasswords.txt.gpg for arguments sake here....
And I have thi script in my bin folder
==viewPass==
Code:
#!/bin/bash
#for multiple search critera
if [ "$2" == "" ]; then
gpg --decrypt --no-use-agent $HOME/EncDropbox/myPasswords.txt.gpg | egrep -i "*$1*"; sleep 30s; cat /dev/null | xsel -psb; reset;. ~/.bashrc
else
gpg --decrypt --no-use-agent $HOME/EncDropbox/myPasswords.txt.gpg | egrep -i "*$1*" | egrep -i "*$2*"; sleep 30s; cat /dev/null | xsel -psb; reset;. ~/.bashrc
fi
this way no matter what machine I am on, if I need to know m pssword for Ubuntu forums.... I just open a terminal and type in
Code:
viewPass ubuntu forums
and it then prompts me to unlock my gpg key, afterwish it spits out my password and then after 30 seconds clears the terminal and wipes the clipboa...
This way I can have ridiculously long passwords with zero hassle and not having to rely on anyone elses security practices..... or lack thereof for my passwods...
and since it is inside an encfs volume if I want to decrypt the whole document to add passwords.... I can.... safetly
Bookmarks