Skip to content
Snippets Groups Projects
Commit 882ac83d authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix scripts-dev/convert_server_keys.py to have correct format

parent d3e09f12
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,10 @@ def convert_v1_to_v2(server_name, valid_until, keys, certificate):
return {
"old_verify_keys": {},
"server_name": server_name,
"verify_keys": keys,
"verify_keys": {
key_id: {"key": key}
for key_id, key in keys
},
"valid_until_ts": valid_until,
"tls_fingerprints": [fingerprint(certificate)],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment