From f1d5fa1c83d7507170e28d7c7a5c9676744420b9 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 26 May 2014 11:48:06 +0200 Subject: [PATCH] woraround for undefined 'options' in checkCredentials --- sfa/trust/auth.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 65ce3fc6..0b4d3372 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -70,7 +70,10 @@ class Auth: error=[None,None] # if speaks for gid matches caller cert then we've found a valid - # speaks for credential + # speaks for credential + ### Thierry : we have no options to pass determine_speaks_for in this context + # so only as a workaround here: + options={} speaks_for_gid = determine_speaks_for(logger, creds, self.peer_cert, \ options, self.trusted_cert_list) -- 2.43.0