git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
2d8a644
)
Merge branch 'geni-v3' of git://git.onelab.eu/sfa into geni-v3
author
Loic Baron
<loic.baron@lip6.fr>
Thu, 9 Feb 2017 02:24:33 +0000
(
03:24
+0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Thu, 9 Feb 2017 02:24:33 +0000
(
03:24
+0100)
sfa/trust/hierarchy.py
patch
|
blob
|
history
diff --git
a/sfa/trust/hierarchy.py
b/sfa/trust/hierarchy.py
index
8e126a7
..
afd000e
100644
(file)
--- a/
sfa/trust/hierarchy.py
+++ b/
sfa/trust/hierarchy.py
@@
-266,6
+266,11
@@
class Hierarchy:
gid.set_pubkey(pkey)
gid.encode()
+ if 'http' in self.config.SFA_REGISTRY_HOST:
+ url = 'caIssuers;URI:' + str(self.config.SFA_REGISTRY_HOST) +':'+ str(self.config.SFA_REGISTRY_PORT)
+ else:
+ url = 'caIssuers;URI:https://' + str(self.config.SFA_REGISTRY_HOST) +':'+ str(self.config.SFA_REGISTRY_PORT)
+ gid.set_data(url, 'authorityInfoAccess')
gid.sign()
return gid