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:
9194805
)
X509 Extension Authority Information Access: URI of Registry
author
Loic Baron
<loic.baron@lip6.fr>
Thu, 9 Feb 2017 02:23:35 +0000
(
03:23
+0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Thu, 9 Feb 2017 02:23:35 +0000
(
03:23
+0100)
sfa/trust/hierarchy.py
patch
|
blob
|
history
diff --git
a/sfa/trust/hierarchy.py
b/sfa/trust/hierarchy.py
index
5e76dbf
..
9e008b1
100644
(file)
--- a/
sfa/trust/hierarchy.py
+++ b/
sfa/trust/hierarchy.py
@@
-262,6
+262,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