Commit 9e73c86b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Send my keys across when creating the sliver.

parent 32e7be39
...@@ -126,6 +126,18 @@ mycredential = response["value"] ...@@ -126,6 +126,18 @@ mycredential = response["value"]
print "Got my SA credential" print "Got my SA credential"
#print str(mycredential); #print str(mycredential);
#
# Lookup my ssh keys.
#
params = {}
params["credential"] = mycredential
rval,response = do_method("sa", "GetKeys", params)
if rval:
Fatal("Could not get my keys")
pass
mykeys = response["value"]
#print str(mykeys);
# #
# Lookup slice. # Lookup slice.
# #
...@@ -197,6 +209,7 @@ print "Got a ticket from the CM. Redeeming the ticket ..." ...@@ -197,6 +209,7 @@ print "Got a ticket from the CM. Redeeming the ticket ..."
# #
params = {} params = {}
params["ticket"] = ticket params["ticket"] = ticket
params["keys"] = mykeys
params["impotent"] = impotent params["impotent"] = impotent
rval,response = do_method("cm", "RedeemTicket", params) rval,response = do_method("cm", "RedeemTicket", params)
if rval: if rval:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment