[tahoe-dev] Using allmydata.com production grid?

Ian Levesque ian at ephemeronindustries.com
Fri May 29 13:54:43 PDT 2009


You can access using the WAPI here:

http://webapi.allmydata.com:8123/

But you need your root cap, which you can get with this short ruby  
script:

#!/usr/bin/env ruby
require 'net/http'
require 'net/https'

def get_allmydata_root_uri(email, password)
   http = Net::HTTP.new("www.allmydata.com", 443)
   http.use_ssl = true
   http.verify_mode = OpenSSL::SSL::VERIFY_NONE # change this if  
you're concerned about MITM
   req = Net::HTTP::Post.new("/native_client.php")
   req.form_data = {'action'=>'authenticate', 'email'=>email, 'passwd'  
=> password, 'submit' => 'Login'}
   res = http.request(req)
   res.value
   if res.body != "0"
     res.body
   else
     nil
   end
end

puts get_allmydata_root_uri("EMAIL HERE", "PASSWORD HERE")

Good luck!

-Ian

On May 29, 2009, at 4:35 PM, David Abrahams wrote:

>
> Hi,
>
> I've signed up for a year of allmydata.com, but I can't for the life  
> of
> me figure out how to that storage with the tahoe client.  Google fails
> me.  Can anyone help?
>
> Thanks,
>
> -- 
> Dave Abrahams
> BoostPro Computing
> http://www.boostpro.com
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev



More information about the tahoe-dev mailing list