Thread
:
Requesting: Passwordmaker
View Single Post
lidow
2011-04-20 , 10:26
Posts: 151 | Thanked: 93 times | Joined on Sep 2009 @ sofia, bulgaria
#
21
HI all,
thanks caco3 for this application. I manage all my passwords with password maker.
Currently only CLI variant is usable for me and I did some wrapper/helper script around it, so it is easy to use.
I want to share it, as someone could use it or you could implement this functionality in the passwordmaker itself:
1) I transfer my account data from Firefox password maker to my N900 and place it under /etc/passwordmaker.cfg
2) I edit the file so I have one level structure for all my accounts, and put more friendly names for the accounts (less typing).
3) I create pm shell script that puts some defaults for me and call passwordmaker with proper params. It also put the password into the clipboard, so I don't have to copy it from xterm, I just paste it, usually in the browser.
Here is the wrapper script:
cat /usr/bin/pm
#!/bin/sh
URL=${1:-ovi}
ACCOUNT=${2:-d}
case $URL in
as) ACCOUNT=as; URL=google.com ;;
m4l) ACCOUNT=m4l; URL=google.com ;;
ovi) ACCOUNT=ovi; URL=nokia.com ;;
esac
echo -e "Master Password: \c"
passwordmaker -f /etc/passwordmaker.cfg --account $ACCOUNT --url $URL 2>/dev/null | grep -v "Master Password:"| xclip -selectio clip
xclip -selectio clip -o
Quote & Reply
|
The Following 2 Users Say Thank You to lidow For This Useful Post:
danielpublic
,
Wikiwide
lidow
View Public Profile
Send a private message to lidow
Find all posts by lidow