git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c90d1
)
- set methodresponse to True in ticket signing example code
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Feb 2007 21:59:44 +0000
(21:59 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Feb 2007 21:59:44 +0000
(21:59 +0000)
ticket.py
patch
|
blob
|
history
diff --git
a/ticket.py
b/ticket.py
index
8ba00d2
..
b50a76e
100644
(file)
--- a/
ticket.py
+++ b/
ticket.py
@@
-12,7
+12,7
@@
GPG = '/usr/bin/gpg'
def sign(data):
"""Return <data> signed with the default GPG key."""
- msg = dumps((data,))
+ msg = dumps((data,)
, methodresponse = True
)
p = _popen_gpg('--armor', '--sign', '--keyring', '/etc/planetlab/secring.gpg', '--no-default-keyring')
p.stdin.write(msg)
p.stdin.close()