# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: Auth.py,v 1.8 2006/11/09 19:43:55 mlhuang Exp $
+# $Id: Auth.py,v 1.9 2006/12/15 18:35:38 mlhuang Exp $
#
import crypt
from PLC.Nodes import Node, Nodes
from PLC.Sessions import Session, Sessions
from PLC.Peers import Peer, Peers
-from PLC.GPG import gpg_verify
class Auth(Parameter):
"""
for key in keys:
try:
+ from PLC.GPG import gpg_verify
gpg_verify(method.name, args, auth['signature'], key)
return
except PLCAuthenticationFailure, fault: