diff options
author | Linus Nordberg <linus@nordu.net> | 2015-07-16 11:52:27 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-11-20 10:14:15 +0100 |
commit | ab44afd1d7b24f0016d4323203c9451cf7e7c702 (patch) | |
tree | 6810f9b65688134bcd63b5febe9dde9ee3b8a9b0 /tools/compileconfig.py | |
parent | f3d1659b37351fe2ad958114631f8c1578712e51 (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-x | tools/compileconfig.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index 25518ee..b7092f9 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -147,8 +147,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), |