Révision aa01889d
Ajouté par Thomas Noël il y a plus de 9 ans
usr/local/univnautes/sp/sp/management/commands/update-metadatas.py | ||
---|---|---|
68 | 68 |
f.write(signcert) |
69 | 69 |
f.close() |
70 | 70 |
ret = 0 == subprocess.call(['xmlsec1', '--verify', |
71 |
'--pubkey-cert-pem', signcert_pem, |
|
72 | 71 |
'--id-attr:ID', 'EntitiesDescriptor', |
72 |
'--pubkey-cert-pem', signcert_pem, |
|
73 |
'--enabled-key-data', 'key-name', |
|
73 | 74 |
metadata]) |
74 | 75 |
if ret: |
75 | 76 |
os.rename(metadata, metadata_filename(codename)) |
Formats disponibles : Unified diff
rc.sh: launch syncdata (metadata+geo) juste after start