From 33243a5b2ea907c7f9620024b7dade1350777572 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 23 May 2014 09:47:30 -0400 Subject: [PATCH] declare speaks_for_gid --- sfa/trust/auth.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 1ffcbe94..65ce3fc6 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -69,6 +69,11 @@ class Auth: if not hrns: hrns = [None] error=[None,None] + # if speaks for gid matches caller cert then we've found a valid + # speaks for credential + speaks_for_gid = determine_speaks_for(logger, creds, self.peer_cert, \ + options, self.trusted_cert_list) + if self.peer_cert and \ not self.peer_cert.is_pubkey(speaks_for_gid.get_pubkey()): valid = creds -- 2.43.0