fix NameError in get_keypair
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 7 Sep 2010 21:49:42 +0000 (17:49 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 7 Sep 2010 21:49:42 +0000 (17:49 -0400)
plugins/sfagids.py

index 28d9aa7..73154ce 100644 (file)
@@ -134,7 +134,7 @@ def get_keypair(config = None):
         return (keyfile, certfile)
 
     # create server key and certificate
-    key = Keypair(filename=node_pkey_file)
+    key = Keypair(filename=keyfile)
     cert = Certificate(subject=hrn)
     cert.set_issuer(key=key, subject=hrn)
     cert.set_pubkey(key)