From: Tony Mack Date: Thu, 22 May 2014 02:12:40 +0000 (-0400) Subject: fix speaks for auth X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=86efe707327d6e6f03850fe03afc9aebb4f2bd41 fix speaks for auth --- diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index f60f408b..1c74f1cc 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -53,7 +53,7 @@ class Auth: speaks_for_gid = determine_speaks_for(logger, creds, self.peer_cert, \ options, self.trusted_cert_list) if self.peer_cert and \ - self.peer_cert.is_pubkey(speaks_for_gid.get_pubkey()): + not self.peer_cert.is_pubkey(speaks_for_gid.get_pubkey()): valid = creds else: for cred in creds: