You are not logged in.
Pages: 1
Topic closed
I don't really want to store my password for the AUR in plaintext within ~/.aurvote. Is there a way I could hash it for ~/.aurvote or something?
Last edited by synthead (2008-04-22 09:24:17)
Touch my kernel
Offline
bump
Touch my kernel
Offline
i dont think so....
Its a sick world we live in....
Offline
I don't really want to store my password for the AUR in plaintext within ~/.aurvote. Is there a way I could hash it for ~/.aurvote or something?
chmod 600 ~/.aurvote, move file to a truecrypt encrypted partition, then use gpg. security first ![]()
Offline
You could always patch aurvote.
Offline
I don't really want to store my password for the AUR in plaintext within ~/.aurvote. Is there a way I could hash it for ~/.aurvote or something?
If you hash it how would you go back to your key from the hash?
You could encrypt it, but then you would have to use a password to decode it runtime.
Being a bash script, you can easily patch aurvote for asking your password at runtime, I believe.
Just add something like
echo "Insert password"
read PASSwhen your .aurvote is sourced.
This way you'll have to enter your password everytime though.
Offline
You could create a separate file – say, ~/auracc – containing something like this:
user:yourUserName
pass:yourPasswordThis file could be made readable/writable only by root. Then your ~/.aurvote file could look like this:
user=$(sudo grep "user" ~/auracc | cut -d":" -f2)
pass=$(sudo grep "pass" ~/auracc | cut -d":" -f2)EDIT: Whoa... Oops! Looks like this thread was over a year old. I thought I saw "2009" where it said "2008". I guess I didn't look at the date long enough...
Last edited by EvilSnowball (2009-06-22 00:43:48)
Offline
I think the easiest thing is just make some random username and password you will never use for anything else, just for aurvote.
Problem solved. ![]()
I mean, seriously, if someone steals your aurvote credentials, what are they gunna do? Go around voting for everything? What a waste of time! ![]()
Offline
Someone can put some nasty lines into your PKGBUILDS.
Offline
edit: Nevermind, it's in ~/.config .
Last edited by misc (2010-06-29 21:37:20)
Offline
Yeah I know that is being a long time, but here's my solution:
I put this lines in the .config/aurvote file:
$ cat .config/aurvote
read -p 'Username: ' user
read -s -p 'Password: ' pass
echo
And it works flawlessly! But I think it should be directly in the aurvote code instead of asking you to make that dumb insecure file
Offline
I'm going to go ahead and close this. Whatever answers that could be given have already been given.
I've split the generic discussion on password storage into a new thread found here: https://bbs.archlinux.org/viewtopic.php?pid=976879
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed