summaryrefslogtreecommitdiff
path: root/tools/compileconfig.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-07-16 11:52:27 +0200
committerLinus Nordberg <linus@nordu.net>2015-09-26 21:23:03 +0200
commiteabf3612c5efe3b344366802db9f4de36871bacf (patch)
tree9df075d6c460abbb9d6be667140d2625debb4745 /tools/compileconfig.py
parent68ce3c508c16ce1cdfbfa928ae0494cca1bdc0ce (diff)
Accept any kind of submitted data, not only X.509 certificate chains.
Have add_chain() take a blob instead of a cert leaf and a chain. Rename ct/v1/add-chain -> add-blob. Remove ct/v1/add-pre-chain. Remove chain checking code. Generate allowed_client config matching new HTTP API.
Diffstat (limited to 'tools/compileconfig.py')
-rwxr-xr-xtools/compileconfig.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py
index cac1be6..6881705 100755
--- a/tools/compileconfig.py
+++ b/tools/compileconfig.py
@@ -135,8 +135,7 @@ def allowed_clients_mergesecondary(primarymergenode):
def allowed_clients_public():
noauth = Symbol("noauth")
return [
- ("/ct/v1/add-chain", noauth),
- ("/ct/v1/add-pre-chain", noauth),
+ ("/ct/v1/add-blob", noauth),
("/ct/v1/get-sth", noauth),
("/ct/v1/get-sth-consistency", noauth),
("/ct/v1/get-proof-by-hash", noauth),