git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bf61f
)
remove dependency of Config module from trustedroots module
author
Scott Baker
<bakers@cs.arizona.edu>
Thu, 1 Oct 2009 06:34:06 +0000
(06:34 +0000)
committer
Scott Baker
<bakers@cs.arizona.edu>
Thu, 1 Oct 2009 06:34:06 +0000
(06:34 +0000)
sfa/trust/auth.py
patch
|
blob
|
history
diff --git
a/sfa/trust/auth.py
b/sfa/trust/auth.py
index
2f807a7
..
83cded0
100644
(file)
--- a/
sfa/trust/auth.py
+++ b/
sfa/trust/auth.py
@@
-24,10
+24,10
@@
class Auth:
def __init__(self, peer_cert = None, config = None ):
self.peer_cert = peer_cert
self.hierarchy = Hierarchy()
- self.trusted_cert_list = TrustedRootList().get_list()
if not config:
- self.config = Config()
-
+ self.config = Config()
+ self.trusted_cert_list = TrustedRootList(self.config.get_trustedroots_dir()).get_list()
+
def check(self, cred, operation):
"""