[volunteergrid2-l] mod_proxy protected gateways -- common user file
Brad Rupp
bradrupp at gmail.com
Thu Feb 3 08:42:30 PST 2011
Excellent.
If you do have Apache installed, then the command is:
htdigest2 <path to password file> vg2 username
It will then prompt you for your password twice.
For example, I would use:
htdigest2 /home/brupp/tahoe_digest_passwd vg2 bradrupp at gmail.com
Some versions of Apache may use htdigest instead of htdigest2.
I will be working on documenting the gateway setup today on the Wiki.
We can add all of this there.
Thanks,
Brad
On 2/3/2011 9:21 AM, Jody Harris wrote:
> I found a simple way to generate your entry for the password file
> without requiring you to install apache2, or share your password with
> anyone else. :-)
>
> name=my_name; domain=vg2; password=my_password; echo
> "$name:$domain:`echo -n $name:$domain:$password|md5sum|sed 's/ -//'`"
>
> Replace my_name with the username you want to use.
>
> Replace my_password with your password
>
> vg2 is the domain, don't change that.
>
> For now, you can just email the output of that command to the list and
> Brad and I can drop them into our gateway password files.
>
> The output will looking something like this:
> jharris:vg2:c002e90c700c34621c46224b8de69ce8
>
> Since there are some concerns about attacks on MD5, I recommend that you
> not use your regular password here.
>
> We can work on automating this system.
>
> If you're not running a machine with a *nix shell, I'm not going to be
> able to help you out.
>
> jody
> ----
> - Think carefully.
>
>
> On Thu, Feb 3, 2011 at 6:45 AM, Shawn Willden <shawn at willden.org
> <mailto:shawn at willden.org>> wrote:
>
> On Wed, Feb 2, 2011 at 8:54 PM, Jody Harris <jharris at harrisdev.com
> <mailto:jharris at harrisdev.com>> wrote:
>
> I thought of that, too.... :-)
>
> Another thought:
> If each person could create their own entry in the user table,
> then each user's password would be always confidential.
>
> - Each user could publish their entry to a mutable file in
> the grid,
> - then supply the capability to the "gatekeeper."
> - The gatekeeper could add the information to the cronjob
> - The gatekeeper_cronjob would generate the central file.
>
>
> I like it!
> --
> Shawn
>
> _______________________________________________
> volunteergrid2-l mailing list
> volunteergrid2-l at tahoe-lafs.org <mailto:volunteergrid2-l at tahoe-lafs.org>
> http://tahoe-lafs.org/cgi-bin/mailman/listinfo/volunteergrid2-l
> http://bigpig.org/twiki/bin/view/Main/WebHome
>
>
>
>
> _______________________________________________
> volunteergrid2-l mailing list
> volunteergrid2-l at tahoe-lafs.org
> http://tahoe-lafs.org/cgi-bin/mailman/listinfo/volunteergrid2-l
> http://bigpig.org/twiki/bin/view/Main/WebHome
More information about the volunteergrid2-l
mailing list